diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/CHANGELOG.md b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/CHANGELOG.md
index 864ffb613b2e..69be54016d46 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/CHANGELOG.md
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/CHANGELOG.md
@@ -1,14 +1,99 @@
# Release History
-## 1.2.0-beta.1 (Unreleased)
+## 1.2.0-beta.1 (2026-03-27)
-### Features Added
+- Azure Resource Manager Device Registry client library for Java. This package contains Microsoft Azure SDK for Device Registry Management SDK. Microsoft.DeviceRegistry Resource Provider management API. Package api-version 2026-03-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.NamespaceMigrateResponse` was removed
-### Other Changes
+#### `models.Error` was removed
+
+#### `models.MigrateResultType` was removed
+
+#### `models.MigrateResult` was removed
+
+#### `models.Namespaces` was modified
+
+* `models.NamespaceMigrateResponse migrate(java.lang.String,java.lang.String,models.NamespaceMigrateRequest,com.azure.core.util.Context)` -> `void migrate(java.lang.String,java.lang.String,models.NamespaceMigrateRequest,com.azure.core.util.Context)`
+* `models.NamespaceMigrateResponse migrate(java.lang.String,java.lang.String,models.NamespaceMigrateRequest)` -> `void migrate(java.lang.String,java.lang.String,models.NamespaceMigrateRequest)`
+
+#### `models.Namespace` was modified
+
+* `models.NamespaceMigrateResponse migrate(models.NamespaceMigrateRequest)` -> `void migrate(models.NamespaceMigrateRequest)`
+* `models.NamespaceMigrateResponse migrate(models.NamespaceMigrateRequest,com.azure.core.util.Context)` -> `void migrate(models.NamespaceMigrateRequest,com.azure.core.util.Context)`
+
+### Features Added
+
+* `models.Policy` was added
+
+* `models.Policy$DefinitionStages` was added
+
+* `models.PolicyProperties` was added
+
+* `models.Policy$UpdateStages` was added
+
+* `models.CredentialUpdate` was added
+
+* `models.BringYourOwnRoot` was added
+
+* `models.CredentialProperties` was added
+
+* `models.CertificateAuthorityConfiguration` was added
+
+* `models.LeafCertificateConfiguration` was added
+
+* `models.Credential` was added
+
+* `models.DeviceCredentialPolicy` was added
+
+* `models.ActivateBringYourOwnRootRequest` was added
+
+* `models.CertificateConfiguration` was added
+
+* `models.Policies` was added
+
+* `models.SupportedKeyType` was added
+
+* `models.BringYourOwnRootStatus` was added
+
+* `models.Credentials` was added
+
+* `models.Policy$Definition` was added
+
+* `models.DeviceCredentialsRevokeRequest` was added
+
+* `models.PolicyUpdate` was added
+
+* `models.Policy$Update` was added
+
+* `models.PolicyUpdateProperties` was added
+
+#### `DeviceRegistryManager` was modified
+
+* `policies()` was added
+* `credentials()` was added
+
+#### `models.NamespaceDeviceProperties` was modified
+
+* `withPolicy(models.DeviceCredentialPolicy)` was added
+* `policy()` was added
+
+#### `models.NamespaceDeviceUpdateProperties` was modified
+
+* `policy()` was added
+* `withPolicy(models.DeviceCredentialPolicy)` was added
+
+#### `models.NamespaceDevices` was modified
+
+* `revoke(java.lang.String,java.lang.String,java.lang.String,models.DeviceCredentialsRevokeRequest)` was added
+* `revoke(java.lang.String,java.lang.String,java.lang.String,models.DeviceCredentialsRevokeRequest,com.azure.core.util.Context)` was added
+
+#### `models.NamespaceDevice` was modified
+
+* `revoke(models.DeviceCredentialsRevokeRequest,com.azure.core.util.Context)` was added
+* `revoke(models.DeviceCredentialsRevokeRequest)` was added
## 1.1.0 (2025-10-23)
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/README.md b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/README.md
index e25b23de361c..acaaee682360 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/README.md
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Device Registry client library for Java.
-This package contains Microsoft Azure SDK for Device Registry Management SDK. Microsoft.DeviceRegistry Resource Provider management API. Package api-version 2025-10-01. 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 Device Registry Management SDK. Microsoft.DeviceRegistry Resource Provider management API. Package api-version 2026-03-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-deviceregistry
- 1.1.0
+ 1.2.0-beta.1
```
[//]: # ({x-version-update-end})
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/SAMPLE.md b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/SAMPLE.md
index 4e2e556ff2e7..077e16334e7d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/SAMPLE.md
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/SAMPLE.md
@@ -47,6 +47,7 @@
- [Delete](#namespacedevices_delete)
- [Get](#namespacedevices_get)
- [ListByResourceGroup](#namespacedevices_listbyresourcegroup)
+- [Revoke](#namespacedevices_revoke)
- [Update](#namespacedevices_update)
## NamespaceDiscoveredAssets
@@ -85,10 +86,12 @@
## Policies
+- [ActivateBringYourOwnRoot](#policies_activatebringyourownroot)
- [CreateOrUpdate](#policies_createorupdate)
- [Delete](#policies_delete)
- [Get](#policies_get)
- [ListByResourceGroup](#policies_listbyresourcegroup)
+- [RevokeIssuer](#policies_revokeissuer)
- [Update](#policies_update)
## SchemaRegistries
@@ -128,7 +131,7 @@ import java.util.Map;
*/
public final class AssetEndpointProfilesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef.json
*/
/**
* Sample code: CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef.
@@ -154,7 +157,7 @@ public final class AssetEndpointProfilesCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_AssetEndpointProfile.json
*/
/**
* Sample code: CreateOrReplace_AssetEndpointProfile.
@@ -200,7 +203,7 @@ public final class AssetEndpointProfilesCreateOrReplaceSamples {
*/
public final class AssetEndpointProfilesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_AssetEndpointProfile.json
*/
/**
* Sample code: Delete_AssetEndpointProfile.
@@ -223,7 +226,7 @@ public final class AssetEndpointProfilesDeleteSamples {
*/
public final class AssetEndpointProfilesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/Get_AssetEndpointProfile.json
*/
/**
* Sample code: Get_AssetEndpointProfile.
@@ -237,7 +240,7 @@ public final class AssetEndpointProfilesGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/Get_AssetEndpointProfile_With_SyncStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_AssetEndpointProfile_With_SyncStatus.json
*/
/**
* Sample code: Get_AssetEndpointProfile_With_SyncStatus.
@@ -261,7 +264,7 @@ public final class AssetEndpointProfilesGetByResourceGroupSamples {
*/
public final class AssetEndpointProfilesListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_AssetEndpointProfiles_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_AssetEndpointProfiles_BySubscription.json
*/
/**
* Sample code: List_AssetEndpointProfiles_BySubscription.
@@ -283,7 +286,7 @@ public final class AssetEndpointProfilesListSamples {
*/
public final class AssetEndpointProfilesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_AssetEndpointProfiles_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_AssetEndpointProfiles_ByResourceGroup.json
*/
/**
* Sample code: List_AssetEndpointProfiles_ByResourceGroup.
@@ -308,7 +311,7 @@ import com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileUpdat
*/
public final class AssetEndpointProfilesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/Update_AssetEndpointProfile.json
*/
/**
* Sample code: Update_AssetEndpointProfile.
@@ -350,7 +353,7 @@ import java.util.Map;
*/
public final class AssetsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_Without_DisplayName.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_Without_DisplayName.json
*/
/**
* Sample code: CreateOrReplace_Asset_Without_DisplayName.
@@ -415,7 +418,7 @@ public final class AssetsCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_With_DiscoveredAssetRef.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_With_DiscoveredAssetRef.json
*/
/**
* Sample code: CreateOrReplace_Asset_With_DiscoveredAssetRefs.
@@ -482,7 +485,7 @@ public final class AssetsCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_Without_ExternalAssetId.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_Without_ExternalAssetId.json
*/
/**
* Sample code: CreateOrReplace_Asset_Without_ExternalAssetId.
@@ -547,7 +550,7 @@ public final class AssetsCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_With_ExternalAssetId.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_With_ExternalAssetId.json
*/
/**
* Sample code: CreateOrReplace_Asset_With_ExternalAssetId.
@@ -634,7 +637,7 @@ public final class AssetsCreateOrReplaceSamples {
*/
public final class AssetsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Asset.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Asset.json
*/
/**
* Sample code: Delete_Asset.
@@ -655,7 +658,7 @@ public final class AssetsDeleteSamples {
*/
public final class AssetsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Asset_With_SyncStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Asset_With_SyncStatus.json
*/
/**
* Sample code: Get_Asset_With_SyncStatus.
@@ -668,7 +671,7 @@ public final class AssetsGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Asset.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Asset.json
*/
/**
* Sample code: Get_Asset.
@@ -690,7 +693,7 @@ public final class AssetsGetByResourceGroupSamples {
*/
public final class AssetsListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Assets_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_Assets_BySubscription.json
*/
/**
* Sample code: List_Assets_BySubscription.
@@ -712,7 +715,7 @@ public final class AssetsListSamples {
*/
public final class AssetsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Assets_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Assets_ByResourceGroup.json
*/
/**
* Sample code: List_Assets_ByResourceGroup.
@@ -737,7 +740,7 @@ import com.azure.resourcemanager.deviceregistry.models.AssetUpdateProperties;
*/
public final class AssetsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Asset.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Asset.json
*/
/**
* Sample code: Update_Asset.
@@ -763,7 +766,7 @@ public final class AssetsUpdateSamples {
*/
public final class BillingContainersGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_BillingContainer.json
+ * x-ms-original-file: 2026-03-01-preview/Get_BillingContainer.json
*/
/**
* Sample code: Get_BillingContainer.
@@ -784,7 +787,7 @@ public final class BillingContainersGetSamples {
*/
public final class BillingContainersListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_BillingContainers_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_BillingContainers_BySubscription.json
*/
/**
* Sample code: List_BillingContainers_BySubscription.
@@ -811,7 +814,7 @@ import java.util.Map;
*/
public final class CredentialsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Credentials.json
*/
/**
* Sample code: CreateOrReplace_Credentials.
@@ -850,7 +853,7 @@ public final class CredentialsCreateOrUpdateSamples {
*/
public final class CredentialsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Credentials.json
*/
/**
* Sample code: Delete_Credentials.
@@ -871,7 +874,7 @@ public final class CredentialsDeleteSamples {
*/
public final class CredentialsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Credentials.json
*/
/**
* Sample code: Get_Credentials.
@@ -892,7 +895,7 @@ public final class CredentialsGetSamples {
*/
public final class CredentialsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Credentials_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Credentials_ByResourceGroup.json
*/
/**
* Sample code: List_Credentials_ByResourceGroup.
@@ -914,7 +917,7 @@ public final class CredentialsListByResourceGroupSamples {
*/
public final class CredentialsSynchronizeSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Credentials_Synchronize.json
+ * x-ms-original-file: 2026-03-01-preview/Credentials_Synchronize.json
*/
/**
* Sample code: Credentials_Synchronize.
@@ -939,7 +942,7 @@ import java.util.Map;
*/
public final class CredentialsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Credentials.json
*/
/**
* Sample code: Update_Credentials.
@@ -974,7 +977,6 @@ import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.deviceregistry.models.BrokerStateStoreDestinationConfiguration;
import com.azure.resourcemanager.deviceregistry.models.DatasetBrokerStateStoreDestination;
import com.azure.resourcemanager.deviceregistry.models.DeviceRef;
-import com.azure.resourcemanager.deviceregistry.models.EventMqttDestination;
import com.azure.resourcemanager.deviceregistry.models.EventStorageDestination;
import com.azure.resourcemanager.deviceregistry.models.ExtendedLocation;
import com.azure.resourcemanager.deviceregistry.models.ManagementAction;
@@ -985,8 +987,6 @@ import com.azure.resourcemanager.deviceregistry.models.MqttDestinationQos;
import com.azure.resourcemanager.deviceregistry.models.NamespaceAssetProperties;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDataset;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDatasetDataPoint;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceEvent;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceEventGroup;
import com.azure.resourcemanager.deviceregistry.models.NamespaceStream;
import com.azure.resourcemanager.deviceregistry.models.StorageDestinationConfiguration;
import com.azure.resourcemanager.deviceregistry.models.StreamMqttDestination;
@@ -1002,7 +1002,7 @@ import java.util.Map;
*/
public final class NamespaceAssetsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceAsset.json
*/
/**
* Sample code: CreateOrReplace_NamespaceAsset.
@@ -1066,23 +1066,6 @@ public final class NamespaceAssetsCreateOrReplaceSamples {
.withDataPointConfiguration(
"{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
.withTypeRef("dataset1DataPoint2TypeRef")))))
- .withEventGroups(Arrays.asList(new NamespaceEventGroup().withName("default")
- .withEvents(Arrays.asList(
- new NamespaceEvent().withName("event1")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt5")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
- .withDestinations(Arrays.asList(new EventMqttDestination()
- .withConfiguration(new MqttDestinationConfiguration().withTopic("/contoso/testEvent1")
- .withRetain(TopicRetainType.KEEP)
- .withQos(MqttDestinationQos.QOS0)
- .withTtl(7200L))))
- .withTypeRef("event1Ref"),
- new NamespaceEvent().withName("event2")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt8")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
- .withDestinations(Arrays.asList(new EventStorageDestination()
- .withConfiguration(new StorageDestinationConfiguration().withPath("/tmp/event2"))))
- .withTypeRef("event2Ref")))))
.withStreams(Arrays.asList(
new NamespaceStream().withName("stream1")
.withStreamConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
@@ -1149,7 +1132,7 @@ public final class NamespaceAssetsCreateOrReplaceSamples {
*/
public final class NamespaceAssetsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceAsset.json
*/
/**
* Sample code: Delete_NamespaceAsset.
@@ -1172,7 +1155,7 @@ public final class NamespaceAssetsDeleteSamples {
*/
public final class NamespaceAssetsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceAsset.json
*/
/**
* Sample code: Get_NamespaceAsset.
@@ -1194,7 +1177,7 @@ public final class NamespaceAssetsGetSamples {
*/
public final class NamespaceAssetsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceAssets_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceAssets_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceAssets_ByResourceGroup.
@@ -1220,7 +1203,7 @@ import com.azure.resourcemanager.deviceregistry.models.NamespaceAssetUpdatePrope
*/
public final class NamespaceAssetsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceAsset.json
*/
/**
* Sample code: Update_NamespaceAssets.
@@ -1264,7 +1247,7 @@ import java.util.Map;
*/
public final class NamespaceDevicesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_x509.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice_Edge_x509.json
*/
/**
* Sample code: Create edge enabled device with x509 inbound authentication.
@@ -1280,26 +1263,22 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
.withProperties(
new NamespaceDeviceProperties().withEnabled(true)
.withExternalDeviceId("unique-edge-device-identifier")
- .withEndpoints(
- new MessagingEndpoints().withInbound(mapOf("theV1OPCUAEndpoint",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
- .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
- .withVersion("2")
- .withAuthentication(new HostAuthentication()
- .withMethod(AuthenticationMethod.CERTIFICATE)
+ .withEndpoints(new MessagingEndpoints().withInbound(mapOf("theV1OPCUAEndpoint",
+ new InboundEndpoints().withEndpointType("microsoft.opcua")
+ .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
+ .withVersion("2")
+ .withAuthentication(new HostAuthentication().withMethod(AuthenticationMethod.CERTIFICATE)
+ .withX509Credentials(new X509CertificateCredentials()
+ .withCertificateSecretName("fakeTokenPlaceholder"))),
+ "theV2OPCUAEndpoint",
+ new InboundEndpoints().withEndpointType("microsoft.opcua")
+ .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
+ .withVersion("2")
+ .withAuthentication(
+ new HostAuthentication().withMethod(AuthenticationMethod.CERTIFICATE)
.withX509Credentials(new X509CertificateCredentials()
- .withCertificateSecretName("fakeTokenPlaceholder")
- .withKeySecretName("fakeTokenPlaceholder")
- .withIntermediateCertificatesSecretName("fakeTokenPlaceholder"))),
- "theV2OPCUAEndpoint",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
- .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
- .withVersion("2")
- .withAuthentication(
- new HostAuthentication().withMethod(AuthenticationMethod.CERTIFICATE)
- .withX509Credentials(new X509CertificateCredentials()
- .withCertificateSecretName("fakeTokenPlaceholder")))
- .withTrustSettings(new TrustSettings().withTrustList("trust-secret-reference")))))
+ .withCertificateSecretName("fakeTokenPlaceholder")))
+ .withTrustSettings(new TrustSettings().withTrustList("trust-secret-reference")))))
.withAttributes(
mapOf("deviceType", BinaryData.fromBytes("OPCUAServers".getBytes(StandardCharsets.UTF_8)),
"deviceOwner", BinaryData.fromBytes("OT".getBytes(StandardCharsets.UTF_8)),
@@ -1311,7 +1290,7 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_Anonymous.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice_Edge_Anonymous.json
*/
/**
* Sample code: Create edge enabled device with anonymous host authentication.
@@ -1327,7 +1306,7 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
.withProperties(new NamespaceDeviceProperties().withEnabled(true)
.withExternalDeviceId("unique-edge-device-identifier")
.withEndpoints(new MessagingEndpoints().withInbound(mapOf("theOnlyOPCUABroker",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
+ new InboundEndpoints().withEndpointType("microsoft.opcua:v1")
.withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.withVersion("2")
.withAuthentication(new HostAuthentication().withMethod(AuthenticationMethod.ANONYMOUS)))))
@@ -1342,7 +1321,7 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_UsernamePass.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice_Edge_UsernamePass.json
*/
/**
* Sample code: Create edge enabled device with UsernamesPassword inbound authentication.
@@ -1358,7 +1337,7 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
.withProperties(new NamespaceDeviceProperties().withEnabled(true)
.withExternalDeviceId("unique-edge-device-identifier")
.withEndpoints(new MessagingEndpoints().withInbound(mapOf("theOnlyOPCUABroker",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
+ new InboundEndpoints().withEndpointType("microsoft.opcua:v1")
.withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.withVersion("2")
.withAuthentication(new HostAuthentication().withMethod(AuthenticationMethod.USERNAME_PASSWORD)
@@ -1375,7 +1354,7 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice.json
*/
/**
* Sample code: CreateOrReplace_NamespaceDevices.
@@ -1389,11 +1368,10 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
.withRegion("West Europe")
.withExistingNamespace("myResourceGroup", "adr-namespace-gbk0925-n01")
.withProperties(new NamespaceDeviceProperties().withEnabled(true)
- .withExternalDeviceId("adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f")
- .withEndpoints(new MessagingEndpoints()
- .withOutbound(new OutboundEndpoints().withAssigned(mapOf("eventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ .withEndpoints(
+ new MessagingEndpoints().withOutbound(new OutboundEndpoints().withAssigned(mapOf("iothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.withAttributes(mapOf("deviceType", BinaryData.fromBytes("sensor".getBytes(StandardCharsets.UTF_8)),
"deviceOwner", BinaryData.fromBytes("IT".getBytes(StandardCharsets.UTF_8)), "deviceCategory",
BinaryData.fromBytes("16".getBytes(StandardCharsets.UTF_8)))))
@@ -1422,7 +1400,7 @@ public final class NamespaceDevicesCreateOrReplaceSamples {
*/
public final class NamespaceDevicesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceDevice.json
*/
/**
* Sample code: Delete_NamespaceDevice.
@@ -1445,7 +1423,7 @@ public final class NamespaceDevicesDeleteSamples {
*/
public final class NamespaceDevicesGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDeviceWithEndpointErrorStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDeviceWithEndpointErrorStatus.json
*/
/**
* Sample code: Get NamespaceDevice with Endpoint Error Status.
@@ -1459,7 +1437,7 @@ public final class NamespaceDevicesGetSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDevice.json
*/
/**
* Sample code: Get_NamespaceDevice.
@@ -1481,7 +1459,7 @@ public final class NamespaceDevicesGetSamples {
*/
public final class NamespaceDevicesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceDevices_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceDevices_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceDevices_ByResourceGroup.
@@ -1496,6 +1474,46 @@ public final class NamespaceDevicesListByResourceGroupSamples {
}
```
+### NamespaceDevices_Revoke
+
+```java
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
+
+/**
+ * Samples for NamespaceDevices Revoke.
+ */
+public final class NamespaceDevicesRevokeSamples {
+ /*
+ * x-ms-original-file: 2026-03-01-preview/NamespaceDevices_Revoke.json
+ */
+ /**
+ * Sample code: NamespaceDevices_Revoke.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void namespaceDevicesRevoke(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.namespaceDevices()
+ .revoke("rgdeviceregistry", "mynamespace", "device1",
+ new DeviceCredentialsRevokeRequest().withDisable(true), com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-03-01-preview/NamespaceDevices_RevokeFailure.json
+ */
+ /**
+ * Sample code: NamespaceDevices_RevokeFailure.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void
+ namespaceDevicesRevokeFailure(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.namespaceDevices()
+ .revoke("rgdeviceregistry", "mynamespace", "device1",
+ new DeviceCredentialsRevokeRequest().withDisable(true), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### NamespaceDevices_Update
```java
@@ -1514,7 +1532,7 @@ import java.util.Map;
*/
public final class NamespaceDevicesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceDevice.json
*/
/**
* Sample code: Update_NamespaceDevices.
@@ -1528,10 +1546,10 @@ public final class NamespaceDevicesUpdateSamples {
.getValue();
resource.update()
.withProperties(new NamespaceDeviceUpdateProperties()
- .withEndpoints(new MessagingEndpoints()
- .withOutbound(new OutboundEndpoints().withAssigned(mapOf("eventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ .withEndpoints(
+ new MessagingEndpoints().withOutbound(new OutboundEndpoints().withAssigned(mapOf("iothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.withAttributes(mapOf("deviceType", BinaryData.fromBytes("sensor".getBytes(StandardCharsets.UTF_8)),
"deviceOwner", BinaryData.fromBytes("IT".getBytes(StandardCharsets.UTF_8)), "deviceCategory",
BinaryData.fromBytes("16".getBytes(StandardCharsets.UTF_8))))
@@ -1560,7 +1578,6 @@ import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.deviceregistry.models.BrokerStateStoreDestinationConfiguration;
import com.azure.resourcemanager.deviceregistry.models.DatasetBrokerStateStoreDestination;
import com.azure.resourcemanager.deviceregistry.models.DeviceRef;
-import com.azure.resourcemanager.deviceregistry.models.EventMqttDestination;
import com.azure.resourcemanager.deviceregistry.models.EventStorageDestination;
import com.azure.resourcemanager.deviceregistry.models.ExtendedLocation;
import com.azure.resourcemanager.deviceregistry.models.MqttDestinationConfiguration;
@@ -1568,8 +1585,6 @@ import com.azure.resourcemanager.deviceregistry.models.MqttDestinationQos;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetProperties;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDataset;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDatasetDataPoint;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEvent;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEventGroup;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementAction;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementActionType;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementGroup;
@@ -1589,7 +1604,7 @@ import java.util.Map;
*/
public final class NamespaceDiscoveredAssetsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: CreateOrReplace_NamespaceDiscoveredAsset.
@@ -1654,25 +1669,6 @@ public final class NamespaceDiscoveredAssetsCreateOrReplaceSamples {
.withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z"))
.withTypeRef("dataset1DataPoint2TypeRef")))
.withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z"))))
- .withEventGroups(Arrays.asList(new NamespaceDiscoveredEventGroup().withName("default")
- .withEvents(Arrays.asList(
- new NamespaceDiscoveredEvent().withName("event1")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
- .withDestinations(Arrays.asList(new EventMqttDestination()
- .withConfiguration(new MqttDestinationConfiguration().withTopic("/contoso/testEvent1")
- .withRetain(TopicRetainType.KEEP)
- .withQos(MqttDestinationQos.QOS0)
- .withTtl(7200L))))
- .withTypeRef("event1Ref")
- .withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z")),
- new NamespaceDiscoveredEvent().withName("event2")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}")
- .withDestinations(Arrays.asList(new EventStorageDestination()
- .withConfiguration(new StorageDestinationConfiguration().withPath("/tmp/event2"))))
- .withTypeRef("event2Ref")
- .withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z"))))))
.withStreams(Arrays.asList(
new NamespaceDiscoveredStream().withName("stream1")
.withStreamConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
@@ -1744,7 +1740,7 @@ public final class NamespaceDiscoveredAssetsCreateOrReplaceSamples {
*/
public final class NamespaceDiscoveredAssetsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: Delete_NamespaceDiscoveredAsset.
@@ -1767,7 +1763,7 @@ public final class NamespaceDiscoveredAssetsDeleteSamples {
*/
public final class NamespaceDiscoveredAssetsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: Get_NamespaceDiscoveredAsset.
@@ -1791,7 +1787,7 @@ public final class NamespaceDiscoveredAssetsGetSamples {
*/
public final class NamespaceDiscoveredAssetsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceDiscoveredAssets_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceDiscoveredAssets_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceDiscoveredAssets_ByResourceGroup.
@@ -1817,7 +1813,7 @@ import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetU
*/
public final class NamespaceDiscoveredAssetsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: Update_NamespaceDiscoveredAsset.
@@ -1854,7 +1850,7 @@ import java.util.Map;
*/
public final class NamespaceDiscoveredDevicesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: CreateOrReplace_NamespaceDiscoveredDevice.
@@ -1873,9 +1869,9 @@ public final class NamespaceDiscoveredDevicesCreateOrReplaceSamples {
.withTags(mapOf("site", "building-1"))
.withProperties(new NamespaceDiscoveredDeviceProperties()
.withEndpoints(new DiscoveredMessagingEndpoints()
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("eventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("iothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.withDiscoveryId("discoveryId1")
.withVersion(1L))
.create();
@@ -1903,7 +1899,7 @@ public final class NamespaceDiscoveredDevicesCreateOrReplaceSamples {
*/
public final class NamespaceDiscoveredDevicesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: Delete_NamespaceDiscoveredDevice.
@@ -1926,7 +1922,7 @@ public final class NamespaceDiscoveredDevicesDeleteSamples {
*/
public final class NamespaceDiscoveredDevicesGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: Get_NamespaceDiscoveredDevice.
@@ -1950,7 +1946,7 @@ public final class NamespaceDiscoveredDevicesGetSamples {
*/
public final class NamespaceDiscoveredDevicesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceDiscoveredDevices_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceDiscoveredDevices_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceDiscoveredDevices_ByResourceGroup.
@@ -1981,7 +1977,7 @@ import java.util.Map;
*/
public final class NamespaceDiscoveredDevicesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: Update_NamespaceDiscoveredDevice.
@@ -1997,9 +1993,9 @@ public final class NamespaceDiscoveredDevicesUpdateSamples {
resource.update()
.withProperties(
new NamespaceDiscoveredDeviceUpdateProperties().withEndpoints(new DiscoveredMessagingEndpoints()
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("newEventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myneweventgridtopic.westeurope-1.eventgrid.azure.net/api/events"))))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("newIothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net"))))))
.apply();
}
@@ -2023,8 +2019,6 @@ public final class NamespaceDiscoveredDevicesUpdateSamples {
import com.azure.resourcemanager.deviceregistry.models.Messaging;
import com.azure.resourcemanager.deviceregistry.models.MessagingEndpoint;
import com.azure.resourcemanager.deviceregistry.models.NamespaceProperties;
-import com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentity;
-import com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentityType;
import java.util.HashMap;
import java.util.Map;
@@ -2033,7 +2027,7 @@ import java.util.Map;
*/
public final class NamespacesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Namespace_With_Endpoints.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Namespace_With_Endpoints.json
*/
/**
* Sample code: CreateOrReplace_Namespace_With_Endpoints.
@@ -2047,14 +2041,16 @@ public final class NamespacesCreateOrReplaceSamples {
.withRegion("North Europe")
.withExistingResourceGroup("myResourceGroup")
.withProperties(
- new NamespaceProperties().withMessaging(new Messaging().withEndpoints(mapOf("eventGridEndpoint",
- new MessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events"),
- "anotherEventGridEndpoint",
- new MessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events")))))
- .withIdentity(
- new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED))
+ new NamespaceProperties()
+ .withMessaging(
+ new Messaging()
+ .withEndpoints(
+ mapOf("iothubEndpoint",
+ new MessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net"),
+ "anotherIothubEndpoint",
+ new MessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps-2.azure-devices.net")))))
.create();
}
@@ -2080,7 +2076,7 @@ public final class NamespacesCreateOrReplaceSamples {
*/
public final class NamespacesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Namespace.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Namespace.json
*/
/**
* Sample code: Delete_Namespace.
@@ -2101,7 +2097,7 @@ public final class NamespacesDeleteSamples {
*/
public final class NamespacesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Namespace.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Namespace.json
*/
/**
* Sample code: Get_Namespace.
@@ -2124,7 +2120,7 @@ public final class NamespacesGetByResourceGroupSamples {
*/
public final class NamespacesListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Namespace_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_Namespace_BySubscription.json
*/
/**
* Sample code: List_Namespaces_BySubscription.
@@ -2146,7 +2142,7 @@ public final class NamespacesListSamples {
*/
public final class NamespacesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Namespace_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Namespace_ByResourceGroup.json
*/
/**
* Sample code: List_Namespaces_ByResourceGroup.
@@ -2172,7 +2168,7 @@ import java.util.Arrays;
*/
public final class NamespacesMigrateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Migrate_Assets_Namespace.json
+ * x-ms-original-file: 2026-03-01-preview/Migrate_Assets_Namespace.json
*/
/**
* Sample code: Namespace Migrate.
@@ -2206,7 +2202,7 @@ import java.util.Map;
*/
public final class NamespacesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Namespace_Endpoints.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Namespace_Endpoints.json
*/
/**
* Sample code: Update_Namespace_Endpoints.
@@ -2221,9 +2217,9 @@ public final class NamespacesUpdateSamples {
.getValue();
resource.update()
.withProperties(
- new NamespaceUpdateProperties().withMessaging(new Messaging().withEndpoints(mapOf("eventGridEndpoint",
- new MessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ new NamespaceUpdateProperties().withMessaging(new Messaging().withEndpoints(mapOf("iothubEndpoint",
+ new MessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.apply();
}
@@ -2249,7 +2245,7 @@ public final class NamespacesUpdateSamples {
*/
public final class OperationStatusGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_OperationStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_OperationStatus.json
*/
/**
* Sample code: Get_OperationStatus.
@@ -2271,7 +2267,7 @@ public final class OperationStatusGetSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Operations.json
+ * x-ms-original-file: 2026-03-01-preview/List_Operations.json
*/
/**
* Sample code: List_Operations.
@@ -2284,23 +2280,50 @@ public final class OperationsListSamples {
}
```
+### Policies_ActivateBringYourOwnRoot
+
+```java
+import com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest;
+
+/**
+ * Samples for Policies ActivateBringYourOwnRoot.
+ */
+public final class PoliciesActivateBringYourOwnRootSamples {
+ /*
+ * x-ms-original-file: 2026-03-01-preview/Policies_ActivateBringYourOwnRoot.json
+ */
+ /**
+ * Sample code: Policies_ActivateBringYourOwnRoot.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void
+ policiesActivateBringYourOwnRoot(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.policies()
+ .activateBringYourOwnRoot("rgdeviceregistry", "mynamespace", "mypolicy",
+ new ActivateBringYourOwnRootRequest().withCertificateChain(
+ "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKL0UG+mRkmWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMjQwMTAxMDAwMDAwWhcNMjUwMTAxMDAwMDAwWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAw...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKL0UG+mRkmXMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMjQwMTAxMDAwMDAwWhcNMjUwMTAxMDAwMDAwWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAx...\n-----END CERTIFICATE-----"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Policies_CreateOrUpdate
```java
+import com.azure.resourcemanager.deviceregistry.models.BringYourOwnRoot;
import com.azure.resourcemanager.deviceregistry.models.CertificateAuthorityConfiguration;
import com.azure.resourcemanager.deviceregistry.models.CertificateConfiguration;
import com.azure.resourcemanager.deviceregistry.models.LeafCertificateConfiguration;
import com.azure.resourcemanager.deviceregistry.models.PolicyProperties;
import com.azure.resourcemanager.deviceregistry.models.SupportedKeyType;
-import java.util.HashMap;
-import java.util.Map;
/**
* Samples for Policies CreateOrUpdate.
*/
public final class PoliciesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Policies.json
*/
/**
* Sample code: CreateOrReplace_Policies.
@@ -2310,27 +2333,14 @@ public final class PoliciesCreateOrUpdateSamples {
public static void createOrReplacePolicies(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
manager.policies()
.define("mypolicy")
- .withRegion("zjqtuvprnxvimzkkxaobgkm")
.withExistingNamespace("rgdeviceregistry", "mynamespace")
- .withTags(mapOf("key1088", "fakeTokenPlaceholder"))
.withProperties(new PolicyProperties().withCertificate(new CertificateConfiguration()
.withCertificateAuthorityConfiguration(
- new CertificateAuthorityConfiguration().withKeyType(SupportedKeyType.ECC))
+ new CertificateAuthorityConfiguration().withKeyType(SupportedKeyType.ECC)
+ .withBringYourOwnRoot(new BringYourOwnRoot().withEnabled(true)))
.withLeafCertificateConfiguration(new LeafCertificateConfiguration().withValidityPeriodInDays(10))))
.create();
}
-
- // 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;
- }
}
```
@@ -2342,7 +2352,7 @@ public final class PoliciesCreateOrUpdateSamples {
*/
public final class PoliciesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Policies.json
*/
/**
* Sample code: Delete_Policies.
@@ -2363,7 +2373,7 @@ public final class PoliciesDeleteSamples {
*/
public final class PoliciesGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Policies.json
*/
/**
* Sample code: Get_Policies.
@@ -2385,7 +2395,7 @@ public final class PoliciesGetSamples {
*/
public final class PoliciesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Policies_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Policies_ByResourceGroup.json
*/
/**
* Sample code: List_Policies_ByResourceGroup.
@@ -2399,6 +2409,28 @@ public final class PoliciesListByResourceGroupSamples {
}
```
+### Policies_RevokeIssuer
+
+```java
+/**
+ * Samples for Policies RevokeIssuer.
+ */
+public final class PoliciesRevokeIssuerSamples {
+ /*
+ * x-ms-original-file: 2026-03-01-preview/Policies_RevokeIssuer.json
+ */
+ /**
+ * Sample code: Policies_RevokeIssuer.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void policiesRevokeIssuer(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.policies()
+ .revokeIssuer("rgdeviceregistry", "mynamespace", "mypolicy", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Policies_Update
```java
@@ -2407,15 +2439,13 @@ import com.azure.resourcemanager.deviceregistry.models.CertificateConfiguration;
import com.azure.resourcemanager.deviceregistry.models.LeafCertificateConfiguration;
import com.azure.resourcemanager.deviceregistry.models.Policy;
import com.azure.resourcemanager.deviceregistry.models.PolicyUpdateProperties;
-import java.util.HashMap;
-import java.util.Map;
/**
* Samples for Policies Update.
*/
public final class PoliciesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Policies.json
*/
/**
* Sample code: Update_Policies.
@@ -2427,24 +2457,11 @@ public final class PoliciesUpdateSamples {
.getWithResponse("rgdeviceregistry", "mynamespace", "mypolicy", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key5535", "fakeTokenPlaceholder"))
.withProperties(new PolicyUpdateProperties().withCertificate(new CertificateConfiguration()
.withCertificateAuthorityConfiguration(new CertificateAuthorityConfiguration())
.withLeafCertificateConfiguration(new LeafCertificateConfiguration().withValidityPeriodInDays(10))))
.apply();
}
-
- // 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;
- }
}
```
@@ -2460,7 +2477,7 @@ import java.util.Map;
*/
public final class SchemaRegistriesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_SchemaRegistry.json
*/
/**
* Sample code: CreateOrReplace_SchemaRegistry.
@@ -2503,7 +2520,7 @@ public final class SchemaRegistriesCreateOrReplaceSamples {
*/
public final class SchemaRegistriesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_SchemaRegistry.json
*/
/**
* Sample code: Delete_SchemaRegistry.
@@ -2524,7 +2541,7 @@ public final class SchemaRegistriesDeleteSamples {
*/
public final class SchemaRegistriesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/Get_SchemaRegistry.json
*/
/**
* Sample code: Get_SchemaRegistry.
@@ -2546,7 +2563,7 @@ public final class SchemaRegistriesGetByResourceGroupSamples {
*/
public final class SchemaRegistriesListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_SchemaRegistries_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_SchemaRegistries_BySubscription.json
*/
/**
* Sample code: List_SchemaRegistries_Subscription.
@@ -2568,7 +2585,7 @@ public final class SchemaRegistriesListSamples {
*/
public final class SchemaRegistriesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_SchemaRegistries_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_SchemaRegistries_ByResourceGroup.json
*/
/**
* Sample code: List_SchemaRegistries_ResourceGroup.
@@ -2595,7 +2612,7 @@ import java.util.Map;
*/
public final class SchemaRegistriesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/Update_SchemaRegistry.json
*/
/**
* Sample code: Update_SchemaRegistry.
@@ -2637,7 +2654,7 @@ import com.azure.resourcemanager.deviceregistry.models.SchemaVersionProperties;
*/
public final class SchemaVersionsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_SchemaVersion.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_SchemaVersion.json
*/
/**
* Sample code: CreateOrReplace_SchemaVersion.
@@ -2665,7 +2682,7 @@ public final class SchemaVersionsCreateOrReplaceSamples {
*/
public final class SchemaVersionsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_SchemaVersion.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_SchemaVersion.json
*/
/**
* Sample code: Delete_SchemaVersion.
@@ -2687,7 +2704,7 @@ public final class SchemaVersionsDeleteSamples {
*/
public final class SchemaVersionsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_SchemaVersion.json
+ * x-ms-original-file: 2026-03-01-preview/Get_SchemaVersion.json
*/
/**
* Sample code: Get_SchemaVersion.
@@ -2710,7 +2727,7 @@ public final class SchemaVersionsGetSamples {
*/
public final class SchemaVersionsListBySchemaSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_SchemaVersions_BySchema.json
+ * x-ms-original-file: 2026-03-01-preview/List_SchemaVersions_BySchema.json
*/
/**
* Sample code: List_SchemaVersions_Schema.
@@ -2739,7 +2756,7 @@ import java.util.Map;
*/
public final class SchemasCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Schema.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Schema.json
*/
/**
* Sample code: CreateOrReplace_Schema.
@@ -2780,7 +2797,7 @@ public final class SchemasCreateOrReplaceSamples {
*/
public final class SchemasDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Schema.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Schema.json
*/
/**
* Sample code: Delete_Schema.
@@ -2802,7 +2819,7 @@ public final class SchemasDeleteSamples {
*/
public final class SchemasGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Schema.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Schema.json
*/
/**
* Sample code: Schemas_Get.
@@ -2824,7 +2841,7 @@ public final class SchemasGetSamples {
*/
public final class SchemasListBySchemaRegistrySamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Schemas_BySchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/List_Schemas_BySchemaRegistry.json
*/
/**
* Sample code: List_Schemas_SchemaRegistry.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/pom.xml b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/pom.xml
index d9a29fbb00be..d711b9c43167 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/pom.xml
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/pom.xml
@@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
-
+
4.0.0
com.azure
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for Device Registry Management
- This package contains Microsoft Azure SDK for Device Registry Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft.DeviceRegistry Resource Provider management API. Package api-version 2025-10-01.
+ This package contains Microsoft Azure SDK for Device Registry Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft.DeviceRegistry Resource Provider management API. Package api-version 2026-03-01-preview.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDevicesClient.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDevicesClient.java
index c2e501ba34ac..538e7e995690 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDevicesClient.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDevicesClient.java
@@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDeviceInner;
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceUpdate;
/**
@@ -264,4 +265,67 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, String namespaceName,
Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRevoke(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRevoke(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body, Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void revoke(String resourceGroupName, String namespaceName, String deviceName, DeviceCredentialsRevokeRequest body);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void revoke(String resourceGroupName, String namespaceName, String deviceName, DeviceCredentialsRevokeRequest body,
+ Context context);
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/PoliciesClient.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/PoliciesClient.java
index b85248d87dfd..26447eb5f0a4 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/PoliciesClient.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/PoliciesClient.java
@@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.deviceregistry.fluent.models.PolicyInner;
+import com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest;
import com.azure.resourcemanager.deviceregistry.models.PolicyUpdate;
/**
@@ -23,7 +24,7 @@ public interface PoliciesClient {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -39,7 +40,7 @@ Response getWithResponse(String resourceGroupName, String namespace
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -53,7 +54,7 @@ Response getWithResponse(String resourceGroupName, String namespace
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -69,7 +70,7 @@ SyncPoller, PolicyInner> beginCreateOrUpdate(String reso
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -86,7 +87,7 @@ SyncPoller, PolicyInner> beginCreateOrUpdate(String reso
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -101,7 +102,7 @@ SyncPoller, PolicyInner> beginCreateOrUpdate(String reso
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -118,7 +119,7 @@ PolicyInner createOrUpdate(String resourceGroupName, String namespaceName, Strin
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -132,7 +133,7 @@ PolicyInner createOrUpdate(String resourceGroupName, String namespaceName, Strin
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -148,7 +149,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -161,7 +162,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -175,7 +176,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -191,7 +192,7 @@ SyncPoller, PolicyInner> beginUpdate(String resourceGrou
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -208,7 +209,7 @@ SyncPoller, PolicyInner> beginUpdate(String resourceGrou
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -223,7 +224,7 @@ SyncPoller, PolicyInner> beginUpdate(String resourceGrou
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -261,4 +262,130 @@ PolicyInner update(String resourceGroupName, String namespaceName, String policy
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, String namespaceName, Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRevokeIssuer(String resourceGroupName, String namespaceName,
+ String policyName);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRevokeIssuer(String resourceGroupName, String namespaceName,
+ String policyName, Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void revokeIssuer(String resourceGroupName, String namespaceName, String policyName);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void revokeIssuer(String resourceGroupName, String namespaceName, String policyName, Context context);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginActivateBringYourOwnRoot(String resourceGroupName, String namespaceName,
+ String policyName, ActivateBringYourOwnRootRequest body);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginActivateBringYourOwnRoot(String resourceGroupName, String namespaceName,
+ String policyName, ActivateBringYourOwnRootRequest body, Context context);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body, Context context);
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/PolicyInner.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/PolicyInner.java
index dfce55d2b811..1850baff7182 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/PolicyInner.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/PolicyInner.java
@@ -5,20 +5,19 @@
package com.azure.resourcemanager.deviceregistry.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.deviceregistry.models.PolicyProperties;
import java.io.IOException;
-import java.util.Map;
/**
* A Credential Policy.
*/
@Fluent
-public final class PolicyInner extends Resource {
+public final class PolicyInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
*/
@@ -109,32 +108,12 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public PolicyInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public PolicyInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}
@@ -161,11 +140,6 @@ public static PolicyInner fromJson(JsonReader jsonReader) throws IOException {
deserializedPolicyInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedPolicyInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedPolicyInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedPolicyInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedPolicyInner.properties = PolicyProperties.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientImpl.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientImpl.java
index cb4290b1f311..233a210ea8d7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientImpl.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientImpl.java
@@ -367,7 +367,7 @@ public SchemaVersionsClient getSchemaVersions() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
- this.apiVersion = "2025-11-01-preview";
+ this.apiVersion = "2026-03-01-preview";
this.operations = new OperationsClientImpl(this);
this.operationStatus = new OperationStatusClientImpl(this);
this.assets = new AssetsClientImpl(this);
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDeviceImpl.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDeviceImpl.java
index 507e76395c9e..b502940b931f 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDeviceImpl.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDeviceImpl.java
@@ -8,6 +8,7 @@
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDeviceInner;
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
import com.azure.resourcemanager.deviceregistry.models.ExtendedLocation;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDevice;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceProperties;
@@ -160,6 +161,14 @@ public NamespaceDevice refresh(Context context) {
return this;
}
+ public void revoke(DeviceCredentialsRevokeRequest body) {
+ serviceManager.namespaceDevices().revoke(resourceGroupName, namespaceName, deviceName, body);
+ }
+
+ public void revoke(DeviceCredentialsRevokeRequest body, Context context) {
+ serviceManager.namespaceDevices().revoke(resourceGroupName, namespaceName, deviceName, body, context);
+ }
+
public NamespaceDeviceImpl withRegion(Region location) {
this.innerModel().withLocation(location.toString());
return this;
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesClientImpl.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesClientImpl.java
index d5c88ad8245e..96524ee47d4e 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesClientImpl.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesClientImpl.java
@@ -14,6 +14,7 @@
import com.azure.core.annotation.HostParam;
import com.azure.core.annotation.Patch;
import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Post;
import com.azure.core.annotation.Put;
import com.azure.core.annotation.QueryParam;
import com.azure.core.annotation.ReturnType;
@@ -36,6 +37,7 @@
import com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient;
import com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDeviceInner;
import com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceDeviceListResult;
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceUpdate;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
@@ -167,6 +169,26 @@ Response listByResourceGroupSync(@HostParam("endpoint
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
@HeaderParam("Accept") String accept, Context context);
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}/revoke")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> revoke(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
+ @PathParam("deviceName") String deviceName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") DeviceCredentialsRevokeRequest body,
+ Context context);
+
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}/revoke")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response revokeSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
+ @PathParam("deviceName") String deviceName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") DeviceCredentialsRevokeRequest body,
+ Context context);
+
@Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
@ExpectedResponses({ 200 })
@@ -912,6 +934,189 @@ public PagedIterable listByResourceGroup(String resourceGr
nextLink -> listByResourceGroupNextSinglePage(nextLink, context));
}
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> revokeWithResponseAsync(String resourceGroupName, String namespaceName,
+ String deviceName, DeviceCredentialsRevokeRequest body) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.revoke(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, deviceName, contentType, accept,
+ body, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response revokeWithResponse(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.revokeSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, deviceName, contentType, accept, body,
+ Context.NONE);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response revokeWithResponse(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.revokeSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, deviceName, contentType, accept, body,
+ context);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginRevokeAsync(String resourceGroupName, String namespaceName,
+ String deviceName, DeviceCredentialsRevokeRequest body) {
+ Mono>> mono
+ = revokeWithResponseAsync(resourceGroupName, namespaceName, deviceName, body);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginRevoke(String resourceGroupName, String namespaceName,
+ String deviceName, DeviceCredentialsRevokeRequest body) {
+ Response response = revokeWithResponse(resourceGroupName, namespaceName, deviceName, body);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginRevoke(String resourceGroupName, String namespaceName,
+ String deviceName, DeviceCredentialsRevokeRequest body, Context context) {
+ Response response = revokeWithResponse(resourceGroupName, namespaceName, deviceName, body, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono revokeAsync(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body) {
+ return beginRevokeAsync(resourceGroupName, namespaceName, deviceName, body).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void revoke(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body) {
+ beginRevoke(resourceGroupName, namespaceName, deviceName, body).getFinalResult();
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void revoke(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body, Context context) {
+ beginRevoke(resourceGroupName, namespaceName, deviceName, body, context).getFinalResult();
+ }
+
/**
* Get the next page of items.
*
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesImpl.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesImpl.java
index e7195430bdf8..ffe405c254bd 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesImpl.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesImpl.java
@@ -11,6 +11,7 @@
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient;
import com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDeviceInner;
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDevice;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDevices;
@@ -65,6 +66,16 @@ public PagedIterable listByResourceGroup(String resourceGroupNa
return ResourceManagerUtils.mapPage(inner, inner1 -> new NamespaceDeviceImpl(inner1, this.manager()));
}
+ public void revoke(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body) {
+ this.serviceClient().revoke(resourceGroupName, namespaceName, deviceName, body);
+ }
+
+ public void revoke(String resourceGroupName, String namespaceName, String deviceName,
+ DeviceCredentialsRevokeRequest body, Context context) {
+ this.serviceClient().revoke(resourceGroupName, namespaceName, deviceName, body, context);
+ }
+
public NamespaceDevice getById(String id) {
String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesClientImpl.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesClientImpl.java
index be253d53c4e6..ccf7293599c7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesClientImpl.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesClientImpl.java
@@ -14,6 +14,7 @@
import com.azure.core.annotation.HostParam;
import com.azure.core.annotation.Patch;
import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Post;
import com.azure.core.annotation.Put;
import com.azure.core.annotation.QueryParam;
import com.azure.core.annotation.ReturnType;
@@ -36,6 +37,7 @@
import com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient;
import com.azure.resourcemanager.deviceregistry.fluent.models.PolicyInner;
import com.azure.resourcemanager.deviceregistry.implementation.models.PolicyListResult;
+import com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest;
import com.azure.resourcemanager.deviceregistry.models.PolicyUpdate;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
@@ -164,6 +166,44 @@ Response listByResourceGroupSync(@HostParam("endpoint") String
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
@HeaderParam("Accept") String accept, Context context);
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}/revokeIssuer")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> revokeIssuer(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
+ @PathParam("policyName") String policyName, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}/revokeIssuer")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response revokeIssuerSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
+ @PathParam("policyName") String policyName, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}/activateBringYourOwnRoot")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> activateBringYourOwnRoot(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
+ @PathParam("policyName") String policyName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") ActivateBringYourOwnRootRequest body, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}/activateBringYourOwnRoot")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response activateBringYourOwnRootSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("namespaceName") String namespaceName,
+ @PathParam("policyName") String policyName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") ActivateBringYourOwnRootRequest body, Context context);
+
@Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
@ExpectedResponses({ 200 })
@@ -186,7 +226,7 @@ Response listByResourceGroupNextSync(
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -207,7 +247,7 @@ private Mono> getWithResponseAsync(String resourceGroupNam
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -224,7 +264,7 @@ private Mono getAsync(String resourceGroupName, String namespaceNam
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -244,7 +284,7 @@ public Response getWithResponse(String resourceGroupName, String na
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -260,7 +300,7 @@ public PolicyInner get(String resourceGroupName, String namespaceName, String po
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -284,7 +324,7 @@ private Mono>> createOrUpdateWithResponseAsync(String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -306,7 +346,7 @@ private Response createOrUpdateWithResponse(String resourceGroupName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -329,7 +369,7 @@ private Response createOrUpdateWithResponse(String resourceGroupName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -350,7 +390,7 @@ private PollerFlux, PolicyInner> beginCreateOrUpdateAsyn
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -371,7 +411,7 @@ public SyncPoller, PolicyInner> beginCreateOrUpdate(Stri
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -393,7 +433,7 @@ public SyncPoller, PolicyInner> beginCreateOrUpdate(Stri
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -412,7 +452,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, String n
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -430,7 +470,7 @@ public PolicyInner createOrUpdate(String resourceGroupName, String namespaceName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -449,7 +489,7 @@ public PolicyInner createOrUpdate(String resourceGroupName, String namespaceName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -469,7 +509,7 @@ private Mono>> deleteWithResponseAsync(String resource
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -486,7 +526,7 @@ private Response deleteWithResponse(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -505,7 +545,7 @@ private Response deleteWithResponse(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -524,7 +564,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -542,7 +582,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -561,7 +601,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -578,7 +618,7 @@ private Mono deleteAsync(String resourceGroupName, String namespaceName, S
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -593,7 +633,7 @@ public void delete(String resourceGroupName, String namespaceName, String policy
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -609,7 +649,7 @@ public void delete(String resourceGroupName, String namespaceName, String policy
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -633,7 +673,7 @@ private Mono>> updateWithResponseAsync(String resource
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -655,7 +695,7 @@ private Response updateWithResponse(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -678,7 +718,7 @@ private Response updateWithResponse(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -699,7 +739,7 @@ private PollerFlux, PolicyInner> beginUpdateAsync(String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -719,7 +759,7 @@ public SyncPoller, PolicyInner> beginUpdate(String resou
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -741,7 +781,7 @@ public SyncPoller, PolicyInner> beginUpdate(String resou
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -760,7 +800,7 @@ private Mono updateAsync(String resourceGroupName, String namespace
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -778,7 +818,7 @@ public PolicyInner update(String resourceGroupName, String namespaceName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param properties The resource properties to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -907,6 +947,358 @@ public PagedIterable listByResourceGroup(String resourceGroupName,
nextLink -> listByResourceGroupNextSinglePage(nextLink, context));
}
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> revokeIssuerWithResponseAsync(String resourceGroupName,
+ String namespaceName, String policyName) {
+ return FluxUtil
+ .withContext(context -> service.revokeIssuer(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, policyName, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response revokeIssuerWithResponse(String resourceGroupName, String namespaceName,
+ String policyName) {
+ return service.revokeIssuerSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, policyName, Context.NONE);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response revokeIssuerWithResponse(String resourceGroupName, String namespaceName,
+ String policyName, Context context) {
+ return service.revokeIssuerSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, policyName, context);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginRevokeIssuerAsync(String resourceGroupName, String namespaceName,
+ String policyName) {
+ Mono>> mono
+ = revokeIssuerWithResponseAsync(resourceGroupName, namespaceName, policyName);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginRevokeIssuer(String resourceGroupName, String namespaceName,
+ String policyName) {
+ Response response = revokeIssuerWithResponse(resourceGroupName, namespaceName, policyName);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginRevokeIssuer(String resourceGroupName, String namespaceName,
+ String policyName, Context context) {
+ Response response = revokeIssuerWithResponse(resourceGroupName, namespaceName, policyName, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono revokeIssuerAsync(String resourceGroupName, String namespaceName, String policyName) {
+ return beginRevokeIssuerAsync(resourceGroupName, namespaceName, policyName).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void revokeIssuer(String resourceGroupName, String namespaceName, String policyName) {
+ beginRevokeIssuer(resourceGroupName, namespaceName, policyName).getFinalResult();
+ }
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void revokeIssuer(String resourceGroupName, String namespaceName, String policyName, Context context) {
+ beginRevokeIssuer(resourceGroupName, namespaceName, policyName, context).getFinalResult();
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> activateBringYourOwnRootWithResponseAsync(String resourceGroupName,
+ String namespaceName, String policyName, ActivateBringYourOwnRootRequest body) {
+ final String contentType = "application/json";
+ return FluxUtil
+ .withContext(context -> service.activateBringYourOwnRoot(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, namespaceName,
+ policyName, contentType, body, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response activateBringYourOwnRootWithResponse(String resourceGroupName, String namespaceName,
+ String policyName, ActivateBringYourOwnRootRequest body) {
+ final String contentType = "application/json";
+ return service.activateBringYourOwnRootSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, policyName, contentType, body,
+ Context.NONE);
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response activateBringYourOwnRootWithResponse(String resourceGroupName, String namespaceName,
+ String policyName, ActivateBringYourOwnRootRequest body, Context context) {
+ final String contentType = "application/json";
+ return service.activateBringYourOwnRootSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, namespaceName, policyName, contentType, body, context);
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginActivateBringYourOwnRootAsync(String resourceGroupName,
+ String namespaceName, String policyName, ActivateBringYourOwnRootRequest body) {
+ Mono>> mono
+ = activateBringYourOwnRootWithResponseAsync(resourceGroupName, namespaceName, policyName, body);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginActivateBringYourOwnRoot(String resourceGroupName,
+ String namespaceName, String policyName, ActivateBringYourOwnRootRequest body) {
+ Response response
+ = activateBringYourOwnRootWithResponse(resourceGroupName, namespaceName, policyName, body);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginActivateBringYourOwnRoot(String resourceGroupName,
+ String namespaceName, String policyName, ActivateBringYourOwnRootRequest body, Context context) {
+ Response response
+ = activateBringYourOwnRootWithResponse(resourceGroupName, namespaceName, policyName, body, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono activateBringYourOwnRootAsync(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body) {
+ return beginActivateBringYourOwnRootAsync(resourceGroupName, namespaceName, policyName, body).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body) {
+ beginActivateBringYourOwnRoot(resourceGroupName, namespaceName, policyName, body).getFinalResult();
+ }
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body, Context context) {
+ beginActivateBringYourOwnRoot(resourceGroupName, namespaceName, policyName, body, context).getFinalResult();
+ }
+
/**
* Get the next page of items.
*
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesImpl.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesImpl.java
index 529be119b0d3..e161c7617752 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesImpl.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesImpl.java
@@ -11,6 +11,7 @@
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient;
import com.azure.resourcemanager.deviceregistry.fluent.models.PolicyInner;
+import com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest;
import com.azure.resourcemanager.deviceregistry.models.Policies;
import com.azure.resourcemanager.deviceregistry.models.Policy;
@@ -63,6 +64,24 @@ public PagedIterable listByResourceGroup(String resourceGroupName, Strin
return ResourceManagerUtils.mapPage(inner, inner1 -> new PolicyImpl(inner1, this.manager()));
}
+ public void revokeIssuer(String resourceGroupName, String namespaceName, String policyName) {
+ this.serviceClient().revokeIssuer(resourceGroupName, namespaceName, policyName);
+ }
+
+ public void revokeIssuer(String resourceGroupName, String namespaceName, String policyName, Context context) {
+ this.serviceClient().revokeIssuer(resourceGroupName, namespaceName, policyName, context);
+ }
+
+ public void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body) {
+ this.serviceClient().activateBringYourOwnRoot(resourceGroupName, namespaceName, policyName, body);
+ }
+
+ public void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body, Context context) {
+ this.serviceClient().activateBringYourOwnRoot(resourceGroupName, namespaceName, policyName, body, context);
+ }
+
public Policy getById(String id) {
String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PolicyImpl.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PolicyImpl.java
index 75a385be1360..a309b333fcf9 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PolicyImpl.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PolicyImpl.java
@@ -4,16 +4,14 @@
package com.azure.resourcemanager.deviceregistry.implementation;
-import com.azure.core.management.Region;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.deviceregistry.fluent.models.PolicyInner;
+import com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest;
import com.azure.resourcemanager.deviceregistry.models.Policy;
import com.azure.resourcemanager.deviceregistry.models.PolicyProperties;
import com.azure.resourcemanager.deviceregistry.models.PolicyUpdate;
import com.azure.resourcemanager.deviceregistry.models.PolicyUpdateProperties;
-import java.util.Collections;
-import java.util.Map;
public final class PolicyImpl implements Policy, Policy.Definition, Policy.Update {
private PolicyInner innerObject;
@@ -32,19 +30,6 @@ public String type() {
return this.innerModel().type();
}
- public String location() {
- return this.innerModel().location();
- }
-
- public Map tags() {
- Map inner = this.innerModel().tags();
- if (inner != null) {
- return Collections.unmodifiableMap(inner);
- } else {
- return Collections.emptyMap();
- }
- }
-
public PolicyProperties properties() {
return this.innerModel().properties();
}
@@ -53,14 +38,6 @@ public SystemData systemData() {
return this.innerModel().systemData();
}
- public Region region() {
- return Region.fromName(this.regionName());
- }
-
- public String regionName() {
- return this.location();
- }
-
public String resourceGroupName() {
return resourceGroupName;
}
@@ -150,24 +127,20 @@ public Policy refresh(Context context) {
return this;
}
- public PolicyImpl withRegion(Region location) {
- this.innerModel().withLocation(location.toString());
- return this;
+ public void revokeIssuer() {
+ serviceManager.policies().revokeIssuer(resourceGroupName, namespaceName, policyName);
}
- public PolicyImpl withRegion(String location) {
- this.innerModel().withLocation(location);
- return this;
+ public void revokeIssuer(Context context) {
+ serviceManager.policies().revokeIssuer(resourceGroupName, namespaceName, policyName, context);
}
- public PolicyImpl withTags(Map tags) {
- if (isInCreateMode()) {
- this.innerModel().withTags(tags);
- return this;
- } else {
- this.updateProperties.withTags(tags);
- return this;
- }
+ public void activateBringYourOwnRoot(ActivateBringYourOwnRootRequest body) {
+ serviceManager.policies().activateBringYourOwnRoot(resourceGroupName, namespaceName, policyName, body);
+ }
+
+ public void activateBringYourOwnRoot(ActivateBringYourOwnRootRequest body, Context context) {
+ serviceManager.policies().activateBringYourOwnRoot(resourceGroupName, namespaceName, policyName, body, context);
}
public PolicyImpl withProperties(PolicyProperties properties) {
@@ -179,8 +152,4 @@ public PolicyImpl withProperties(PolicyUpdateProperties properties) {
this.updateProperties.withProperties(properties);
return this;
}
-
- private boolean isInCreateMode() {
- return this.innerModel() == null || this.innerModel().id() == null;
- }
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/ActivateBringYourOwnRootRequest.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/ActivateBringYourOwnRootRequest.java
new file mode 100644
index 000000000000..ea5848fc124c
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/ActivateBringYourOwnRootRequest.java
@@ -0,0 +1,95 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.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;
+
+/**
+ * Request payload for activating a Bring Your Own Root policy with a customer-provided signed certificate.
+ */
+@Fluent
+public final class ActivateBringYourOwnRootRequest implements JsonSerializable {
+ /*
+ * Certificate chain in PEM format, including the signed certificate. The first certificate must be the signed
+ * certificate (matching the CSR generated by the service), followed by any intermediate CAs, and optionally the
+ * root CA. Certificates must be ordered from leaf to root and concatenated in PEM format.
+ */
+ private String certificateChain;
+
+ /**
+ * Creates an instance of ActivateBringYourOwnRootRequest class.
+ */
+ public ActivateBringYourOwnRootRequest() {
+ }
+
+ /**
+ * Get the certificateChain property: Certificate chain in PEM format, including the signed certificate. The first
+ * certificate must be the signed certificate (matching the CSR generated by the service), followed by any
+ * intermediate CAs, and optionally the root CA. Certificates must be ordered from leaf to root and concatenated in
+ * PEM format.
+ *
+ * @return the certificateChain value.
+ */
+ public String certificateChain() {
+ return this.certificateChain;
+ }
+
+ /**
+ * Set the certificateChain property: Certificate chain in PEM format, including the signed certificate. The first
+ * certificate must be the signed certificate (matching the CSR generated by the service), followed by any
+ * intermediate CAs, and optionally the root CA. Certificates must be ordered from leaf to root and concatenated in
+ * PEM format.
+ *
+ * @param certificateChain the certificateChain value to set.
+ * @return the ActivateBringYourOwnRootRequest object itself.
+ */
+ public ActivateBringYourOwnRootRequest withCertificateChain(String certificateChain) {
+ this.certificateChain = certificateChain;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("certificateChain", this.certificateChain);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ActivateBringYourOwnRootRequest from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ActivateBringYourOwnRootRequest 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 ActivateBringYourOwnRootRequest.
+ */
+ public static ActivateBringYourOwnRootRequest fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ActivateBringYourOwnRootRequest deserializedActivateBringYourOwnRootRequest
+ = new ActivateBringYourOwnRootRequest();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("certificateChain".equals(fieldName)) {
+ deserializedActivateBringYourOwnRootRequest.certificateChain = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedActivateBringYourOwnRootRequest;
+ });
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRoot.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRoot.java
new file mode 100644
index 000000000000..4ed0121a4384
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRoot.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.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;
+
+/**
+ * Configuration for Bring Your Own Root. When enabled, customers provide their own CA-signed certificates instead of
+ * using the service-managed CA.
+ */
+@Fluent
+public final class BringYourOwnRoot implements JsonSerializable {
+ /*
+ * Indicates whether Bring Your Own Root is enabled. This can only be set at creation time and cannot be changed
+ * afterward.
+ */
+ private boolean enabled;
+
+ /*
+ * Certificate Signing Request (CSR) in PEM format, generated by the service. Sign this CSR with your Certificate
+ * Authority and activate via the activateBringYourOwnRoot action. A new CSR is generated at policy creation and
+ * when certificates near expiration.
+ */
+ private String certificateSigningRequest;
+
+ /*
+ * Thumbprint of the issuing certificate.
+ */
+ private String issuingCertificateThumbprint;
+
+ /*
+ * The status of the Bring Your Own Root configuration, indicating the current state of the certificate lifecycle.
+ */
+ private BringYourOwnRootStatus status;
+
+ /**
+ * Creates an instance of BringYourOwnRoot class.
+ */
+ public BringYourOwnRoot() {
+ }
+
+ /**
+ * Get the enabled property: Indicates whether Bring Your Own Root is enabled. This can only be set at creation time
+ * and cannot be changed afterward.
+ *
+ * @return the enabled value.
+ */
+ public boolean enabled() {
+ return this.enabled;
+ }
+
+ /**
+ * Set the enabled property: Indicates whether Bring Your Own Root is enabled. This can only be set at creation time
+ * and cannot be changed afterward.
+ *
+ * @param enabled the enabled value to set.
+ * @return the BringYourOwnRoot object itself.
+ */
+ public BringYourOwnRoot withEnabled(boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Get the certificateSigningRequest property: Certificate Signing Request (CSR) in PEM format, generated by the
+ * service. Sign this CSR with your Certificate Authority and activate via the activateBringYourOwnRoot action. A
+ * new CSR is generated at policy creation and when certificates near expiration.
+ *
+ * @return the certificateSigningRequest value.
+ */
+ public String certificateSigningRequest() {
+ return this.certificateSigningRequest;
+ }
+
+ /**
+ * Get the issuingCertificateThumbprint property: Thumbprint of the issuing certificate.
+ *
+ * @return the issuingCertificateThumbprint value.
+ */
+ public String issuingCertificateThumbprint() {
+ return this.issuingCertificateThumbprint;
+ }
+
+ /**
+ * Get the status property: The status of the Bring Your Own Root configuration, indicating the current state of the
+ * certificate lifecycle.
+ *
+ * @return the status value.
+ */
+ public BringYourOwnRootStatus status() {
+ return this.status;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeBooleanField("enabled", this.enabled);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of BringYourOwnRoot from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of BringYourOwnRoot 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 BringYourOwnRoot.
+ */
+ public static BringYourOwnRoot fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ BringYourOwnRoot deserializedBringYourOwnRoot = new BringYourOwnRoot();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("enabled".equals(fieldName)) {
+ deserializedBringYourOwnRoot.enabled = reader.getBoolean();
+ } else if ("certificateSigningRequest".equals(fieldName)) {
+ deserializedBringYourOwnRoot.certificateSigningRequest = reader.getString();
+ } else if ("issuingCertificateThumbprint".equals(fieldName)) {
+ deserializedBringYourOwnRoot.issuingCertificateThumbprint = reader.getString();
+ } else if ("status".equals(fieldName)) {
+ deserializedBringYourOwnRoot.status = BringYourOwnRootStatus.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedBringYourOwnRoot;
+ });
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRootStatus.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRootStatus.java
new file mode 100644
index 000000000000..960df776fff0
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRootStatus.java
@@ -0,0 +1,57 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Status of the Bring Your Own Root configuration.
+ */
+public final class BringYourOwnRootStatus extends ExpandableStringEnum {
+ /**
+ * The CSR has been generated and is waiting for the customer to provide the signed certificate.
+ */
+ public static final BringYourOwnRootStatus PENDING_ACTIVATION = fromString("PendingActivation");
+
+ /**
+ * The signed certificate has been successfully uploaded and validated, and the CA is active.
+ */
+ public static final BringYourOwnRootStatus ACTIVE = fromString("Active");
+
+ /**
+ * The certificate is nearing expiration (within renewal window) or has expired. A new CSR has been generated and is
+ * waiting for the customer to provide a new signed certificate.
+ */
+ public static final BringYourOwnRootStatus ACTIVE_BUT_PENDING_RENEWAL = fromString("ActiveButPendingRenewal");
+
+ /**
+ * Creates a new instance of BringYourOwnRootStatus value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public BringYourOwnRootStatus() {
+ }
+
+ /**
+ * Creates or finds a BringYourOwnRootStatus from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding BringYourOwnRootStatus.
+ */
+ public static BringYourOwnRootStatus fromString(String name) {
+ return fromString(name, BringYourOwnRootStatus.class);
+ }
+
+ /**
+ * Gets known BringYourOwnRootStatus values.
+ *
+ * @return known BringYourOwnRootStatus values.
+ */
+ public static Collection values() {
+ return values(BringYourOwnRootStatus.class);
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateAuthorityConfiguration.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateAuthorityConfiguration.java
index 90c69a784327..44eb84b146a7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateAuthorityConfiguration.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateAuthorityConfiguration.java
@@ -38,6 +38,11 @@ public final class CertificateAuthorityConfiguration implements JsonSerializable
*/
private OffsetDateTime validityNotAfter;
+ /*
+ * Configuration for Bring Your Own Root.
+ */
+ private BringYourOwnRoot bringYourOwnRoot;
+
/**
* Creates an instance of CertificateAuthorityConfiguration class.
*/
@@ -93,6 +98,26 @@ public OffsetDateTime validityNotAfter() {
return this.validityNotAfter;
}
+ /**
+ * Get the bringYourOwnRoot property: Configuration for Bring Your Own Root.
+ *
+ * @return the bringYourOwnRoot value.
+ */
+ public BringYourOwnRoot bringYourOwnRoot() {
+ return this.bringYourOwnRoot;
+ }
+
+ /**
+ * Set the bringYourOwnRoot property: Configuration for Bring Your Own Root.
+ *
+ * @param bringYourOwnRoot the bringYourOwnRoot value to set.
+ * @return the CertificateAuthorityConfiguration object itself.
+ */
+ public CertificateAuthorityConfiguration withBringYourOwnRoot(BringYourOwnRoot bringYourOwnRoot) {
+ this.bringYourOwnRoot = bringYourOwnRoot;
+ return this;
+ }
+
/**
* {@inheritDoc}
*/
@@ -100,6 +125,7 @@ public OffsetDateTime validityNotAfter() {
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("keyType", this.keyType == null ? null : this.keyType.toString());
+ jsonWriter.writeJsonField("bringYourOwnRoot", this.bringYourOwnRoot);
return jsonWriter.writeEndObject();
}
@@ -131,6 +157,8 @@ public static CertificateAuthorityConfiguration fromJson(JsonReader jsonReader)
} else if ("validityNotAfter".equals(fieldName)) {
deserializedCertificateAuthorityConfiguration.validityNotAfter = reader
.getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("bringYourOwnRoot".equals(fieldName)) {
+ deserializedCertificateAuthorityConfiguration.bringYourOwnRoot = BringYourOwnRoot.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceCredentialsRevokeRequest.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceCredentialsRevokeRequest.java
new file mode 100644
index 000000000000..be9904a23c49
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceCredentialsRevokeRequest.java
@@ -0,0 +1,88 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.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;
+
+/**
+ * Request payload for revoking device credentials.
+ */
+@Fluent
+public final class DeviceCredentialsRevokeRequest implements JsonSerializable {
+ /*
+ * Indicates whether to disable the device(s) after revoking credentials. Prevents new credentials to be issued.
+ */
+ private Boolean disable;
+
+ /**
+ * Creates an instance of DeviceCredentialsRevokeRequest class.
+ */
+ public DeviceCredentialsRevokeRequest() {
+ }
+
+ /**
+ * Get the disable property: Indicates whether to disable the device(s) after revoking credentials. Prevents new
+ * credentials to be issued.
+ *
+ * @return the disable value.
+ */
+ public Boolean disable() {
+ return this.disable;
+ }
+
+ /**
+ * Set the disable property: Indicates whether to disable the device(s) after revoking credentials. Prevents new
+ * credentials to be issued.
+ *
+ * @param disable the disable value to set.
+ * @return the DeviceCredentialsRevokeRequest object itself.
+ */
+ public DeviceCredentialsRevokeRequest withDisable(Boolean disable) {
+ this.disable = disable;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeBooleanField("disable", this.disable);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of DeviceCredentialsRevokeRequest from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of DeviceCredentialsRevokeRequest 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 DeviceCredentialsRevokeRequest.
+ */
+ public static DeviceCredentialsRevokeRequest fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ DeviceCredentialsRevokeRequest deserializedDeviceCredentialsRevokeRequest
+ = new DeviceCredentialsRevokeRequest();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("disable".equals(fieldName)) {
+ deserializedDeviceCredentialsRevokeRequest.disable = reader.getNullable(JsonReader::getBoolean);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedDeviceCredentialsRevokeRequest;
+ });
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevice.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevice.java
index c36524be30fe..788fecf29c37 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevice.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevice.java
@@ -291,4 +291,25 @@ interface WithProperties {
* @return the refreshed resource.
*/
NamespaceDevice refresh(Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revoke(DeviceCredentialsRevokeRequest body);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revoke(DeviceCredentialsRevokeRequest body, Context context);
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevices.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevices.java
index 778d11ca96e8..b8a1c5ed5e45 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevices.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevices.java
@@ -90,6 +90,34 @@ Response getWithResponse(String resourceGroupName, String names
*/
PagedIterable listByResourceGroup(String resourceGroupName, String namespaceName, Context context);
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revoke(String resourceGroupName, String namespaceName, String deviceName, DeviceCredentialsRevokeRequest body);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param deviceName The name of the device.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revoke(String resourceGroupName, String namespaceName, String deviceName, DeviceCredentialsRevokeRequest body,
+ Context context);
+
/**
* Get a NamespaceDevice.
*
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policies.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policies.java
index f483f9e58b29..bba492bb4482 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policies.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policies.java
@@ -17,7 +17,7 @@ public interface Policies {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -32,7 +32,7 @@ Response getWithResponse(String resourceGroupName, String namespaceName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -45,7 +45,7 @@ Response getWithResponse(String resourceGroupName, String namespaceName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -57,7 +57,7 @@ Response getWithResponse(String resourceGroupName, String namespaceName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The name of the namespace.
- * @param policyName The name of the Policy tracked resource.
+ * @param policyName The name of the Policy proxy resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -90,6 +90,62 @@ Response getWithResponse(String resourceGroupName, String namespaceName,
*/
PagedIterable listByResourceGroup(String resourceGroupName, String namespaceName, Context context);
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revokeIssuer(String resourceGroupName, String namespaceName, String policyName);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revokeIssuer(String resourceGroupName, String namespaceName, String policyName, Context context);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName The name of the namespace.
+ * @param policyName The name of the Policy proxy resource.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void activateBringYourOwnRoot(String resourceGroupName, String namespaceName, String policyName,
+ ActivateBringYourOwnRootRequest body, Context context);
+
/**
* Get a Policy.
*
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policy.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policy.java
index 912a3a6bf64f..ee71cf639bf8 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policy.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/Policy.java
@@ -4,11 +4,9 @@
package com.azure.resourcemanager.deviceregistry.models;
-import com.azure.core.management.Region;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.deviceregistry.fluent.models.PolicyInner;
-import java.util.Map;
/**
* An immutable client-side representation of Policy.
@@ -35,20 +33,6 @@ public interface Policy {
*/
String type();
- /**
- * Gets the location property: The geo-location where the resource lives.
- *
- * @return the location value.
- */
- String location();
-
- /**
- * Gets the tags property: Resource tags.
- *
- * @return the tags value.
- */
- Map tags();
-
/**
* Gets the properties property: The resource-specific properties for this resource.
*
@@ -63,20 +47,6 @@ public interface Policy {
*/
SystemData systemData();
- /**
- * Gets the region of the resource.
- *
- * @return the region of the resource.
- */
- Region region();
-
- /**
- * Gets the name of the resource region.
- *
- * @return the name of the resource region.
- */
- String regionName();
-
/**
* Gets the name of the resource group.
*
@@ -94,8 +64,8 @@ public interface Policy {
/**
* The entirety of the Policy definition.
*/
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithLocation,
- DefinitionStages.WithParentResource, DefinitionStages.WithCreate {
+ interface Definition
+ extends DefinitionStages.Blank, DefinitionStages.WithParentResource, DefinitionStages.WithCreate {
}
/**
@@ -105,28 +75,7 @@ interface DefinitionStages {
/**
* The first stage of the Policy definition.
*/
- interface Blank extends WithLocation {
- }
-
- /**
- * The stage of the Policy definition allowing to specify location.
- */
- interface WithLocation {
- /**
- * Specifies the region for the resource.
- *
- * @param location The geo-location where the resource lives.
- * @return the next definition stage.
- */
- WithParentResource withRegion(Region location);
-
- /**
- * Specifies the region for the resource.
- *
- * @param location The geo-location where the resource lives.
- * @return the next definition stage.
- */
- WithParentResource withRegion(String location);
+ interface Blank extends WithParentResource {
}
/**
@@ -147,7 +96,7 @@ interface WithParentResource {
* The stage of the Policy definition which contains all the minimum required properties for the resource to be
* created, but also allows for any other optional properties to be specified.
*/
- interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithProperties {
+ interface WithCreate extends DefinitionStages.WithProperties {
/**
* Executes the create request.
*
@@ -164,19 +113,6 @@ interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithPro
Policy create(Context context);
}
- /**
- * The stage of the Policy definition allowing to specify tags.
- */
- interface WithTags {
- /**
- * Specifies the tags property: Resource tags..
- *
- * @param tags Resource tags.
- * @return the next definition stage.
- */
- WithCreate withTags(Map tags);
- }
-
/**
* The stage of the Policy definition allowing to specify properties.
*/
@@ -201,7 +137,7 @@ interface WithProperties {
/**
* The template for Policy update.
*/
- interface Update extends UpdateStages.WithTags, UpdateStages.WithProperties {
+ interface Update extends UpdateStages.WithProperties {
/**
* Executes the update request.
*
@@ -222,19 +158,6 @@ interface Update extends UpdateStages.WithTags, UpdateStages.WithProperties {
* The Policy update stages.
*/
interface UpdateStages {
- /**
- * The stage of the Policy update allowing to specify tags.
- */
- interface WithTags {
- /**
- * Specifies the tags property: Resource tags..
- *
- * @param tags Resource tags.
- * @return the next definition stage.
- */
- Update withTags(Map tags);
- }
-
/**
* The stage of the Policy update allowing to specify properties.
*/
@@ -263,4 +186,45 @@ interface WithProperties {
* @return the refreshed resource.
*/
Policy refresh(Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revokeIssuer();
+
+ /**
+ * A long-running resource action.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void revokeIssuer(Context context);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void activateBringYourOwnRoot(ActivateBringYourOwnRootRequest body);
+
+ /**
+ * Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a
+ * long-running operation that returns no content upon completion.
+ *
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void activateBringYourOwnRoot(ActivateBringYourOwnRootRequest body, Context context);
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdate.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdate.java
index cd921c6705f9..ba53e38edd10 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdate.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdate.java
@@ -10,18 +10,12 @@
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;
-import java.util.Map;
/**
* The type used for update operations of the Policy.
*/
@Fluent
public final class PolicyUpdate implements JsonSerializable {
- /*
- * Resource tags.
- */
- private Map tags;
-
/*
* The resource-specific properties for this resource.
*/
@@ -33,26 +27,6 @@ public final class PolicyUpdate implements JsonSerializable {
public PolicyUpdate() {
}
- /**
- * Get the tags property: Resource tags.
- *
- * @return the tags value.
- */
- public Map tags() {
- return this.tags;
- }
-
- /**
- * Set the tags property: Resource tags.
- *
- * @param tags the tags value to set.
- * @return the PolicyUpdate object itself.
- */
- public PolicyUpdate withTags(Map tags) {
- this.tags = tags;
- return this;
- }
-
/**
* Get the properties property: The resource-specific properties for this resource.
*
@@ -79,7 +53,6 @@ public PolicyUpdate withProperties(PolicyUpdateProperties properties) {
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}
@@ -99,10 +72,7 @@ public static PolicyUpdate fromJson(JsonReader jsonReader) throws IOException {
String fieldName = reader.getFieldName();
reader.nextToken();
- if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedPolicyUpdate.tags = tags;
- } else if ("properties".equals(fieldName)) {
+ if ("properties".equals(fieldName)) {
deserializedPolicyUpdate.properties = PolicyUpdateProperties.fromJson(reader);
} else {
reader.skipChildren();
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/resources/META-INF/azure-resourcemanager-deviceregistry_metadata.json b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/resources/META-INF/azure-resourcemanager-deviceregistry_metadata.json
index c2e1a03da6b2..2f8ce2d820f4 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/resources/META-INF/azure-resourcemanager-deviceregistry_metadata.json
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/resources/META-INF/azure-resourcemanager-deviceregistry_metadata.json
@@ -1 +1 @@
-{"flavor":"azure","apiVersions":{"Microsoft.DeviceRegistry":"2025-11-01-preview"},"crossLanguageDefinitions":{"com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient":"Microsoft.DeviceRegistry.AssetEndpointProfiles","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.beginDelete":"Microsoft.DeviceRegistry.AssetEndpointProfiles.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.beginUpdate":"Microsoft.DeviceRegistry.AssetEndpointProfiles.update","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.createOrReplace":"Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.delete":"Microsoft.DeviceRegistry.AssetEndpointProfiles.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.getByResourceGroup":"Microsoft.DeviceRegistry.AssetEndpointProfiles.get","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.AssetEndpointProfiles.get","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.list":"Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.listByResourceGroup":"Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.update":"Microsoft.DeviceRegistry.AssetEndpointProfiles.update","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient":"Microsoft.DeviceRegistry.Assets","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.Assets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.beginDelete":"Microsoft.DeviceRegistry.Assets.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.beginUpdate":"Microsoft.DeviceRegistry.Assets.update","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.createOrReplace":"Microsoft.DeviceRegistry.Assets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.delete":"Microsoft.DeviceRegistry.Assets.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.getByResourceGroup":"Microsoft.DeviceRegistry.Assets.get","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.Assets.get","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.list":"Microsoft.DeviceRegistry.Assets.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.listByResourceGroup":"Microsoft.DeviceRegistry.Assets.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.update":"Microsoft.DeviceRegistry.Assets.update","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient":"Microsoft.DeviceRegistry.BillingContainers","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient.get":"Microsoft.DeviceRegistry.BillingContainers.get","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient.getWithResponse":"Microsoft.DeviceRegistry.BillingContainers.get","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient.list":"Microsoft.DeviceRegistry.BillingContainers.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient":"Microsoft.DeviceRegistry.Credentials","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginCreateOrUpdate":"Microsoft.DeviceRegistry.Credentials.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginDelete":"Microsoft.DeviceRegistry.Credentials.delete","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginSynchronize":"Microsoft.DeviceRegistry.Credentials.synchronize","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginUpdate":"Microsoft.DeviceRegistry.Credentials.update","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.createOrUpdate":"Microsoft.DeviceRegistry.Credentials.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.delete":"Microsoft.DeviceRegistry.Credentials.delete","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.get":"Microsoft.DeviceRegistry.Credentials.get","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.getWithResponse":"Microsoft.DeviceRegistry.Credentials.get","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.listByResourceGroup":"Microsoft.DeviceRegistry.Credentials.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.synchronize":"Microsoft.DeviceRegistry.Credentials.synchronize","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.update":"Microsoft.DeviceRegistry.Credentials.update","com.azure.resourcemanager.deviceregistry.fluent.DeviceRegistryManagementClient":"Microsoft.DeviceRegistry","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient":"Microsoft.DeviceRegistry.NamespaceAssets","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.delete":"Microsoft.DeviceRegistry.NamespaceAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.get":"Microsoft.DeviceRegistry.NamespaceAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.update":"Microsoft.DeviceRegistry.NamespaceAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient":"Microsoft.DeviceRegistry.NamespaceDevices","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.delete":"Microsoft.DeviceRegistry.NamespaceDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.get":"Microsoft.DeviceRegistry.NamespaceDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.update":"Microsoft.DeviceRegistry.NamespaceDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.delete":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.get":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.update":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.delete":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.get":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.update":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient":"Microsoft.DeviceRegistry.Namespaces","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.Namespaces.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginDelete":"Microsoft.DeviceRegistry.Namespaces.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginMigrate":"Microsoft.DeviceRegistry.Namespaces.migrate","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginUpdate":"Microsoft.DeviceRegistry.Namespaces.update","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.createOrReplace":"Microsoft.DeviceRegistry.Namespaces.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.delete":"Microsoft.DeviceRegistry.Namespaces.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.getByResourceGroup":"Microsoft.DeviceRegistry.Namespaces.get","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.Namespaces.get","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.list":"Microsoft.DeviceRegistry.Namespaces.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.listByResourceGroup":"Microsoft.DeviceRegistry.Namespaces.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.migrate":"Microsoft.DeviceRegistry.Namespaces.migrate","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.update":"Microsoft.DeviceRegistry.Namespaces.update","com.azure.resourcemanager.deviceregistry.fluent.OperationStatusClient":"Microsoft.DeviceRegistry.OperationStatus","com.azure.resourcemanager.deviceregistry.fluent.OperationStatusClient.get":"Microsoft.DeviceRegistry.OperationStatus.get","com.azure.resourcemanager.deviceregistry.fluent.OperationStatusClient.getWithResponse":"Microsoft.DeviceRegistry.OperationStatus.get","com.azure.resourcemanager.deviceregistry.fluent.OperationsClient":"Microsoft.DeviceRegistry.Operations","com.azure.resourcemanager.deviceregistry.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient":"Microsoft.DeviceRegistry.Policies","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginCreateOrUpdate":"Microsoft.DeviceRegistry.Policies.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginDelete":"Microsoft.DeviceRegistry.Policies.delete","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginUpdate":"Microsoft.DeviceRegistry.Policies.update","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.createOrUpdate":"Microsoft.DeviceRegistry.Policies.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.delete":"Microsoft.DeviceRegistry.Policies.delete","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.get":"Microsoft.DeviceRegistry.Policies.get","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.getWithResponse":"Microsoft.DeviceRegistry.Policies.get","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.listByResourceGroup":"Microsoft.DeviceRegistry.Policies.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.update":"Microsoft.DeviceRegistry.Policies.update","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient":"Microsoft.DeviceRegistry.SchemaRegistries","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.beginDelete":"Microsoft.DeviceRegistry.SchemaRegistries.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.beginUpdate":"Microsoft.DeviceRegistry.SchemaRegistries.update","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.createOrReplace":"Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.delete":"Microsoft.DeviceRegistry.SchemaRegistries.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.getByResourceGroup":"Microsoft.DeviceRegistry.SchemaRegistries.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.SchemaRegistries.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.list":"Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.listByResourceGroup":"Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.update":"Microsoft.DeviceRegistry.SchemaRegistries.update","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient":"Microsoft.DeviceRegistry.SchemaVersions","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.beginDelete":"Microsoft.DeviceRegistry.SchemaVersions.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.createOrReplace":"Microsoft.DeviceRegistry.SchemaVersions.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.createOrReplaceWithResponse":"Microsoft.DeviceRegistry.SchemaVersions.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.delete":"Microsoft.DeviceRegistry.SchemaVersions.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.get":"Microsoft.DeviceRegistry.SchemaVersions.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.getWithResponse":"Microsoft.DeviceRegistry.SchemaVersions.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.listBySchema":"Microsoft.DeviceRegistry.SchemaVersions.listBySchema","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient":"Microsoft.DeviceRegistry.Schemas","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.beginDelete":"Microsoft.DeviceRegistry.Schemas.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.createOrReplace":"Microsoft.DeviceRegistry.Schemas.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.createOrReplaceWithResponse":"Microsoft.DeviceRegistry.Schemas.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.delete":"Microsoft.DeviceRegistry.Schemas.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.get":"Microsoft.DeviceRegistry.Schemas.get","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.getWithResponse":"Microsoft.DeviceRegistry.Schemas.get","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.listBySchemaRegistry":"Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry","com.azure.resourcemanager.deviceregistry.fluent.models.AssetEndpointProfileInner":"Microsoft.DeviceRegistry.AssetEndpointProfile","com.azure.resourcemanager.deviceregistry.fluent.models.AssetInner":"Microsoft.DeviceRegistry.Asset","com.azure.resourcemanager.deviceregistry.fluent.models.BillingContainerInner":"Microsoft.DeviceRegistry.BillingContainer","com.azure.resourcemanager.deviceregistry.fluent.models.CredentialInner":"Microsoft.DeviceRegistry.Credential","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceAssetInner":"Microsoft.DeviceRegistry.NamespaceAsset","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDeviceInner":"Microsoft.DeviceRegistry.NamespaceDevice","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDiscoveredAssetInner":"Microsoft.DeviceRegistry.NamespaceDiscoveredAsset","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDiscoveredDeviceInner":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevice","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceInner":"Microsoft.DeviceRegistry.Namespace","com.azure.resourcemanager.deviceregistry.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.deviceregistry.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.deviceregistry.fluent.models.PolicyInner":"Microsoft.DeviceRegistry.Policy","com.azure.resourcemanager.deviceregistry.fluent.models.SchemaInner":"Microsoft.DeviceRegistry.Schema","com.azure.resourcemanager.deviceregistry.fluent.models.SchemaRegistryInner":"Microsoft.DeviceRegistry.SchemaRegistry","com.azure.resourcemanager.deviceregistry.fluent.models.SchemaVersionInner":"Microsoft.DeviceRegistry.SchemaVersion","com.azure.resourcemanager.deviceregistry.implementation.DeviceRegistryManagementClientBuilder":"Microsoft.DeviceRegistry","com.azure.resourcemanager.deviceregistry.implementation.models.AssetEndpointProfileListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.AssetListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.BillingContainerListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.CredentialListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceAssetListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceDiscoveredAssetListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceDiscoveredDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.deviceregistry.implementation.models.PolicyListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.SchemaListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.SchemaRegistryListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.SchemaVersionListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileProperties":"Microsoft.DeviceRegistry.AssetEndpointProfileProperties","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileStatus":"Microsoft.DeviceRegistry.AssetEndpointProfileStatus","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileStatusError":"Microsoft.DeviceRegistry.AssetEndpointProfileStatusError","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.AssetProperties":"Microsoft.DeviceRegistry.AssetProperties","com.azure.resourcemanager.deviceregistry.models.AssetStatus":"Microsoft.DeviceRegistry.AssetStatus","com.azure.resourcemanager.deviceregistry.models.AssetStatusDataset":"Microsoft.DeviceRegistry.AssetStatusDataset","com.azure.resourcemanager.deviceregistry.models.AssetStatusError":"Microsoft.DeviceRegistry.AssetStatusError","com.azure.resourcemanager.deviceregistry.models.AssetStatusEvent":"Microsoft.DeviceRegistry.AssetStatusEvent","com.azure.resourcemanager.deviceregistry.models.AssetUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.AssetUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.Authentication":"Microsoft.DeviceRegistry.Authentication","com.azure.resourcemanager.deviceregistry.models.AuthenticationMethod":"Microsoft.DeviceRegistry.AuthenticationMethod","com.azure.resourcemanager.deviceregistry.models.BillingContainerProperties":"Microsoft.DeviceRegistry.BillingContainerProperties","com.azure.resourcemanager.deviceregistry.models.BrokerStateStoreDestinationConfiguration":"Microsoft.DeviceRegistry.BrokerStateStoreDestinationConfiguration","com.azure.resourcemanager.deviceregistry.models.CertificateAuthorityConfiguration":"Microsoft.DeviceRegistry.CertificateAuthorityConfiguration","com.azure.resourcemanager.deviceregistry.models.CertificateConfiguration":"Microsoft.DeviceRegistry.CertificateConfiguration","com.azure.resourcemanager.deviceregistry.models.CredentialProperties":"Microsoft.DeviceRegistry.CredentialProperties","com.azure.resourcemanager.deviceregistry.models.CredentialUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.DataPoint":"Microsoft.DeviceRegistry.DataPoint","com.azure.resourcemanager.deviceregistry.models.DataPointBase":"Microsoft.DeviceRegistry.DataPointBase","com.azure.resourcemanager.deviceregistry.models.DataPointObservabilityMode":"Microsoft.DeviceRegistry.DataPointObservabilityMode","com.azure.resourcemanager.deviceregistry.models.Dataset":"Microsoft.DeviceRegistry.Dataset","com.azure.resourcemanager.deviceregistry.models.DatasetBrokerStateStoreDestination":"Microsoft.DeviceRegistry.DatasetBrokerStateStoreDestination","com.azure.resourcemanager.deviceregistry.models.DatasetDestination":"Microsoft.DeviceRegistry.DatasetDestination","com.azure.resourcemanager.deviceregistry.models.DatasetDestinationTarget":"Microsoft.DeviceRegistry.DatasetDestinationTarget","com.azure.resourcemanager.deviceregistry.models.DatasetMqttDestination":"Microsoft.DeviceRegistry.DatasetMqttDestination","com.azure.resourcemanager.deviceregistry.models.DatasetStorageDestination":"Microsoft.DeviceRegistry.DatasetStorageDestination","com.azure.resourcemanager.deviceregistry.models.DeviceCredentialPolicy":"Microsoft.DeviceRegistry.DeviceCredentialPolicy","com.azure.resourcemanager.deviceregistry.models.DeviceMessagingEndpoint":"Microsoft.DeviceRegistry.DeviceMessagingEndpoint","com.azure.resourcemanager.deviceregistry.models.DeviceRef":"Microsoft.DeviceRegistry.DeviceRef","com.azure.resourcemanager.deviceregistry.models.DeviceStatus":"Microsoft.DeviceRegistry.DeviceStatus","com.azure.resourcemanager.deviceregistry.models.DeviceStatusEndpoint":"Microsoft.DeviceRegistry.DeviceStatusEndpoint","com.azure.resourcemanager.deviceregistry.models.DeviceStatusEndpoints":"Microsoft.DeviceRegistry.DeviceStatusEndpoints","com.azure.resourcemanager.deviceregistry.models.DiscoveredInboundEndpoints":"Microsoft.DeviceRegistry.DiscoveredInboundEndpoints","com.azure.resourcemanager.deviceregistry.models.DiscoveredMessagingEndpoints":"Microsoft.DeviceRegistry.DiscoveredMessagingEndpoints","com.azure.resourcemanager.deviceregistry.models.DiscoveredOutboundEndpoints":"Microsoft.DeviceRegistry.DiscoveredOutboundEndpoints","com.azure.resourcemanager.deviceregistry.models.ErrorDetails":"Microsoft.DeviceRegistry.ErrorDetails","com.azure.resourcemanager.deviceregistry.models.Event":"Microsoft.DeviceRegistry.Event","com.azure.resourcemanager.deviceregistry.models.EventBase":"Microsoft.DeviceRegistry.EventBase","com.azure.resourcemanager.deviceregistry.models.EventDestination":"Microsoft.DeviceRegistry.EventDestination","com.azure.resourcemanager.deviceregistry.models.EventDestinationTarget":"Microsoft.DeviceRegistry.EventDestinationTarget","com.azure.resourcemanager.deviceregistry.models.EventMqttDestination":"Microsoft.DeviceRegistry.EventMqttDestination","com.azure.resourcemanager.deviceregistry.models.EventObservabilityMode":"Microsoft.DeviceRegistry.EventObservabilityMode","com.azure.resourcemanager.deviceregistry.models.EventStorageDestination":"Microsoft.DeviceRegistry.EventStorageDestination","com.azure.resourcemanager.deviceregistry.models.ExtendedLocation":"Microsoft.DeviceRegistry.ExtendedLocation","com.azure.resourcemanager.deviceregistry.models.Format":"Microsoft.DeviceRegistry.Format","com.azure.resourcemanager.deviceregistry.models.HostAuthentication":"Microsoft.DeviceRegistry.HostAuthentication","com.azure.resourcemanager.deviceregistry.models.InboundEndpoints":"Microsoft.DeviceRegistry.InboundEndpoints","com.azure.resourcemanager.deviceregistry.models.LeafCertificateConfiguration":"Microsoft.DeviceRegistry.LeafCertificateConfiguration","com.azure.resourcemanager.deviceregistry.models.ManagementAction":"Microsoft.DeviceRegistry.ManagementAction","com.azure.resourcemanager.deviceregistry.models.ManagementActionType":"Microsoft.DeviceRegistry.ManagementActionType","com.azure.resourcemanager.deviceregistry.models.ManagementGroup":"Microsoft.DeviceRegistry.ManagementGroup","com.azure.resourcemanager.deviceregistry.models.MessageSchemaReference":"Microsoft.DeviceRegistry.MessageSchemaReference","com.azure.resourcemanager.deviceregistry.models.Messaging":"Microsoft.DeviceRegistry.Messaging","com.azure.resourcemanager.deviceregistry.models.MessagingEndpoint":"Microsoft.DeviceRegistry.MessagingEndpoint","com.azure.resourcemanager.deviceregistry.models.MessagingEndpoints":"Microsoft.DeviceRegistry.MessagingEndpoints","com.azure.resourcemanager.deviceregistry.models.MqttDestinationConfiguration":"Microsoft.DeviceRegistry.MqttDestinationConfiguration","com.azure.resourcemanager.deviceregistry.models.MqttDestinationQos":"Microsoft.DeviceRegistry.MqttDestinationQos","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetProperties":"Microsoft.DeviceRegistry.NamespaceAssetProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatus":"Microsoft.DeviceRegistry.NamespaceAssetStatus","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusDataset":"Microsoft.DeviceRegistry.NamespaceAssetStatusDataset","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusEvent":"Microsoft.DeviceRegistry.NamespaceAssetStatusEvent","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusEventGroup":"Microsoft.DeviceRegistry.NamespaceAssetStatusEventGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusManagementAction":"Microsoft.DeviceRegistry.NamespaceAssetStatusManagementAction","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusManagementGroup":"Microsoft.DeviceRegistry.NamespaceAssetStatusManagementGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusStream":"Microsoft.DeviceRegistry.NamespaceAssetStatusStream","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDataset":"Microsoft.DeviceRegistry.NamespaceDataset","com.azure.resourcemanager.deviceregistry.models.NamespaceDatasetDataPoint":"Microsoft.DeviceRegistry.NamespaceDatasetDataPoint","com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceProperties":"Microsoft.DeviceRegistry.NamespaceDeviceProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetProperties":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDataset":"Microsoft.DeviceRegistry.NamespaceDiscoveredDataset","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDatasetDataPoint":"Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceProperties":"Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEvent":"Microsoft.DeviceRegistry.NamespaceDiscoveredEvent","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEventGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementAction":"Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementActionType":"Microsoft.DeviceRegistry.NamespaceDiscoveredManagementActionType","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredStream":"Microsoft.DeviceRegistry.NamespaceDiscoveredStream","com.azure.resourcemanager.deviceregistry.models.NamespaceEvent":"Microsoft.DeviceRegistry.NamespaceEvent","com.azure.resourcemanager.deviceregistry.models.NamespaceEventGroup":"Microsoft.DeviceRegistry.NamespaceEventGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceMessageSchemaReference":"Microsoft.DeviceRegistry.NamespaceMessageSchemaReference","com.azure.resourcemanager.deviceregistry.models.NamespaceMigrateRequest":"Microsoft.DeviceRegistry.NamespaceMigrateRequest","com.azure.resourcemanager.deviceregistry.models.NamespaceProperties":"Microsoft.DeviceRegistry.NamespaceProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceStream":"Microsoft.DeviceRegistry.NamespaceStream","com.azure.resourcemanager.deviceregistry.models.NamespaceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.deviceregistry.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.deviceregistry.models.OutboundEndpoints":"Microsoft.DeviceRegistry.OutboundEndpoints","com.azure.resourcemanager.deviceregistry.models.PolicyProperties":"Microsoft.DeviceRegistry.PolicyProperties","com.azure.resourcemanager.deviceregistry.models.PolicyUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.PolicyUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.ProvisioningState":"Microsoft.DeviceRegistry.ProvisioningState","com.azure.resourcemanager.deviceregistry.models.SchemaProperties":"Microsoft.DeviceRegistry.SchemaProperties","com.azure.resourcemanager.deviceregistry.models.SchemaRegistryProperties":"Microsoft.DeviceRegistry.SchemaRegistryProperties","com.azure.resourcemanager.deviceregistry.models.SchemaRegistryUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.SchemaRegistryUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.SchemaType":"Microsoft.DeviceRegistry.SchemaType","com.azure.resourcemanager.deviceregistry.models.SchemaVersionProperties":"Microsoft.DeviceRegistry.SchemaVersionProperties","com.azure.resourcemanager.deviceregistry.models.Scope":"Microsoft.DeviceRegistry.Scope","com.azure.resourcemanager.deviceregistry.models.StatusConfig":"Microsoft.DeviceRegistry.StatusConfig","com.azure.resourcemanager.deviceregistry.models.StatusError":"Microsoft.DeviceRegistry.StatusError","com.azure.resourcemanager.deviceregistry.models.StorageDestinationConfiguration":"Microsoft.DeviceRegistry.StorageDestinationConfiguration","com.azure.resourcemanager.deviceregistry.models.StreamDestination":"Microsoft.DeviceRegistry.StreamDestination","com.azure.resourcemanager.deviceregistry.models.StreamDestinationTarget":"Microsoft.DeviceRegistry.StreamDestinationTarget","com.azure.resourcemanager.deviceregistry.models.StreamMqttDestination":"Microsoft.DeviceRegistry.StreamMqttDestination","com.azure.resourcemanager.deviceregistry.models.StreamStorageDestination":"Microsoft.DeviceRegistry.StreamStorageDestination","com.azure.resourcemanager.deviceregistry.models.SupportedKeyType":"Microsoft.DeviceRegistry.SupportedKeyType","com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentity":"Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity","com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentityType":"Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentityType","com.azure.resourcemanager.deviceregistry.models.Topic":"Microsoft.DeviceRegistry.Topic","com.azure.resourcemanager.deviceregistry.models.TopicRetainType":"Microsoft.DeviceRegistry.TopicRetainType","com.azure.resourcemanager.deviceregistry.models.TrustSettings":"Microsoft.DeviceRegistry.TrustSettings","com.azure.resourcemanager.deviceregistry.models.UsernamePasswordCredentials":"Microsoft.DeviceRegistry.UsernamePasswordCredentials","com.azure.resourcemanager.deviceregistry.models.X509CertificateCredentials":"Microsoft.DeviceRegistry.X509CertificateCredentials","com.azure.resourcemanager.deviceregistry.models.X509Credentials":"Microsoft.DeviceRegistry.X509Credentials"},"generatedFiles":["src/main/java/com/azure/resourcemanager/deviceregistry/DeviceRegistryManager.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/AssetEndpointProfilesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/AssetsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/BillingContainersClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/CredentialsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/DeviceRegistryManagementClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceAssetsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDevicesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDiscoveredAssetsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDiscoveredDevicesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespacesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/OperationStatusClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/PoliciesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/SchemaRegistriesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/SchemaVersionsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/SchemasClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetEndpointProfileInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/BillingContainerInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/CredentialInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceAssetInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceDeviceInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceDiscoveredAssetInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceDiscoveredDeviceInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/PolicyInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/SchemaInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/SchemaRegistryInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/SchemaVersionInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetEndpointProfileImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetEndpointProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetEndpointProfilesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/BillingContainerImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/BillingContainersClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/BillingContainersImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/CredentialImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/CredentialsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/CredentialsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceAssetImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceAssetsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceAssetsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDeviceImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredAssetImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredAssetsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredAssetsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredDeviceImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredDevicesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespacesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespacesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationStatusClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationStatusImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PolicyImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaRegistriesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaRegistriesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaRegistryImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaVersionImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaVersionsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemasClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemasImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/AssetEndpointProfileListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/AssetListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/BillingContainerListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/CredentialListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceAssetListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceDeviceListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceDiscoveredAssetListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceDiscoveredDeviceListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/PolicyListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/SchemaListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/SchemaRegistryListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/SchemaVersionListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ActionType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Asset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfile.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileStatusError.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfiles.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatusDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatusError.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatusEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Assets.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Authentication.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BillingContainer.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BillingContainerProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BillingContainers.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BrokerStateStoreDestinationConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateAuthorityConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Credential.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CredentialProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CredentialUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Credentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DataPoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DataPointBase.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DataPointObservabilityMode.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Dataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetBrokerStateStoreDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetDestinationTarget.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetMqttDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetStorageDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceCredentialPolicy.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceMessagingEndpoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceRef.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceStatusEndpoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceStatusEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DiscoveredInboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DiscoveredMessagingEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DiscoveredOutboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ErrorDetails.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Event.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventBase.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventDestinationTarget.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventMqttDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventObservabilityMode.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventStorageDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Format.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/HostAuthentication.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/InboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/LeafCertificateConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ManagementAction.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ManagementActionType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ManagementGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MessageSchemaReference.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Messaging.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MessagingEndpoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MessagingEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MqttDestinationConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MqttDestinationQos.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Namespace.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAsset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusEventGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusManagementAction.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusManagementGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusStream.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssets.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDatasetDataPoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevice.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDeviceProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDeviceUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDeviceUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevices.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAsset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssetProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssetUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssetUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssets.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDatasetDataPoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDevice.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDeviceProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDeviceUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDeviceUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDevices.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredEventGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredManagementAction.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredManagementActionType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredManagementGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredStream.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceEventGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceMessageSchemaReference.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceMigrateRequest.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceStream.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Namespaces.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Operation.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OperationStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Operations.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Origin.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OutboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Policies.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Policy.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Schema.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistries.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistry.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistryProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistryUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistryUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaVersion.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaVersionProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaVersions.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Schemas.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Scope.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StatusConfig.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StatusError.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StorageDestinationConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamDestinationTarget.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamMqttDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamStorageDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SupportedKeyType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SystemAssignedServiceIdentity.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SystemAssignedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Topic.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/TopicRetainType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/TrustSettings.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/UsernamePasswordCredentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/X509CertificateCredentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/X509Credentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
+{"flavor":"azure","apiVersions":{"Microsoft.DeviceRegistry":"2026-03-01-preview"},"crossLanguageDefinitions":{"com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient":"Microsoft.DeviceRegistry.AssetEndpointProfiles","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.beginDelete":"Microsoft.DeviceRegistry.AssetEndpointProfiles.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.beginUpdate":"Microsoft.DeviceRegistry.AssetEndpointProfiles.update","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.createOrReplace":"Microsoft.DeviceRegistry.AssetEndpointProfiles.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.delete":"Microsoft.DeviceRegistry.AssetEndpointProfiles.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.getByResourceGroup":"Microsoft.DeviceRegistry.AssetEndpointProfiles.get","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.AssetEndpointProfiles.get","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.list":"Microsoft.DeviceRegistry.AssetEndpointProfiles.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.listByResourceGroup":"Microsoft.DeviceRegistry.AssetEndpointProfiles.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.AssetEndpointProfilesClient.update":"Microsoft.DeviceRegistry.AssetEndpointProfiles.update","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient":"Microsoft.DeviceRegistry.Assets","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.Assets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.beginDelete":"Microsoft.DeviceRegistry.Assets.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.beginUpdate":"Microsoft.DeviceRegistry.Assets.update","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.createOrReplace":"Microsoft.DeviceRegistry.Assets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.delete":"Microsoft.DeviceRegistry.Assets.delete","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.getByResourceGroup":"Microsoft.DeviceRegistry.Assets.get","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.Assets.get","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.list":"Microsoft.DeviceRegistry.Assets.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.listByResourceGroup":"Microsoft.DeviceRegistry.Assets.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.AssetsClient.update":"Microsoft.DeviceRegistry.Assets.update","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient":"Microsoft.DeviceRegistry.BillingContainers","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient.get":"Microsoft.DeviceRegistry.BillingContainers.get","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient.getWithResponse":"Microsoft.DeviceRegistry.BillingContainers.get","com.azure.resourcemanager.deviceregistry.fluent.BillingContainersClient.list":"Microsoft.DeviceRegistry.BillingContainers.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient":"Microsoft.DeviceRegistry.Credentials","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginCreateOrUpdate":"Microsoft.DeviceRegistry.Credentials.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginDelete":"Microsoft.DeviceRegistry.Credentials.delete","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginSynchronize":"Microsoft.DeviceRegistry.Credentials.synchronize","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.beginUpdate":"Microsoft.DeviceRegistry.Credentials.update","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.createOrUpdate":"Microsoft.DeviceRegistry.Credentials.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.delete":"Microsoft.DeviceRegistry.Credentials.delete","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.get":"Microsoft.DeviceRegistry.Credentials.get","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.getWithResponse":"Microsoft.DeviceRegistry.Credentials.get","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.listByResourceGroup":"Microsoft.DeviceRegistry.Credentials.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.synchronize":"Microsoft.DeviceRegistry.Credentials.synchronize","com.azure.resourcemanager.deviceregistry.fluent.CredentialsClient.update":"Microsoft.DeviceRegistry.Credentials.update","com.azure.resourcemanager.deviceregistry.fluent.DeviceRegistryManagementClient":"Microsoft.DeviceRegistry","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient":"Microsoft.DeviceRegistry.NamespaceAssets","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.delete":"Microsoft.DeviceRegistry.NamespaceAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.get":"Microsoft.DeviceRegistry.NamespaceAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceAssets.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceAssetsClient.update":"Microsoft.DeviceRegistry.NamespaceAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient":"Microsoft.DeviceRegistry.NamespaceDevices","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.beginRevoke":"Microsoft.DeviceRegistry.NamespaceDevices.revoke","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.delete":"Microsoft.DeviceRegistry.NamespaceDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.get":"Microsoft.DeviceRegistry.NamespaceDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceDevices.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.revoke":"Microsoft.DeviceRegistry.NamespaceDevices.revoke","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDevicesClient.update":"Microsoft.DeviceRegistry.NamespaceDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.delete":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.get":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredAssetsClient.update":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssets.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.beginDelete":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.beginUpdate":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.createOrReplace":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.delete":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.get":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.getWithResponse":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.get","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.listByResourceGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespaceDiscoveredDevicesClient.update":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevices.update","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient":"Microsoft.DeviceRegistry.Namespaces","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.Namespaces.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginDelete":"Microsoft.DeviceRegistry.Namespaces.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginMigrate":"Microsoft.DeviceRegistry.Namespaces.migrate","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.beginUpdate":"Microsoft.DeviceRegistry.Namespaces.update","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.createOrReplace":"Microsoft.DeviceRegistry.Namespaces.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.delete":"Microsoft.DeviceRegistry.Namespaces.delete","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.getByResourceGroup":"Microsoft.DeviceRegistry.Namespaces.get","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.Namespaces.get","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.list":"Microsoft.DeviceRegistry.Namespaces.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.listByResourceGroup":"Microsoft.DeviceRegistry.Namespaces.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.migrate":"Microsoft.DeviceRegistry.Namespaces.migrate","com.azure.resourcemanager.deviceregistry.fluent.NamespacesClient.update":"Microsoft.DeviceRegistry.Namespaces.update","com.azure.resourcemanager.deviceregistry.fluent.OperationStatusClient":"Microsoft.DeviceRegistry.OperationStatus","com.azure.resourcemanager.deviceregistry.fluent.OperationStatusClient.get":"Microsoft.DeviceRegistry.OperationStatus.get","com.azure.resourcemanager.deviceregistry.fluent.OperationStatusClient.getWithResponse":"Microsoft.DeviceRegistry.OperationStatus.get","com.azure.resourcemanager.deviceregistry.fluent.OperationsClient":"Microsoft.DeviceRegistry.Operations","com.azure.resourcemanager.deviceregistry.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient":"Microsoft.DeviceRegistry.Policies","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.activateBringYourOwnRoot":"Microsoft.DeviceRegistry.Policies.activateBringYourOwnRoot","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginActivateBringYourOwnRoot":"Microsoft.DeviceRegistry.Policies.activateBringYourOwnRoot","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginCreateOrUpdate":"Microsoft.DeviceRegistry.Policies.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginDelete":"Microsoft.DeviceRegistry.Policies.delete","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginRevokeIssuer":"Microsoft.DeviceRegistry.Policies.revokeIssuer","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.beginUpdate":"Microsoft.DeviceRegistry.Policies.update","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.createOrUpdate":"Microsoft.DeviceRegistry.Policies.createOrUpdate","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.delete":"Microsoft.DeviceRegistry.Policies.delete","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.get":"Microsoft.DeviceRegistry.Policies.get","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.getWithResponse":"Microsoft.DeviceRegistry.Policies.get","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.listByResourceGroup":"Microsoft.DeviceRegistry.Policies.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.revokeIssuer":"Microsoft.DeviceRegistry.Policies.revokeIssuer","com.azure.resourcemanager.deviceregistry.fluent.PoliciesClient.update":"Microsoft.DeviceRegistry.Policies.update","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient":"Microsoft.DeviceRegistry.SchemaRegistries","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.beginCreateOrReplace":"Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.beginDelete":"Microsoft.DeviceRegistry.SchemaRegistries.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.beginUpdate":"Microsoft.DeviceRegistry.SchemaRegistries.update","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.createOrReplace":"Microsoft.DeviceRegistry.SchemaRegistries.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.delete":"Microsoft.DeviceRegistry.SchemaRegistries.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.getByResourceGroup":"Microsoft.DeviceRegistry.SchemaRegistries.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.getByResourceGroupWithResponse":"Microsoft.DeviceRegistry.SchemaRegistries.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.list":"Microsoft.DeviceRegistry.SchemaRegistries.listBySubscription","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.listByResourceGroup":"Microsoft.DeviceRegistry.SchemaRegistries.listByResourceGroup","com.azure.resourcemanager.deviceregistry.fluent.SchemaRegistriesClient.update":"Microsoft.DeviceRegistry.SchemaRegistries.update","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient":"Microsoft.DeviceRegistry.SchemaVersions","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.beginDelete":"Microsoft.DeviceRegistry.SchemaVersions.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.createOrReplace":"Microsoft.DeviceRegistry.SchemaVersions.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.createOrReplaceWithResponse":"Microsoft.DeviceRegistry.SchemaVersions.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.delete":"Microsoft.DeviceRegistry.SchemaVersions.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.get":"Microsoft.DeviceRegistry.SchemaVersions.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.getWithResponse":"Microsoft.DeviceRegistry.SchemaVersions.get","com.azure.resourcemanager.deviceregistry.fluent.SchemaVersionsClient.listBySchema":"Microsoft.DeviceRegistry.SchemaVersions.listBySchema","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient":"Microsoft.DeviceRegistry.Schemas","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.beginDelete":"Microsoft.DeviceRegistry.Schemas.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.createOrReplace":"Microsoft.DeviceRegistry.Schemas.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.createOrReplaceWithResponse":"Microsoft.DeviceRegistry.Schemas.createOrReplace","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.delete":"Microsoft.DeviceRegistry.Schemas.delete","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.get":"Microsoft.DeviceRegistry.Schemas.get","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.getWithResponse":"Microsoft.DeviceRegistry.Schemas.get","com.azure.resourcemanager.deviceregistry.fluent.SchemasClient.listBySchemaRegistry":"Microsoft.DeviceRegistry.Schemas.listBySchemaRegistry","com.azure.resourcemanager.deviceregistry.fluent.models.AssetEndpointProfileInner":"Microsoft.DeviceRegistry.AssetEndpointProfile","com.azure.resourcemanager.deviceregistry.fluent.models.AssetInner":"Microsoft.DeviceRegistry.Asset","com.azure.resourcemanager.deviceregistry.fluent.models.BillingContainerInner":"Microsoft.DeviceRegistry.BillingContainer","com.azure.resourcemanager.deviceregistry.fluent.models.CredentialInner":"Microsoft.DeviceRegistry.Credential","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceAssetInner":"Microsoft.DeviceRegistry.NamespaceAsset","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDeviceInner":"Microsoft.DeviceRegistry.NamespaceDevice","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDiscoveredAssetInner":"Microsoft.DeviceRegistry.NamespaceDiscoveredAsset","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceDiscoveredDeviceInner":"Microsoft.DeviceRegistry.NamespaceDiscoveredDevice","com.azure.resourcemanager.deviceregistry.fluent.models.NamespaceInner":"Microsoft.DeviceRegistry.Namespace","com.azure.resourcemanager.deviceregistry.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.deviceregistry.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.deviceregistry.fluent.models.PolicyInner":"Microsoft.DeviceRegistry.Policy","com.azure.resourcemanager.deviceregistry.fluent.models.SchemaInner":"Microsoft.DeviceRegistry.Schema","com.azure.resourcemanager.deviceregistry.fluent.models.SchemaRegistryInner":"Microsoft.DeviceRegistry.SchemaRegistry","com.azure.resourcemanager.deviceregistry.fluent.models.SchemaVersionInner":"Microsoft.DeviceRegistry.SchemaVersion","com.azure.resourcemanager.deviceregistry.implementation.DeviceRegistryManagementClientBuilder":"Microsoft.DeviceRegistry","com.azure.resourcemanager.deviceregistry.implementation.models.AssetEndpointProfileListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.AssetListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.BillingContainerListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.CredentialListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceAssetListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceDiscoveredAssetListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceDiscoveredDeviceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.NamespaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.deviceregistry.implementation.models.PolicyListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.SchemaListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.SchemaRegistryListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.implementation.models.SchemaVersionListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.deviceregistry.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest":"Microsoft.DeviceRegistry.ActivateBringYourOwnRootRequest","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileProperties":"Microsoft.DeviceRegistry.AssetEndpointProfileProperties","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileStatus":"Microsoft.DeviceRegistry.AssetEndpointProfileStatus","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileStatusError":"Microsoft.DeviceRegistry.AssetEndpointProfileStatusError","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.AssetEndpointProfileUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.AssetProperties":"Microsoft.DeviceRegistry.AssetProperties","com.azure.resourcemanager.deviceregistry.models.AssetStatus":"Microsoft.DeviceRegistry.AssetStatus","com.azure.resourcemanager.deviceregistry.models.AssetStatusDataset":"Microsoft.DeviceRegistry.AssetStatusDataset","com.azure.resourcemanager.deviceregistry.models.AssetStatusError":"Microsoft.DeviceRegistry.AssetStatusError","com.azure.resourcemanager.deviceregistry.models.AssetStatusEvent":"Microsoft.DeviceRegistry.AssetStatusEvent","com.azure.resourcemanager.deviceregistry.models.AssetUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.AssetUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.Authentication":"Microsoft.DeviceRegistry.Authentication","com.azure.resourcemanager.deviceregistry.models.AuthenticationMethod":"Microsoft.DeviceRegistry.AuthenticationMethod","com.azure.resourcemanager.deviceregistry.models.BillingContainerProperties":"Microsoft.DeviceRegistry.BillingContainerProperties","com.azure.resourcemanager.deviceregistry.models.BringYourOwnRoot":"Microsoft.DeviceRegistry.BringYourOwnRoot","com.azure.resourcemanager.deviceregistry.models.BringYourOwnRootStatus":"Microsoft.DeviceRegistry.BringYourOwnRootStatus","com.azure.resourcemanager.deviceregistry.models.BrokerStateStoreDestinationConfiguration":"Microsoft.DeviceRegistry.BrokerStateStoreDestinationConfiguration","com.azure.resourcemanager.deviceregistry.models.CertificateAuthorityConfiguration":"Microsoft.DeviceRegistry.CertificateAuthorityConfiguration","com.azure.resourcemanager.deviceregistry.models.CertificateConfiguration":"Microsoft.DeviceRegistry.CertificateConfiguration","com.azure.resourcemanager.deviceregistry.models.CredentialProperties":"Microsoft.DeviceRegistry.CredentialProperties","com.azure.resourcemanager.deviceregistry.models.CredentialUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.DataPoint":"Microsoft.DeviceRegistry.DataPoint","com.azure.resourcemanager.deviceregistry.models.DataPointBase":"Microsoft.DeviceRegistry.DataPointBase","com.azure.resourcemanager.deviceregistry.models.DataPointObservabilityMode":"Microsoft.DeviceRegistry.DataPointObservabilityMode","com.azure.resourcemanager.deviceregistry.models.Dataset":"Microsoft.DeviceRegistry.Dataset","com.azure.resourcemanager.deviceregistry.models.DatasetBrokerStateStoreDestination":"Microsoft.DeviceRegistry.DatasetBrokerStateStoreDestination","com.azure.resourcemanager.deviceregistry.models.DatasetDestination":"Microsoft.DeviceRegistry.DatasetDestination","com.azure.resourcemanager.deviceregistry.models.DatasetDestinationTarget":"Microsoft.DeviceRegistry.DatasetDestinationTarget","com.azure.resourcemanager.deviceregistry.models.DatasetMqttDestination":"Microsoft.DeviceRegistry.DatasetMqttDestination","com.azure.resourcemanager.deviceregistry.models.DatasetStorageDestination":"Microsoft.DeviceRegistry.DatasetStorageDestination","com.azure.resourcemanager.deviceregistry.models.DeviceCredentialPolicy":"Microsoft.DeviceRegistry.DeviceCredentialPolicy","com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest":"Microsoft.DeviceRegistry.DeviceCredentialsRevokeRequest","com.azure.resourcemanager.deviceregistry.models.DeviceMessagingEndpoint":"Microsoft.DeviceRegistry.DeviceMessagingEndpoint","com.azure.resourcemanager.deviceregistry.models.DeviceRef":"Microsoft.DeviceRegistry.DeviceRef","com.azure.resourcemanager.deviceregistry.models.DeviceStatus":"Microsoft.DeviceRegistry.DeviceStatus","com.azure.resourcemanager.deviceregistry.models.DeviceStatusEndpoint":"Microsoft.DeviceRegistry.DeviceStatusEndpoint","com.azure.resourcemanager.deviceregistry.models.DeviceStatusEndpoints":"Microsoft.DeviceRegistry.DeviceStatusEndpoints","com.azure.resourcemanager.deviceregistry.models.DiscoveredInboundEndpoints":"Microsoft.DeviceRegistry.DiscoveredInboundEndpoints","com.azure.resourcemanager.deviceregistry.models.DiscoveredMessagingEndpoints":"Microsoft.DeviceRegistry.DiscoveredMessagingEndpoints","com.azure.resourcemanager.deviceregistry.models.DiscoveredOutboundEndpoints":"Microsoft.DeviceRegistry.DiscoveredOutboundEndpoints","com.azure.resourcemanager.deviceregistry.models.ErrorDetails":"Microsoft.DeviceRegistry.ErrorDetails","com.azure.resourcemanager.deviceregistry.models.Event":"Microsoft.DeviceRegistry.Event","com.azure.resourcemanager.deviceregistry.models.EventBase":"Microsoft.DeviceRegistry.EventBase","com.azure.resourcemanager.deviceregistry.models.EventDestination":"Microsoft.DeviceRegistry.EventDestination","com.azure.resourcemanager.deviceregistry.models.EventDestinationTarget":"Microsoft.DeviceRegistry.EventDestinationTarget","com.azure.resourcemanager.deviceregistry.models.EventMqttDestination":"Microsoft.DeviceRegistry.EventMqttDestination","com.azure.resourcemanager.deviceregistry.models.EventObservabilityMode":"Microsoft.DeviceRegistry.EventObservabilityMode","com.azure.resourcemanager.deviceregistry.models.EventStorageDestination":"Microsoft.DeviceRegistry.EventStorageDestination","com.azure.resourcemanager.deviceregistry.models.ExtendedLocation":"Microsoft.DeviceRegistry.ExtendedLocation","com.azure.resourcemanager.deviceregistry.models.Format":"Microsoft.DeviceRegistry.Format","com.azure.resourcemanager.deviceregistry.models.HostAuthentication":"Microsoft.DeviceRegistry.HostAuthentication","com.azure.resourcemanager.deviceregistry.models.InboundEndpoints":"Microsoft.DeviceRegistry.InboundEndpoints","com.azure.resourcemanager.deviceregistry.models.LeafCertificateConfiguration":"Microsoft.DeviceRegistry.LeafCertificateConfiguration","com.azure.resourcemanager.deviceregistry.models.ManagementAction":"Microsoft.DeviceRegistry.ManagementAction","com.azure.resourcemanager.deviceregistry.models.ManagementActionType":"Microsoft.DeviceRegistry.ManagementActionType","com.azure.resourcemanager.deviceregistry.models.ManagementGroup":"Microsoft.DeviceRegistry.ManagementGroup","com.azure.resourcemanager.deviceregistry.models.MessageSchemaReference":"Microsoft.DeviceRegistry.MessageSchemaReference","com.azure.resourcemanager.deviceregistry.models.Messaging":"Microsoft.DeviceRegistry.Messaging","com.azure.resourcemanager.deviceregistry.models.MessagingEndpoint":"Microsoft.DeviceRegistry.MessagingEndpoint","com.azure.resourcemanager.deviceregistry.models.MessagingEndpoints":"Microsoft.DeviceRegistry.MessagingEndpoints","com.azure.resourcemanager.deviceregistry.models.MqttDestinationConfiguration":"Microsoft.DeviceRegistry.MqttDestinationConfiguration","com.azure.resourcemanager.deviceregistry.models.MqttDestinationQos":"Microsoft.DeviceRegistry.MqttDestinationQos","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetProperties":"Microsoft.DeviceRegistry.NamespaceAssetProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatus":"Microsoft.DeviceRegistry.NamespaceAssetStatus","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusDataset":"Microsoft.DeviceRegistry.NamespaceAssetStatusDataset","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusEvent":"Microsoft.DeviceRegistry.NamespaceAssetStatusEvent","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusEventGroup":"Microsoft.DeviceRegistry.NamespaceAssetStatusEventGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusManagementAction":"Microsoft.DeviceRegistry.NamespaceAssetStatusManagementAction","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusManagementGroup":"Microsoft.DeviceRegistry.NamespaceAssetStatusManagementGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetStatusStream":"Microsoft.DeviceRegistry.NamespaceAssetStatusStream","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceAssetUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDataset":"Microsoft.DeviceRegistry.NamespaceDataset","com.azure.resourcemanager.deviceregistry.models.NamespaceDatasetDataPoint":"Microsoft.DeviceRegistry.NamespaceDatasetDataPoint","com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceProperties":"Microsoft.DeviceRegistry.NamespaceDeviceProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceDeviceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetProperties":"Microsoft.DeviceRegistry.NamespaceDiscoveredAssetProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDataset":"Microsoft.DeviceRegistry.NamespaceDiscoveredDataset","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDatasetDataPoint":"Microsoft.DeviceRegistry.NamespaceDiscoveredDatasetDataPoint","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceProperties":"Microsoft.DeviceRegistry.NamespaceDiscoveredDeviceProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEvent":"Microsoft.DeviceRegistry.NamespaceDiscoveredEvent","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEventGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredEventGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementAction":"Microsoft.DeviceRegistry.NamespaceDiscoveredManagementAction","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementActionType":"Microsoft.DeviceRegistry.NamespaceDiscoveredManagementActionType","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementGroup":"Microsoft.DeviceRegistry.NamespaceDiscoveredManagementGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredStream":"Microsoft.DeviceRegistry.NamespaceDiscoveredStream","com.azure.resourcemanager.deviceregistry.models.NamespaceEvent":"Microsoft.DeviceRegistry.NamespaceEvent","com.azure.resourcemanager.deviceregistry.models.NamespaceEventGroup":"Microsoft.DeviceRegistry.NamespaceEventGroup","com.azure.resourcemanager.deviceregistry.models.NamespaceMessageSchemaReference":"Microsoft.DeviceRegistry.NamespaceMessageSchemaReference","com.azure.resourcemanager.deviceregistry.models.NamespaceMigrateRequest":"Microsoft.DeviceRegistry.NamespaceMigrateRequest","com.azure.resourcemanager.deviceregistry.models.NamespaceProperties":"Microsoft.DeviceRegistry.NamespaceProperties","com.azure.resourcemanager.deviceregistry.models.NamespaceStream":"Microsoft.DeviceRegistry.NamespaceStream","com.azure.resourcemanager.deviceregistry.models.NamespaceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.NamespaceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.deviceregistry.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.deviceregistry.models.OutboundEndpoints":"Microsoft.DeviceRegistry.OutboundEndpoints","com.azure.resourcemanager.deviceregistry.models.PolicyProperties":"Microsoft.DeviceRegistry.PolicyProperties","com.azure.resourcemanager.deviceregistry.models.PolicyUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.PolicyUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.ProvisioningState":"Microsoft.DeviceRegistry.ProvisioningState","com.azure.resourcemanager.deviceregistry.models.SchemaProperties":"Microsoft.DeviceRegistry.SchemaProperties","com.azure.resourcemanager.deviceregistry.models.SchemaRegistryProperties":"Microsoft.DeviceRegistry.SchemaRegistryProperties","com.azure.resourcemanager.deviceregistry.models.SchemaRegistryUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","com.azure.resourcemanager.deviceregistry.models.SchemaRegistryUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","com.azure.resourcemanager.deviceregistry.models.SchemaType":"Microsoft.DeviceRegistry.SchemaType","com.azure.resourcemanager.deviceregistry.models.SchemaVersionProperties":"Microsoft.DeviceRegistry.SchemaVersionProperties","com.azure.resourcemanager.deviceregistry.models.Scope":"Microsoft.DeviceRegistry.Scope","com.azure.resourcemanager.deviceregistry.models.StatusConfig":"Microsoft.DeviceRegistry.StatusConfig","com.azure.resourcemanager.deviceregistry.models.StatusError":"Microsoft.DeviceRegistry.StatusError","com.azure.resourcemanager.deviceregistry.models.StorageDestinationConfiguration":"Microsoft.DeviceRegistry.StorageDestinationConfiguration","com.azure.resourcemanager.deviceregistry.models.StreamDestination":"Microsoft.DeviceRegistry.StreamDestination","com.azure.resourcemanager.deviceregistry.models.StreamDestinationTarget":"Microsoft.DeviceRegistry.StreamDestinationTarget","com.azure.resourcemanager.deviceregistry.models.StreamMqttDestination":"Microsoft.DeviceRegistry.StreamMqttDestination","com.azure.resourcemanager.deviceregistry.models.StreamStorageDestination":"Microsoft.DeviceRegistry.StreamStorageDestination","com.azure.resourcemanager.deviceregistry.models.SupportedKeyType":"Microsoft.DeviceRegistry.SupportedKeyType","com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentity":"Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity","com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentityType":"Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentityType","com.azure.resourcemanager.deviceregistry.models.Topic":"Microsoft.DeviceRegistry.Topic","com.azure.resourcemanager.deviceregistry.models.TopicRetainType":"Microsoft.DeviceRegistry.TopicRetainType","com.azure.resourcemanager.deviceregistry.models.TrustSettings":"Microsoft.DeviceRegistry.TrustSettings","com.azure.resourcemanager.deviceregistry.models.UsernamePasswordCredentials":"Microsoft.DeviceRegistry.UsernamePasswordCredentials","com.azure.resourcemanager.deviceregistry.models.X509CertificateCredentials":"Microsoft.DeviceRegistry.X509CertificateCredentials","com.azure.resourcemanager.deviceregistry.models.X509Credentials":"Microsoft.DeviceRegistry.X509Credentials"},"generatedFiles":["src/main/java/com/azure/resourcemanager/deviceregistry/DeviceRegistryManager.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/AssetEndpointProfilesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/AssetsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/BillingContainersClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/CredentialsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/DeviceRegistryManagementClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceAssetsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDevicesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDiscoveredAssetsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespaceDiscoveredDevicesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/NamespacesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/OperationStatusClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/PoliciesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/SchemaRegistriesClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/SchemaVersionsClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/SchemasClient.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetEndpointProfileInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/BillingContainerInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/CredentialInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceAssetInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceDeviceInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceDiscoveredAssetInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceDiscoveredDeviceInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/NamespaceInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/PolicyInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/SchemaInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/SchemaRegistryInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/SchemaVersionInner.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/fluent/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetEndpointProfileImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetEndpointProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetEndpointProfilesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/AssetsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/BillingContainerImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/BillingContainersClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/BillingContainersImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/CredentialImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/CredentialsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/CredentialsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/DeviceRegistryManagementClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceAssetImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceAssetsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceAssetsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDeviceImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDevicesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredAssetImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredAssetsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredAssetsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredDeviceImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredDevicesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceDiscoveredDevicesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespaceImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespacesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/NamespacesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationStatusClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationStatusImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PoliciesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/PolicyImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaRegistriesClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaRegistriesImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaRegistryImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaVersionImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemaVersionsImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemasClientImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/SchemasImpl.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/AssetEndpointProfileListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/AssetListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/BillingContainerListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/CredentialListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceAssetListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceDeviceListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceDiscoveredAssetListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceDiscoveredDeviceListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/NamespaceListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/PolicyListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/SchemaListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/SchemaRegistryListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/models/SchemaVersionListResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/implementation/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ActionType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ActivateBringYourOwnRootRequest.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Asset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfile.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileStatusError.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfileUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetEndpointProfiles.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatusDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatusError.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetStatusEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AssetUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Assets.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Authentication.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BillingContainer.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BillingContainerProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BillingContainers.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRoot.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BringYourOwnRootStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/BrokerStateStoreDestinationConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateAuthorityConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CertificateConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Credential.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CredentialProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/CredentialUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Credentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DataPoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DataPointBase.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DataPointObservabilityMode.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Dataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetBrokerStateStoreDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetDestinationTarget.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetMqttDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DatasetStorageDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceCredentialPolicy.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceCredentialsRevokeRequest.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceMessagingEndpoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceRef.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceStatusEndpoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DeviceStatusEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DiscoveredInboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DiscoveredMessagingEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/DiscoveredOutboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ErrorDetails.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Event.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventBase.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventDestinationTarget.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventMqttDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventObservabilityMode.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/EventStorageDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Format.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/HostAuthentication.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/InboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/LeafCertificateConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ManagementAction.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ManagementActionType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ManagementGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MessageSchemaReference.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Messaging.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MessagingEndpoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MessagingEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MqttDestinationConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/MqttDestinationQos.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Namespace.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAsset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusEventGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusManagementAction.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusManagementGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetStatusStream.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssetUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceAssets.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDatasetDataPoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevice.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDeviceProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDeviceUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDeviceUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDevices.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAsset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssetProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssetUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssetUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredAssets.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDataset.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDatasetDataPoint.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDevice.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDeviceProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDeviceUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDeviceUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredDevices.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredEventGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredManagementAction.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredManagementActionType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredManagementGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceDiscoveredStream.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceEvent.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceEventGroup.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceMessageSchemaReference.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceMigrateRequest.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceStream.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/NamespaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Namespaces.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Operation.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OperationStatus.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Operations.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Origin.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/OutboundEndpoints.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Policies.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Policy.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/PolicyUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Schema.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistries.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistry.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistryProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistryUpdate.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaRegistryUpdateProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaVersion.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaVersionProperties.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SchemaVersions.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Schemas.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Scope.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StatusConfig.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StatusError.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StorageDestinationConfiguration.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamDestinationTarget.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamMqttDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/StreamStorageDestination.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SupportedKeyType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SystemAssignedServiceIdentity.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/SystemAssignedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/Topic.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/TopicRetainType.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/TrustSettings.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/UsernamePasswordCredentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/X509CertificateCredentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/X509Credentials.java","src/main/java/com/azure/resourcemanager/deviceregistry/models/package-info.java","src/main/java/com/azure/resourcemanager/deviceregistry/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesCreateOrReplaceSamples.java
index 982fe4c59962..9dbd9896b044 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesCreateOrReplaceSamples.java
@@ -16,7 +16,7 @@
*/
public final class AssetEndpointProfilesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef.json
*/
/**
* Sample code: CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef.
@@ -42,7 +42,7 @@ public static void createOrReplaceAssetEndpointProfileWithDiscoveredAepRef(
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_AssetEndpointProfile.json
*/
/**
* Sample code: CreateOrReplace_AssetEndpointProfile.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesDeleteSamples.java
index e2f6894fa530..0426924b97e1 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetEndpointProfilesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_AssetEndpointProfile.json
*/
/**
* Sample code: Delete_AssetEndpointProfile.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesGetByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesGetByResourceGroupSamples.java
index b89b653d62e2..3401ba5bccb9 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesGetByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetEndpointProfilesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/Get_AssetEndpointProfile.json
*/
/**
* Sample code: Get_AssetEndpointProfile.
@@ -23,7 +23,7 @@ public static void getAssetEndpointProfile(com.azure.resourcemanager.deviceregis
}
/*
- * x-ms-original-file: 2025-11-01-preview/Get_AssetEndpointProfile_With_SyncStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_AssetEndpointProfile_With_SyncStatus.json
*/
/**
* Sample code: Get_AssetEndpointProfile_With_SyncStatus.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListByResourceGroupSamples.java
index 10852f960736..c7983cdd83dd 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetEndpointProfilesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_AssetEndpointProfiles_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_AssetEndpointProfiles_ByResourceGroup.json
*/
/**
* Sample code: List_AssetEndpointProfiles_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListSamples.java
index 16c1727f1595..6eacfc95ea62 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetEndpointProfilesListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_AssetEndpointProfiles_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_AssetEndpointProfiles_BySubscription.json
*/
/**
* Sample code: List_AssetEndpointProfiles_BySubscription.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesUpdateSamples.java
index a05abc6b4a99..d7bb5ff68ff4 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetEndpointProfilesUpdateSamples.java
@@ -12,7 +12,7 @@
*/
public final class AssetEndpointProfilesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_AssetEndpointProfile.json
+ * x-ms-original-file: 2026-03-01-preview/Update_AssetEndpointProfile.json
*/
/**
* Sample code: Update_AssetEndpointProfile.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsCreateOrReplaceSamples.java
index a45c9e691f73..aa6aa93a1d98 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsCreateOrReplaceSamples.java
@@ -22,7 +22,7 @@
*/
public final class AssetsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_Without_DisplayName.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_Without_DisplayName.json
*/
/**
* Sample code: CreateOrReplace_Asset_Without_DisplayName.
@@ -87,7 +87,7 @@ public final class AssetsCreateOrReplaceSamples {
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_With_DiscoveredAssetRef.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_With_DiscoveredAssetRef.json
*/
/**
* Sample code: CreateOrReplace_Asset_With_DiscoveredAssetRefs.
@@ -154,7 +154,7 @@ public static void createOrReplaceAssetWithDiscoveredAssetRefs(
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_Without_ExternalAssetId.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_Without_ExternalAssetId.json
*/
/**
* Sample code: CreateOrReplace_Asset_Without_ExternalAssetId.
@@ -219,7 +219,7 @@ public static void createOrReplaceAssetWithoutExternalAssetId(
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Asset_With_ExternalAssetId.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Asset_With_ExternalAssetId.json
*/
/**
* Sample code: CreateOrReplace_Asset_With_ExternalAssetId.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsDeleteSamples.java
index 2b26db596b98..c092371095e9 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Asset.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Asset.json
*/
/**
* Sample code: Delete_Asset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsGetByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsGetByResourceGroupSamples.java
index deda20c7aba1..63a6d8f45731 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsGetByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Asset_With_SyncStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Asset_With_SyncStatus.json
*/
/**
* Sample code: Get_Asset_With_SyncStatus.
@@ -22,7 +22,7 @@ public static void getAssetWithSyncStatus(com.azure.resourcemanager.deviceregist
}
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Asset.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Asset.json
*/
/**
* Sample code: Get_Asset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListByResourceGroupSamples.java
index 3d4b11ab62e8..3f103f4f2d4b 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Assets_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Assets_ByResourceGroup.json
*/
/**
* Sample code: List_Assets_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListSamples.java
index a3855664754a..65d2b8bc4f50 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class AssetsListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Assets_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_Assets_BySubscription.json
*/
/**
* Sample code: List_Assets_BySubscription.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsUpdateSamples.java
index 015c7ed7872f..c4c9a89c125b 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/AssetsUpdateSamples.java
@@ -12,7 +12,7 @@
*/
public final class AssetsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Asset.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Asset.json
*/
/**
* Sample code: Update_Asset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetSamples.java
index cb26dd6de1b9..3b8ceb54b153 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class BillingContainersGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_BillingContainer.json
+ * x-ms-original-file: 2026-03-01-preview/Get_BillingContainer.json
*/
/**
* Sample code: Get_BillingContainer.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListSamples.java
index 845d34e2fc0a..8f742eac5771 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListSamples.java
@@ -9,7 +9,7 @@
*/
public final class BillingContainersListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_BillingContainers_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_BillingContainers_BySubscription.json
*/
/**
* Sample code: List_BillingContainers_BySubscription.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateSamples.java
index 146e05292902..741dec9f056d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateSamples.java
@@ -14,7 +14,7 @@
*/
public final class CredentialsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Credentials.json
*/
/**
* Sample code: CreateOrReplace_Credentials.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsDeleteSamples.java
index 9cb50f01f6bd..f9bc4430bf74 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class CredentialsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Credentials.json
*/
/**
* Sample code: Delete_Credentials.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetSamples.java
index 3a3967d663f0..12973d016885 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class CredentialsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Credentials.json
*/
/**
* Sample code: Get_Credentials.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupSamples.java
index 128b5a32c1c3..701cbfb4bbf6 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class CredentialsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Credentials_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Credentials_ByResourceGroup.json
*/
/**
* Sample code: List_Credentials_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsSynchronizeSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsSynchronizeSamples.java
index 59d05f3c4c70..f03931ab3374 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsSynchronizeSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsSynchronizeSamples.java
@@ -9,7 +9,7 @@
*/
public final class CredentialsSynchronizeSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Credentials_Synchronize.json
+ * x-ms-original-file: 2026-03-01-preview/Credentials_Synchronize.json
*/
/**
* Sample code: Credentials_Synchronize.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateSamples.java
index 6f268108758c..8fbf3a09ba2f 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class CredentialsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Credentials.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Credentials.json
*/
/**
* Sample code: Update_Credentials.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsCreateOrReplaceSamples.java
index b396d8db8cd0..796fce4319e7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsCreateOrReplaceSamples.java
@@ -8,7 +8,6 @@
import com.azure.resourcemanager.deviceregistry.models.BrokerStateStoreDestinationConfiguration;
import com.azure.resourcemanager.deviceregistry.models.DatasetBrokerStateStoreDestination;
import com.azure.resourcemanager.deviceregistry.models.DeviceRef;
-import com.azure.resourcemanager.deviceregistry.models.EventMqttDestination;
import com.azure.resourcemanager.deviceregistry.models.EventStorageDestination;
import com.azure.resourcemanager.deviceregistry.models.ExtendedLocation;
import com.azure.resourcemanager.deviceregistry.models.ManagementAction;
@@ -19,8 +18,6 @@
import com.azure.resourcemanager.deviceregistry.models.NamespaceAssetProperties;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDataset;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDatasetDataPoint;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceEvent;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceEventGroup;
import com.azure.resourcemanager.deviceregistry.models.NamespaceStream;
import com.azure.resourcemanager.deviceregistry.models.StorageDestinationConfiguration;
import com.azure.resourcemanager.deviceregistry.models.StreamMqttDestination;
@@ -36,7 +33,7 @@
*/
public final class NamespaceAssetsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceAsset.json
*/
/**
* Sample code: CreateOrReplace_NamespaceAsset.
@@ -100,23 +97,6 @@ public final class NamespaceAssetsCreateOrReplaceSamples {
.withDataPointConfiguration(
"{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
.withTypeRef("dataset1DataPoint2TypeRef")))))
- .withEventGroups(Arrays.asList(new NamespaceEventGroup().withName("default")
- .withEvents(Arrays.asList(
- new NamespaceEvent().withName("event1")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt5")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
- .withDestinations(Arrays.asList(new EventMqttDestination()
- .withConfiguration(new MqttDestinationConfiguration().withTopic("/contoso/testEvent1")
- .withRetain(TopicRetainType.KEEP)
- .withQos(MqttDestinationQos.QOS0)
- .withTtl(7200L))))
- .withTypeRef("event1Ref"),
- new NamespaceEvent().withName("event2")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt8")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
- .withDestinations(Arrays.asList(new EventStorageDestination()
- .withConfiguration(new StorageDestinationConfiguration().withPath("/tmp/event2"))))
- .withTypeRef("event2Ref")))))
.withStreams(Arrays.asList(
new NamespaceStream().withName("stream1")
.withStreamConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsDeleteSamples.java
index 334c3303c3cd..b6e4a0c0415b 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceAssetsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceAsset.json
*/
/**
* Sample code: Delete_NamespaceAsset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsGetSamples.java
index c0450f0eb87c..bf6877be0c16 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceAssetsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceAsset.json
*/
/**
* Sample code: Get_NamespaceAsset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsListByResourceGroupSamples.java
index cd126014fb4f..64e72948128b 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceAssetsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceAssets_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceAssets_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceAssets_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsUpdateSamples.java
index ad382a9f988d..1720335a94cb 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceAssetsUpdateSamples.java
@@ -12,7 +12,7 @@
*/
public final class NamespaceAssetsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceAsset.json
*/
/**
* Sample code: Update_NamespaceAssets.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesCreateOrReplaceSamples.java
index b094d1e4b6bc..cd1e5f5d7166 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesCreateOrReplaceSamples.java
@@ -25,7 +25,7 @@
*/
public final class NamespaceDevicesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_x509.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice_Edge_x509.json
*/
/**
* Sample code: Create edge enabled device with x509 inbound authentication.
@@ -41,26 +41,22 @@ public static void createEdgeEnabledDeviceWithX509InboundAuthentication(
.withProperties(
new NamespaceDeviceProperties().withEnabled(true)
.withExternalDeviceId("unique-edge-device-identifier")
- .withEndpoints(
- new MessagingEndpoints().withInbound(mapOf("theV1OPCUAEndpoint",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
- .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
- .withVersion("2")
- .withAuthentication(new HostAuthentication()
- .withMethod(AuthenticationMethod.CERTIFICATE)
+ .withEndpoints(new MessagingEndpoints().withInbound(mapOf("theV1OPCUAEndpoint",
+ new InboundEndpoints().withEndpointType("microsoft.opcua")
+ .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
+ .withVersion("2")
+ .withAuthentication(new HostAuthentication().withMethod(AuthenticationMethod.CERTIFICATE)
+ .withX509Credentials(new X509CertificateCredentials()
+ .withCertificateSecretName("fakeTokenPlaceholder"))),
+ "theV2OPCUAEndpoint",
+ new InboundEndpoints().withEndpointType("microsoft.opcua")
+ .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
+ .withVersion("2")
+ .withAuthentication(
+ new HostAuthentication().withMethod(AuthenticationMethod.CERTIFICATE)
.withX509Credentials(new X509CertificateCredentials()
- .withCertificateSecretName("fakeTokenPlaceholder")
- .withKeySecretName("fakeTokenPlaceholder")
- .withIntermediateCertificatesSecretName("fakeTokenPlaceholder"))),
- "theV2OPCUAEndpoint",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
- .withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
- .withVersion("2")
- .withAuthentication(
- new HostAuthentication().withMethod(AuthenticationMethod.CERTIFICATE)
- .withX509Credentials(new X509CertificateCredentials()
- .withCertificateSecretName("fakeTokenPlaceholder")))
- .withTrustSettings(new TrustSettings().withTrustList("trust-secret-reference")))))
+ .withCertificateSecretName("fakeTokenPlaceholder")))
+ .withTrustSettings(new TrustSettings().withTrustList("trust-secret-reference")))))
.withAttributes(
mapOf("deviceType", BinaryData.fromBytes("OPCUAServers".getBytes(StandardCharsets.UTF_8)),
"deviceOwner", BinaryData.fromBytes("OT".getBytes(StandardCharsets.UTF_8)),
@@ -72,7 +68,7 @@ public static void createEdgeEnabledDeviceWithX509InboundAuthentication(
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_Anonymous.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice_Edge_Anonymous.json
*/
/**
* Sample code: Create edge enabled device with anonymous host authentication.
@@ -88,7 +84,7 @@ public static void createEdgeEnabledDeviceWithAnonymousHostAuthentication(
.withProperties(new NamespaceDeviceProperties().withEnabled(true)
.withExternalDeviceId("unique-edge-device-identifier")
.withEndpoints(new MessagingEndpoints().withInbound(mapOf("theOnlyOPCUABroker",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
+ new InboundEndpoints().withEndpointType("microsoft.opcua:v1")
.withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.withVersion("2")
.withAuthentication(new HostAuthentication().withMethod(AuthenticationMethod.ANONYMOUS)))))
@@ -103,7 +99,7 @@ public static void createEdgeEnabledDeviceWithAnonymousHostAuthentication(
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice_Edge_UsernamePass.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice_Edge_UsernamePass.json
*/
/**
* Sample code: Create edge enabled device with UsernamesPassword inbound authentication.
@@ -119,7 +115,7 @@ public static void createEdgeEnabledDeviceWithUsernamesPasswordInboundAuthentica
.withProperties(new NamespaceDeviceProperties().withEnabled(true)
.withExternalDeviceId("unique-edge-device-identifier")
.withEndpoints(new MessagingEndpoints().withInbound(mapOf("theOnlyOPCUABroker",
- new InboundEndpoints().withEndpointType("microsoft.opcua")
+ new InboundEndpoints().withEndpointType("microsoft.opcua:v1")
.withAddress("opc.tcp://192.168.86.23:51211/UA/SampleServer")
.withVersion("2")
.withAuthentication(new HostAuthentication().withMethod(AuthenticationMethod.USERNAME_PASSWORD)
@@ -136,7 +132,7 @@ public static void createEdgeEnabledDeviceWithUsernamesPasswordInboundAuthentica
}
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDevice.json
*/
/**
* Sample code: CreateOrReplace_NamespaceDevices.
@@ -150,11 +146,10 @@ public static void createEdgeEnabledDeviceWithUsernamesPasswordInboundAuthentica
.withRegion("West Europe")
.withExistingNamespace("myResourceGroup", "adr-namespace-gbk0925-n01")
.withProperties(new NamespaceDeviceProperties().withEnabled(true)
- .withExternalDeviceId("adr-smart-device3-7a848b15-af47-40a7-8c06-a3f43314d44f")
- .withEndpoints(new MessagingEndpoints()
- .withOutbound(new OutboundEndpoints().withAssigned(mapOf("eventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ .withEndpoints(
+ new MessagingEndpoints().withOutbound(new OutboundEndpoints().withAssigned(mapOf("iothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.withAttributes(mapOf("deviceType", BinaryData.fromBytes("sensor".getBytes(StandardCharsets.UTF_8)),
"deviceOwner", BinaryData.fromBytes("IT".getBytes(StandardCharsets.UTF_8)), "deviceCategory",
BinaryData.fromBytes("16".getBytes(StandardCharsets.UTF_8)))))
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesDeleteSamples.java
index 4ca7ebdbca5d..28ee543d96f4 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDevicesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceDevice.json
*/
/**
* Sample code: Delete_NamespaceDevice.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesGetSamples.java
index 7f53cc38f597..16c6078261a8 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDevicesGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDeviceWithEndpointErrorStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDeviceWithEndpointErrorStatus.json
*/
/**
* Sample code: Get NamespaceDevice with Endpoint Error Status.
@@ -23,7 +23,7 @@ public static void getNamespaceDeviceWithEndpointErrorStatus(
}
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDevice.json
*/
/**
* Sample code: Get_NamespaceDevice.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesListByResourceGroupSamples.java
index 7538e145eb32..88799e69f3b3 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDevicesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceDevices_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceDevices_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceDevices_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesRevokeSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesRevokeSamples.java
new file mode 100644
index 000000000000..0a3a6861e1b7
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesRevokeSamples.java
@@ -0,0 +1,41 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.generated;
+
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
+
+/**
+ * Samples for NamespaceDevices Revoke.
+ */
+public final class NamespaceDevicesRevokeSamples {
+ /*
+ * x-ms-original-file: 2026-03-01-preview/NamespaceDevices_Revoke.json
+ */
+ /**
+ * Sample code: NamespaceDevices_Revoke.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void namespaceDevicesRevoke(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.namespaceDevices()
+ .revoke("rgdeviceregistry", "mynamespace", "device1",
+ new DeviceCredentialsRevokeRequest().withDisable(true), com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-03-01-preview/NamespaceDevices_RevokeFailure.json
+ */
+ /**
+ * Sample code: NamespaceDevices_RevokeFailure.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void
+ namespaceDevicesRevokeFailure(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.namespaceDevices()
+ .revoke("rgdeviceregistry", "mynamespace", "device1",
+ new DeviceCredentialsRevokeRequest().withDisable(true), com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesUpdateSamples.java
index 1b983e7277b9..76fe7de59d38 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesUpdateSamples.java
@@ -19,7 +19,7 @@
*/
public final class NamespaceDevicesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceDevice.json
*/
/**
* Sample code: Update_NamespaceDevices.
@@ -33,10 +33,10 @@ public static void updateNamespaceDevices(com.azure.resourcemanager.deviceregist
.getValue();
resource.update()
.withProperties(new NamespaceDeviceUpdateProperties()
- .withEndpoints(new MessagingEndpoints()
- .withOutbound(new OutboundEndpoints().withAssigned(mapOf("eventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ .withEndpoints(
+ new MessagingEndpoints().withOutbound(new OutboundEndpoints().withAssigned(mapOf("iothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.withAttributes(mapOf("deviceType", BinaryData.fromBytes("sensor".getBytes(StandardCharsets.UTF_8)),
"deviceOwner", BinaryData.fromBytes("IT".getBytes(StandardCharsets.UTF_8)), "deviceCategory",
BinaryData.fromBytes("16".getBytes(StandardCharsets.UTF_8))))
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsCreateOrReplaceSamples.java
index d73487540bd6..b43df2529600 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsCreateOrReplaceSamples.java
@@ -8,7 +8,6 @@
import com.azure.resourcemanager.deviceregistry.models.BrokerStateStoreDestinationConfiguration;
import com.azure.resourcemanager.deviceregistry.models.DatasetBrokerStateStoreDestination;
import com.azure.resourcemanager.deviceregistry.models.DeviceRef;
-import com.azure.resourcemanager.deviceregistry.models.EventMqttDestination;
import com.azure.resourcemanager.deviceregistry.models.EventStorageDestination;
import com.azure.resourcemanager.deviceregistry.models.ExtendedLocation;
import com.azure.resourcemanager.deviceregistry.models.MqttDestinationConfiguration;
@@ -16,8 +15,6 @@
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredAssetProperties;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDataset;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDatasetDataPoint;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEvent;
-import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredEventGroup;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementAction;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementActionType;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredManagementGroup;
@@ -37,7 +34,7 @@
*/
public final class NamespaceDiscoveredAssetsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: CreateOrReplace_NamespaceDiscoveredAsset.
@@ -102,25 +99,6 @@ public static void createOrReplaceNamespaceDiscoveredAsset(
.withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z"))
.withTypeRef("dataset1DataPoint2TypeRef")))
.withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z"))))
- .withEventGroups(Arrays.asList(new NamespaceDiscoveredEventGroup().withName("default")
- .withEvents(Arrays.asList(
- new NamespaceDiscoveredEvent().withName("event1")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt3")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":1,\"queueSize\":8}")
- .withDestinations(Arrays.asList(new EventMqttDestination()
- .withConfiguration(new MqttDestinationConfiguration().withTopic("/contoso/testEvent1")
- .withRetain(TopicRetainType.KEEP)
- .withQos(MqttDestinationQos.QOS0)
- .withTtl(7200L))))
- .withTypeRef("event1Ref")
- .withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z")),
- new NamespaceDiscoveredEvent().withName("event2")
- .withDataSource("nsu=http://microsoft.com/Opc/OpcPlc/;s=FastUInt4")
- .withEventConfiguration("{\"publishingInterval\":7,\"samplingInterval\":8,\"queueSize\":4}")
- .withDestinations(Arrays.asList(new EventStorageDestination()
- .withConfiguration(new StorageDestinationConfiguration().withPath("/tmp/event2"))))
- .withTypeRef("event2Ref")
- .withLastUpdatedOn(OffsetDateTime.parse("2024-04-09T14:20:00.52Z"))))))
.withStreams(Arrays.asList(
new NamespaceDiscoveredStream().withName("stream1")
.withStreamConfiguration("{\"publishingInterval\":8,\"samplingInterval\":8,\"queueSize\":4}")
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsDeleteSamples.java
index 476bc1b7121e..a7ddec4f6b89 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDiscoveredAssetsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: Delete_NamespaceDiscoveredAsset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsGetSamples.java
index fc05e46960d7..d879390e1350 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDiscoveredAssetsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: Get_NamespaceDiscoveredAsset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsListByResourceGroupSamples.java
index c8ccfd3b3488..fc570c810d4c 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDiscoveredAssetsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceDiscoveredAssets_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceDiscoveredAssets_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceDiscoveredAssets_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsUpdateSamples.java
index 49004e0b782e..1d3b09b694f4 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredAssetsUpdateSamples.java
@@ -12,7 +12,7 @@
*/
public final class NamespaceDiscoveredAssetsUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceDiscoveredAsset.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceDiscoveredAsset.json
*/
/**
* Sample code: Update_NamespaceDiscoveredAsset.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceSamples.java
index 87191f12c931..dbb435967e96 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceSamples.java
@@ -17,7 +17,7 @@
*/
public final class NamespaceDiscoveredDevicesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: CreateOrReplace_NamespaceDiscoveredDevice.
@@ -36,9 +36,9 @@ public static void createOrReplaceNamespaceDiscoveredDevice(
.withTags(mapOf("site", "building-1"))
.withProperties(new NamespaceDiscoveredDeviceProperties()
.withEndpoints(new DiscoveredMessagingEndpoints()
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("eventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("iothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.withDiscoveryId("discoveryId1")
.withVersion(1L))
.create();
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesDeleteSamples.java
index 48526a08bb8d..e2e79875f94d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDiscoveredDevicesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: Delete_NamespaceDiscoveredDevice.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetSamples.java
index 406ab746d071..b00e8f7e508d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDiscoveredDevicesGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Get_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: Get_NamespaceDiscoveredDevice.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupSamples.java
index 5166a9ecb307..bd3a227c3c81 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespaceDiscoveredDevicesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_NamespaceDiscoveredDevices_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_NamespaceDiscoveredDevices_ByResourceGroup.json
*/
/**
* Sample code: List_NamespaceDiscoveredDevices_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesUpdateSamples.java
index 8b249f8ad1c3..33475ce5a0ce 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesUpdateSamples.java
@@ -17,7 +17,7 @@
*/
public final class NamespaceDiscoveredDevicesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_NamespaceDiscoveredDevice.json
+ * x-ms-original-file: 2026-03-01-preview/Update_NamespaceDiscoveredDevice.json
*/
/**
* Sample code: Update_NamespaceDiscoveredDevice.
@@ -33,9 +33,9 @@ public final class NamespaceDiscoveredDevicesUpdateSamples {
resource.update()
.withProperties(
new NamespaceDiscoveredDeviceUpdateProperties().withEndpoints(new DiscoveredMessagingEndpoints()
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("newEventGridEndpoint",
- new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myneweventgridtopic.westeurope-1.eventgrid.azure.net/api/events"))))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("newIothubEndpoint",
+ new DeviceMessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net"))))))
.apply();
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceSamples.java
index 452b18e76a2d..75f7f2fcabd0 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceSamples.java
@@ -7,8 +7,6 @@
import com.azure.resourcemanager.deviceregistry.models.Messaging;
import com.azure.resourcemanager.deviceregistry.models.MessagingEndpoint;
import com.azure.resourcemanager.deviceregistry.models.NamespaceProperties;
-import com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentity;
-import com.azure.resourcemanager.deviceregistry.models.SystemAssignedServiceIdentityType;
import java.util.HashMap;
import java.util.Map;
@@ -17,7 +15,7 @@
*/
public final class NamespacesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Namespace_With_Endpoints.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Namespace_With_Endpoints.json
*/
/**
* Sample code: CreateOrReplace_Namespace_With_Endpoints.
@@ -31,14 +29,16 @@ public final class NamespacesCreateOrReplaceSamples {
.withRegion("North Europe")
.withExistingResourceGroup("myResourceGroup")
.withProperties(
- new NamespaceProperties().withMessaging(new Messaging().withEndpoints(mapOf("eventGridEndpoint",
- new MessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events"),
- "anotherEventGridEndpoint",
- new MessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic2.westeurope-1.eventgrid.azure.net/api/events")))))
- .withIdentity(
- new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED))
+ new NamespaceProperties()
+ .withMessaging(
+ new Messaging()
+ .withEndpoints(
+ mapOf("iothubEndpoint",
+ new MessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net"),
+ "anotherIothubEndpoint",
+ new MessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps-2.azure-devices.net")))))
.create();
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesDeleteSamples.java
index 12ff549baea3..2c855a39e714 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespacesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Namespace.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Namespace.json
*/
/**
* Sample code: Delete_Namespace.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupSamples.java
index eaba1e0f53c8..48a2a8863700 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespacesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Namespace.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Namespace.json
*/
/**
* Sample code: Get_Namespace.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupSamples.java
index f6f7047c2601..8bee0fb308fb 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespacesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Namespace_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Namespace_ByResourceGroup.json
*/
/**
* Sample code: List_Namespaces_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListSamples.java
index 5115a7ac13d2..d0704699f194 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class NamespacesListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Namespace_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_Namespace_BySubscription.json
*/
/**
* Sample code: List_Namespaces_BySubscription.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateSamples.java
index 0cb22446c9d8..13112bf445de 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateSamples.java
@@ -13,7 +13,7 @@
*/
public final class NamespacesMigrateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Migrate_Assets_Namespace.json
+ * x-ms-original-file: 2026-03-01-preview/Migrate_Assets_Namespace.json
*/
/**
* Sample code: Namespace Migrate.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesUpdateSamples.java
index 7cb75ba8cb5b..3c583ad8054e 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesUpdateSamples.java
@@ -16,7 +16,7 @@
*/
public final class NamespacesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Namespace_Endpoints.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Namespace_Endpoints.json
*/
/**
* Sample code: Update_Namespace_Endpoints.
@@ -31,9 +31,9 @@ public final class NamespacesUpdateSamples {
.getValue();
resource.update()
.withProperties(
- new NamespaceUpdateProperties().withMessaging(new Messaging().withEndpoints(mapOf("eventGridEndpoint",
- new MessagingEndpoint().withEndpointType("Microsoft.Devices/IoTHubs")
- .withAddress("https://myeventgridtopic.westeurope-1.eventgrid.azure.net/api/events")))))
+ new NamespaceUpdateProperties().withMessaging(new Messaging().withEndpoints(mapOf("iothubEndpoint",
+ new MessagingEndpoint().withEndpointType("Microsoft.Devices/IotHubs")
+ .withAddress("https://iothub-for-dps.azure-devices.net")))))
.apply();
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationStatusGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationStatusGetSamples.java
index 860a7e582ae6..9c9965ecde28 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationStatusGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationStatusGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationStatusGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_OperationStatus.json
+ * x-ms-original-file: 2026-03-01-preview/Get_OperationStatus.json
*/
/**
* Sample code: Get_OperationStatus.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListSamples.java
index 3c1ec7a1dc03..c1198d9c15bf 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Operations.json
+ * x-ms-original-file: 2026-03-01-preview/List_Operations.json
*/
/**
* Sample code: List_Operations.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesActivateBringYourOwnRootSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesActivateBringYourOwnRootSamples.java
new file mode 100644
index 000000000000..4d64419a607f
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesActivateBringYourOwnRootSamples.java
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.generated;
+
+import com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest;
+
+/**
+ * Samples for Policies ActivateBringYourOwnRoot.
+ */
+public final class PoliciesActivateBringYourOwnRootSamples {
+ /*
+ * x-ms-original-file: 2026-03-01-preview/Policies_ActivateBringYourOwnRoot.json
+ */
+ /**
+ * Sample code: Policies_ActivateBringYourOwnRoot.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void
+ policiesActivateBringYourOwnRoot(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.policies()
+ .activateBringYourOwnRoot("rgdeviceregistry", "mynamespace", "mypolicy",
+ new ActivateBringYourOwnRootRequest().withCertificateChain(
+ "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKL0UG+mRkmWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMjQwMTAxMDAwMDAwWhcNMjUwMTAxMDAwMDAwWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAw...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKL0UG+mRkmXMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMjQwMTAxMDAwMDAwWhcNMjUwMTAxMDAwMDAwWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAx...\n-----END CERTIFICATE-----"),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesCreateOrUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesCreateOrUpdateSamples.java
index e693f77091cb..5c67c5165aac 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesCreateOrUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesCreateOrUpdateSamples.java
@@ -4,20 +4,19 @@
package com.azure.resourcemanager.deviceregistry.generated;
+import com.azure.resourcemanager.deviceregistry.models.BringYourOwnRoot;
import com.azure.resourcemanager.deviceregistry.models.CertificateAuthorityConfiguration;
import com.azure.resourcemanager.deviceregistry.models.CertificateConfiguration;
import com.azure.resourcemanager.deviceregistry.models.LeafCertificateConfiguration;
import com.azure.resourcemanager.deviceregistry.models.PolicyProperties;
import com.azure.resourcemanager.deviceregistry.models.SupportedKeyType;
-import java.util.HashMap;
-import java.util.Map;
/**
* Samples for Policies CreateOrUpdate.
*/
public final class PoliciesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Policies.json
*/
/**
* Sample code: CreateOrReplace_Policies.
@@ -27,25 +26,12 @@ public final class PoliciesCreateOrUpdateSamples {
public static void createOrReplacePolicies(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
manager.policies()
.define("mypolicy")
- .withRegion("zjqtuvprnxvimzkkxaobgkm")
.withExistingNamespace("rgdeviceregistry", "mynamespace")
- .withTags(mapOf("key1088", "fakeTokenPlaceholder"))
.withProperties(new PolicyProperties().withCertificate(new CertificateConfiguration()
.withCertificateAuthorityConfiguration(
- new CertificateAuthorityConfiguration().withKeyType(SupportedKeyType.ECC))
+ new CertificateAuthorityConfiguration().withKeyType(SupportedKeyType.ECC)
+ .withBringYourOwnRoot(new BringYourOwnRoot().withEnabled(true)))
.withLeafCertificateConfiguration(new LeafCertificateConfiguration().withValidityPeriodInDays(10))))
.create();
}
-
- // 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/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesDeleteSamples.java
index 2460296ce665..1f14796ceccf 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class PoliciesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Policies.json
*/
/**
* Sample code: Delete_Policies.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesGetSamples.java
index 47e489a4882d..0f89f5766983 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class PoliciesGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Policies.json
*/
/**
* Sample code: Get_Policies.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesListByResourceGroupSamples.java
index 3c92591997a2..43ceab131b05 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class PoliciesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Policies_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_Policies_ByResourceGroup.json
*/
/**
* Sample code: List_Policies_ByResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesRevokeIssuerSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesRevokeIssuerSamples.java
new file mode 100644
index 000000000000..c98a1a74d4b4
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesRevokeIssuerSamples.java
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.generated;
+
+/**
+ * Samples for Policies RevokeIssuer.
+ */
+public final class PoliciesRevokeIssuerSamples {
+ /*
+ * x-ms-original-file: 2026-03-01-preview/Policies_RevokeIssuer.json
+ */
+ /**
+ * Sample code: Policies_RevokeIssuer.
+ *
+ * @param manager Entry point to DeviceRegistryManager.
+ */
+ public static void policiesRevokeIssuer(com.azure.resourcemanager.deviceregistry.DeviceRegistryManager manager) {
+ manager.policies()
+ .revokeIssuer("rgdeviceregistry", "mynamespace", "mypolicy", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesUpdateSamples.java
index 7d04ff6fc0f9..2673feb6ee5a 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/PoliciesUpdateSamples.java
@@ -9,15 +9,13 @@
import com.azure.resourcemanager.deviceregistry.models.LeafCertificateConfiguration;
import com.azure.resourcemanager.deviceregistry.models.Policy;
import com.azure.resourcemanager.deviceregistry.models.PolicyUpdateProperties;
-import java.util.HashMap;
-import java.util.Map;
/**
* Samples for Policies Update.
*/
public final class PoliciesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_Policies.json
+ * x-ms-original-file: 2026-03-01-preview/Update_Policies.json
*/
/**
* Sample code: Update_Policies.
@@ -29,22 +27,9 @@ public static void updatePolicies(com.azure.resourcemanager.deviceregistry.Devic
.getWithResponse("rgdeviceregistry", "mynamespace", "mypolicy", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key5535", "fakeTokenPlaceholder"))
.withProperties(new PolicyUpdateProperties().withCertificate(new CertificateConfiguration()
.withCertificateAuthorityConfiguration(new CertificateAuthorityConfiguration())
.withLeafCertificateConfiguration(new LeafCertificateConfiguration().withValidityPeriodInDays(10))))
.apply();
}
-
- // 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/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceSamples.java
index c459eb581dce..6a66c3ca96ed 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceSamples.java
@@ -13,7 +13,7 @@
*/
public final class SchemaRegistriesCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_SchemaRegistry.json
*/
/**
* Sample code: CreateOrReplace_SchemaRegistry.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesDeleteSamples.java
index 6f86c3674bc2..cbb71fe1f258 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemaRegistriesDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_SchemaRegistry.json
*/
/**
* Sample code: Delete_SchemaRegistry.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupSamples.java
index 5b761034c18a..c00e55ee105c 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemaRegistriesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/Get_SchemaRegistry.json
*/
/**
* Sample code: Get_SchemaRegistry.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupSamples.java
index 998eae9c0371..2c0e331d953d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemaRegistriesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_SchemaRegistries_ByResourceGroup.json
+ * x-ms-original-file: 2026-03-01-preview/List_SchemaRegistries_ByResourceGroup.json
*/
/**
* Sample code: List_SchemaRegistries_ResourceGroup.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListSamples.java
index ff263f53fafa..49983dfa41e7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemaRegistriesListSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_SchemaRegistries_BySubscription.json
+ * x-ms-original-file: 2026-03-01-preview/List_SchemaRegistries_BySubscription.json
*/
/**
* Sample code: List_SchemaRegistries_Subscription.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesUpdateSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesUpdateSamples.java
index 3741ef9e1fc4..de9a50a22394 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesUpdateSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesUpdateSamples.java
@@ -14,7 +14,7 @@
*/
public final class SchemaRegistriesUpdateSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Update_SchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/Update_SchemaRegistry.json
*/
/**
* Sample code: Update_SchemaRegistry.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceSamples.java
index a059f824d016..3e43092459e8 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceSamples.java
@@ -11,7 +11,7 @@
*/
public final class SchemaVersionsCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_SchemaVersion.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_SchemaVersion.json
*/
/**
* Sample code: CreateOrReplace_SchemaVersion.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsDeleteSamples.java
index df0cf7187def..4601bfff4d1a 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemaVersionsDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_SchemaVersion.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_SchemaVersion.json
*/
/**
* Sample code: Delete_SchemaVersion.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetSamples.java
index bbd59850df95..3ecaeed8e830 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemaVersionsGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_SchemaVersion.json
+ * x-ms-original-file: 2026-03-01-preview/Get_SchemaVersion.json
*/
/**
* Sample code: Get_SchemaVersion.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaSamples.java
index bd42d61e3160..6884d37d36bc 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemaVersionsListBySchemaSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_SchemaVersions_BySchema.json
+ * x-ms-original-file: 2026-03-01-preview/List_SchemaVersions_BySchema.json
*/
/**
* Sample code: List_SchemaVersions_Schema.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceSamples.java
index d35550a52da9..1c20d3db4ae9 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceSamples.java
@@ -15,7 +15,7 @@
*/
public final class SchemasCreateOrReplaceSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/CreateOrReplace_Schema.json
+ * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Schema.json
*/
/**
* Sample code: CreateOrReplace_Schema.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasDeleteSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasDeleteSamples.java
index 24d50f4c1de4..a77185422a6b 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasDeleteSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemasDeleteSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Delete_Schema.json
+ * x-ms-original-file: 2026-03-01-preview/Delete_Schema.json
*/
/**
* Sample code: Delete_Schema.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetSamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetSamples.java
index 877174b08e3d..a3fe0cbfd0b9 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetSamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemasGetSamples {
/*
- * x-ms-original-file: 2025-11-01-preview/Get_Schema.json
+ * x-ms-original-file: 2026-03-01-preview/Get_Schema.json
*/
/**
* Sample code: Schemas_Get.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistrySamples.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistrySamples.java
index f99ab13d244b..f51d4c6112e7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistrySamples.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/samples/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistrySamples.java
@@ -9,7 +9,7 @@
*/
public final class SchemasListBySchemaRegistrySamples {
/*
- * x-ms-original-file: 2025-11-01-preview/List_Schemas_BySchemaRegistry.json
+ * x-ms-original-file: 2026-03-01-preview/List_Schemas_BySchemaRegistry.json
*/
/**
* Sample code: List_Schemas_SchemaRegistry.
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ActivateBringYourOwnRootRequestTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ActivateBringYourOwnRootRequestTests.java
new file mode 100644
index 000000000000..0d6030cd31fc
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ActivateBringYourOwnRootRequestTests.java
@@ -0,0 +1,26 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.deviceregistry.models.ActivateBringYourOwnRootRequest;
+import org.junit.jupiter.api.Assertions;
+
+public final class ActivateBringYourOwnRootRequestTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ ActivateBringYourOwnRootRequest model = BinaryData.fromString("{\"certificateChain\":\"yrxvwfudwpznt\"}")
+ .toObject(ActivateBringYourOwnRootRequest.class);
+ Assertions.assertEquals("yrxvwfudwpznt", model.certificateChain());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ ActivateBringYourOwnRootRequest model
+ = new ActivateBringYourOwnRootRequest().withCertificateChain("yrxvwfudwpznt");
+ model = BinaryData.fromObject(model).toObject(ActivateBringYourOwnRootRequest.class);
+ Assertions.assertEquals("yrxvwfudwpznt", model.certificateChain());
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetWithResponseMockTests.java
index 389d2602611d..1105ef297c09 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class BillingContainersGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Succeeded\"},\"etag\":\"sxwaabzm\",\"id\":\"rygznmmaxriz\",\"name\":\"zob\",\"type\":\"opxlhslnelxieixy\"}";
+ = "{\"properties\":{\"provisioningState\":\"Deleting\"},\"etag\":\"qnzrd\",\"id\":\"ovw\",\"name\":\"zn\",\"type\":\"tgoe\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -29,8 +29,9 @@ public void testGetWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- BillingContainer response
- = manager.billingContainers().getWithResponse("igjkskyrio", com.azure.core.util.Context.NONE).getValue();
+ BillingContainer response = manager.billingContainers()
+ .getWithResponse("ikzhajqglcfhmlrq", com.azure.core.util.Context.NONE)
+ .getValue();
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListMockTests.java
index 573fd48f9fbe..af0b5f438fcf 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BillingContainersListMockTests.java
@@ -21,7 +21,7 @@ public final class BillingContainersListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\"},\"etag\":\"cwcrojphs\",\"id\":\"cawjutifdwfmvi\",\"name\":\"orq\",\"type\":\"bttzhraglkafhonq\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\"},\"etag\":\"bp\",\"id\":\"vf\",\"name\":\"lkvn\",\"type\":\"jlrigjkskyrioovz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BringYourOwnRootTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BringYourOwnRootTests.java
new file mode 100644
index 000000000000..ba98becec9ec
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/BringYourOwnRootTests.java
@@ -0,0 +1,26 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.deviceregistry.models.BringYourOwnRoot;
+import org.junit.jupiter.api.Assertions;
+
+public final class BringYourOwnRootTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ BringYourOwnRoot model = BinaryData.fromString(
+ "{\"enabled\":true,\"certificateSigningRequest\":\"fqkquj\",\"issuingCertificateThumbprint\":\"suyonobglaocq\",\"status\":\"Active\"}")
+ .toObject(BringYourOwnRoot.class);
+ Assertions.assertTrue(model.enabled());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ BringYourOwnRoot model = new BringYourOwnRoot().withEnabled(true);
+ model = BinaryData.fromObject(model).toObject(BringYourOwnRoot.class);
+ Assertions.assertTrue(model.enabled());
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialInnerTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialInnerTests.java
index 53336fd9245c..fa90c0ede4a4 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialInnerTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialInnerTests.java
@@ -15,20 +15,20 @@ public final class CredentialInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CredentialInner model = BinaryData.fromString(
- "{\"properties\":{\"provisioningState\":\"Canceled\"},\"location\":\"rcvpnazzmhjrunmp\",\"tags\":{\"skpbhenbtkcxywn\":\"dbhrbnlankxm\",\"qidybyx\":\"tnrsyn\",\"aaxdbabphlwrq\":\"zfcl\"},\"id\":\"fkts\",\"name\":\"hsucoc\",\"type\":\"nyyazttbtwwrqpue\"}")
+ "{\"properties\":{\"provisioningState\":\"Deleting\"},\"location\":\"krbm\",\"tags\":{\"wflzlfbxzpuzy\":\"gr\",\"y\":\"ispnqzahmgkbrp\",\"rgvtqag\":\"hibnuqqkpika\"},\"id\":\"buynhijggm\",\"name\":\"bfs\",\"type\":\"arbu\"}")
.toObject(CredentialInner.class);
- Assertions.assertEquals("rcvpnazzmhjrunmp", model.location());
- Assertions.assertEquals("dbhrbnlankxm", model.tags().get("skpbhenbtkcxywn"));
+ Assertions.assertEquals("krbm", model.location());
+ Assertions.assertEquals("gr", model.tags().get("wflzlfbxzpuzy"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CredentialInner model = new CredentialInner().withLocation("rcvpnazzmhjrunmp")
- .withTags(mapOf("skpbhenbtkcxywn", "dbhrbnlankxm", "qidybyx", "tnrsyn", "aaxdbabphlwrq", "zfcl"))
+ CredentialInner model = new CredentialInner().withLocation("krbm")
+ .withTags(mapOf("wflzlfbxzpuzy", "gr", "y", "ispnqzahmgkbrp", "rgvtqag", "hibnuqqkpika"))
.withProperties(new CredentialProperties());
model = BinaryData.fromObject(model).toObject(CredentialInner.class);
- Assertions.assertEquals("rcvpnazzmhjrunmp", model.location());
- Assertions.assertEquals("dbhrbnlankxm", model.tags().get("skpbhenbtkcxywn"));
+ Assertions.assertEquals("krbm", model.location());
+ Assertions.assertEquals("gr", model.tags().get("wflzlfbxzpuzy"));
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialListResultTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialListResultTests.java
index 6af634e1e640..f3961f32d60d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialListResultTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialListResultTests.java
@@ -12,10 +12,10 @@ public final class CredentialListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CredentialListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"provisioningState\":\"Accepted\"},\"location\":\"zabglcuhxwt\",\"tags\":{\"bbovplwzbhvgyugu\":\"qik\",\"fpl\":\"svmkfssxquk\",\"xnkjzkdesl\":\"mg\",\"kdwzbaiuebbaumny\":\"vlopwiyighx\"},\"id\":\"upedeojnabckhs\",\"name\":\"txp\",\"type\":\"ie\"},{\"properties\":{\"provisioningState\":\"Deleting\"},\"location\":\"pesapskrdqmhjj\",\"tags\":{\"ws\":\"ldwkyzxuutkn\",\"vnm\":\"wsvlxotogtwrupqs\",\"eil\":\"cykvceo\"},\"id\":\"vnotyfjfcnj\",\"name\":\"k\",\"type\":\"nxdhbt\"}],\"nextLink\":\"phywpnvj\"}")
+ "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\"},\"location\":\"tnrsyn\",\"tags\":{\"dbabp\":\"dybyxczfclhaa\",\"fkts\":\"lwrq\",\"nyyazttbtwwrqpue\":\"hsucoc\"},\"id\":\"ckzywbiexzfeyue\",\"name\":\"xibxujwbhqwalm\",\"type\":\"zyoxaepdkzjan\"},{\"properties\":{\"provisioningState\":\"Failed\"},\"location\":\"d\",\"tags\":{\"bniwdj\":\"v\",\"s\":\"wz\",\"xytxhpzxbz\":\"bpg\",\"lcuhxwtctyqiklb\":\"fzab\"},\"id\":\"ovplw\",\"name\":\"bhvgy\",\"type\":\"gu\"},{\"properties\":{\"provisioningState\":\"Deleting\"},\"location\":\"fssxqukkfplg\",\"tags\":{\"vlopwiyighx\":\"xnkjzkdesl\",\"upedeojnabckhs\":\"kdwzbaiuebbaumny\",\"ie\":\"txp\",\"jdhtldwkyzxu\":\"tfhvpesapskrdqmh\"},\"id\":\"tkncwsc\",\"name\":\"svlxotogtwrup\",\"type\":\"sx\"},{\"properties\":{\"provisioningState\":\"Succeeded\"},\"location\":\"ykvceoveil\",\"tags\":{\"jfcn\":\"oty\",\"x\":\"bkc\",\"nv\":\"hbttkphyw\",\"qnermclfplphoxu\":\"t\"},\"id\":\"crpab\",\"name\":\"ye\",\"type\":\"sbj\"}],\"nextLink\":\"zq\"}")
.toObject(CredentialListResult.class);
- Assertions.assertEquals("zabglcuhxwt", model.value().get(0).location());
- Assertions.assertEquals("qik", model.value().get(0).tags().get("bbovplwzbhvgyugu"));
- Assertions.assertEquals("phywpnvj", model.nextLink());
+ Assertions.assertEquals("tnrsyn", model.value().get(0).location());
+ Assertions.assertEquals("dybyxczfclhaa", model.value().get(0).tags().get("dbabp"));
+ Assertions.assertEquals("zq", model.nextLink());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialPropertiesTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialPropertiesTests.java
index 7f587c6c4c04..89063ac09c67 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialPropertiesTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialPropertiesTests.java
@@ -11,7 +11,7 @@ public final class CredentialPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CredentialProperties model
- = BinaryData.fromString("{\"provisioningState\":\"Failed\"}").toObject(CredentialProperties.class);
+ = BinaryData.fromString("{\"provisioningState\":\"Canceled\"}").toObject(CredentialProperties.class);
}
@org.junit.jupiter.api.Test
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialUpdateTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialUpdateTests.java
index 25f13b61ef94..552927a6b636 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialUpdateTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialUpdateTests.java
@@ -13,18 +13,18 @@
public final class CredentialUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- CredentialUpdate model = BinaryData.fromString(
- "{\"tags\":{\"eaxib\":\"wbiexzfey\",\"qwalmuzyoxaepd\":\"ujwb\",\"d\":\"zjancuxr\",\"dbpgnxytxhp\":\"bavxbniwdjswzt\"}}")
- .toObject(CredentialUpdate.class);
- Assertions.assertEquals("wbiexzfey", model.tags().get("eaxib"));
+ CredentialUpdate model
+ = BinaryData.fromString("{\"tags\":{\"zmhjrunmp\":\"na\",\"nkxmyskpbhenbtk\":\"ttdbhrbnl\"}}")
+ .toObject(CredentialUpdate.class);
+ Assertions.assertEquals("na", model.tags().get("zmhjrunmp"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CredentialUpdate model = new CredentialUpdate().withTags(
- mapOf("eaxib", "wbiexzfey", "qwalmuzyoxaepd", "ujwb", "d", "zjancuxr", "dbpgnxytxhp", "bavxbniwdjswzt"));
+ CredentialUpdate model
+ = new CredentialUpdate().withTags(mapOf("zmhjrunmp", "na", "nkxmyskpbhenbtk", "ttdbhrbnl"));
model = BinaryData.fromObject(model).toObject(CredentialUpdate.class);
- Assertions.assertEquals("wbiexzfey", model.tags().get("eaxib"));
+ Assertions.assertEquals("na", model.tags().get("zmhjrunmp"));
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateMockTests.java
index 501266c6da39..0c2e260d49d5 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsCreateOrUpdateMockTests.java
@@ -25,7 +25,7 @@ public final class CredentialsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Succeeded\"},\"location\":\"ng\",\"tags\":{\"qwm\":\"nykzcugswvxwlm\",\"jmxmcuqud\":\"tx\"},\"id\":\"cvclxynpdk\",\"name\":\"gfabuiyjibuzphdu\",\"type\":\"neiknpg\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\"},\"location\":\"gpicr\",\"tags\":{\"mqgjsxvpq\":\"hr\",\"bakclacjfrnxous\":\"bfrmbodthsqqgvri\",\"lwvsgm\":\"au\",\"xmmkjs\":\"ohqfzizv\"},\"id\":\"thnwpzte\",\"name\":\"ovmribiattg\",\"type\":\"lu\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,15 +35,14 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Credential response = manager.credentials()
- .createOrUpdate("xqpswok", "vkhlggdhbemz",
- new CredentialInner().withLocation("uwiwtglxxhljfpg")
- .withTags(mapOf("mqgjsxvpq", "rmnzhr", "bakclacjfrnxous", "bfrmbodthsqqgvri", "lwvsgm", "au",
- "xmmkjs", "ohqfzizv"))
+ .createOrUpdate("hpzvuqdflvoniyp", "pubcpzgpxtivhjk",
+ new CredentialInner().withLocation("gqjxgpnrhgovfgp")
+ .withTags(mapOf("wjrmzvuporqzd", "mhha", "vxcnqmxqps", "uydzvk"))
.withProperties(new CredentialProperties()),
com.azure.core.util.Context.NONE);
- Assertions.assertEquals("ng", response.location());
- Assertions.assertEquals("nykzcugswvxwlm", response.tags().get("qwm"));
+ Assertions.assertEquals("gpicr", response.location());
+ Assertions.assertEquals("hr", response.tags().get("mqgjsxvpq"));
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetWithResponseMockTests.java
index 59a0fc990f13..05b22c1025d5 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class CredentialsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Failed\"},\"location\":\"fpubcpzgpxti\",\"tags\":{\"qjxgpnrhgovfgp\":\"knidib\"},\"id\":\"kqmhhaowjr\",\"name\":\"zvuporqzdfuydz\",\"type\":\"kfvxcnq\"}";
+ = "{\"properties\":{\"provisioningState\":\"Canceled\"},\"location\":\"ajquhuxylrjvmtyg\",\"tags\":{\"spshckfkyjp\":\"zyos\",\"pssdfppyogtie\":\"sp\",\"zkc\":\"ujtv\"},\"id\":\"yxrxmunj\",\"name\":\"xvglnkvxlxp\",\"type\":\"glqivbgkcv\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,10 +30,11 @@ public void testGetWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- Credential response
- = manager.credentials().getWithResponse("bgkc", "khpzvuqdflv", com.azure.core.util.Context.NONE).getValue();
+ Credential response = manager.credentials()
+ .getWithResponse("amowaziynknlqwzd", "piwhxqs", com.azure.core.util.Context.NONE)
+ .getValue();
- Assertions.assertEquals("fpubcpzgpxti", response.location());
- Assertions.assertEquals("knidib", response.tags().get("qjxgpnrhgovfgp"));
+ Assertions.assertEquals("ajquhuxylrjvmtyg", response.location());
+ Assertions.assertEquals("zyos", response.tags().get("spshckfkyjp"));
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupMockTests.java
index caa5464223d9..69a631b175f0 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsListByResourceGroupMockTests.java
@@ -22,7 +22,7 @@ public final class CredentialsListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\"},\"location\":\"w\",\"tags\":{\"rngbtcjuahokqtob\":\"dfgkmtdh\",\"pnulaiywzej\":\"auxofshfph\",\"llndnpd\":\"whslwkoj\",\"fugsnnfhyetefy\":\"rpqaf\"},\"id\":\"oc\",\"name\":\"ctfjgtixr\",\"type\":\"vzuyturmlmu\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\"},\"location\":\"hnmnahmnx\",\"tags\":{\"ooxf\":\"jqirwrw\",\"hx\":\"i\",\"hsycxhxzgaz\":\"rsnewmozqvbubqma\"},\"id\":\"taboidvmf\",\"name\":\"hppubowsepdfgkmt\",\"type\":\"herngb\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,9 +32,9 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.credentials()
- .listByResourceGroup("qmamhsycxhxzga", "ttaboidvmfqh", com.azure.core.util.Context.NONE);
+ .listByResourceGroup("kkholvdndvia", "ogphuartvtiu", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("w", response.iterator().next().location());
- Assertions.assertEquals("dfgkmtdh", response.iterator().next().tags().get("rngbtcjuahokqtob"));
+ Assertions.assertEquals("hnmnahmnx", response.iterator().next().location());
+ Assertions.assertEquals("jqirwrw", response.iterator().next().tags().get("ooxf"));
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateMockTests.java
index b65994bfb46f..f2fd3e9b8f93 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/CredentialsUpdateMockTests.java
@@ -24,7 +24,7 @@ public final class CredentialsUpdateMockTests {
@Test
public void testUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Succeeded\"},\"location\":\"fcbahhp\",\"tags\":{\"kkholvdndvia\":\"foiyjwpfilk\",\"yefchnm\":\"ogphuartvtiu\"},\"id\":\"ahmnxhkxjqirw\",\"name\":\"weooxffifhxwrs\",\"type\":\"ewmozqvbu\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\"},\"location\":\"vgfab\",\"tags\":{\"eiknpgo\":\"jibuzphdug\",\"ipq\":\"gjiuqhibto\",\"tvqylkmqpzoyhlfb\":\"jedmurrxxgewp\",\"xoe\":\"gwgcl\"},\"id\":\"qinjipnwjf\",\"name\":\"jqlafcbahhpzp\",\"type\":\"foiyjwpfilk\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,12 +34,11 @@ public void testUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Credential response = manager.credentials()
- .update("xgjiuqh", "btozipqwje",
- new CredentialUpdate().withTags(mapOf("lkm", "rrxxgewpktvq", "gcl", "pzoyhlfbcg", "qinjipnwjf", "xoe")),
+ .update("fotang", "fhnykzcugs", new CredentialUpdate().withTags(mapOf("qudtcvclx", "wlmzqwmvtxnjmxmc")),
com.azure.core.util.Context.NONE);
- Assertions.assertEquals("fcbahhp", response.location());
- Assertions.assertEquals("foiyjwpfilk", response.tags().get("kkholvdndvia"));
+ Assertions.assertEquals("vgfab", response.location());
+ Assertions.assertEquals("jibuzphdug", response.tags().get("eiknpgo"));
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetMqttDestinationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetMqttDestinationTests.java
index f0f518ffb0c8..c4be48580c43 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetMqttDestinationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetMqttDestinationTests.java
@@ -15,25 +15,25 @@ public final class DatasetMqttDestinationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatasetMqttDestination model = BinaryData.fromString(
- "{\"target\":\"Mqtt\",\"configuration\":{\"topic\":\"obbc\",\"retain\":\"Keep\",\"qos\":\"Qos0\",\"ttl\":4282365131498375699}}")
+ "{\"target\":\"Mqtt\",\"configuration\":{\"topic\":\"l\",\"retain\":\"Never\",\"qos\":\"Qos1\",\"ttl\":3335905424967181903}}")
.toObject(DatasetMqttDestination.class);
- Assertions.assertEquals("obbc", model.configuration().topic());
- Assertions.assertEquals(TopicRetainType.KEEP, model.configuration().retain());
- Assertions.assertEquals(MqttDestinationQos.QOS0, model.configuration().qos());
- Assertions.assertEquals(4282365131498375699L, model.configuration().ttl());
+ Assertions.assertEquals("l", model.configuration().topic());
+ Assertions.assertEquals(TopicRetainType.NEVER, model.configuration().retain());
+ Assertions.assertEquals(MqttDestinationQos.QOS1, model.configuration().qos());
+ Assertions.assertEquals(3335905424967181903L, model.configuration().ttl());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DatasetMqttDestination model
- = new DatasetMqttDestination().withConfiguration(new MqttDestinationConfiguration().withTopic("obbc")
- .withRetain(TopicRetainType.KEEP)
- .withQos(MqttDestinationQos.QOS0)
- .withTtl(4282365131498375699L));
+ = new DatasetMqttDestination().withConfiguration(new MqttDestinationConfiguration().withTopic("l")
+ .withRetain(TopicRetainType.NEVER)
+ .withQos(MqttDestinationQos.QOS1)
+ .withTtl(3335905424967181903L));
model = BinaryData.fromObject(model).toObject(DatasetMqttDestination.class);
- Assertions.assertEquals("obbc", model.configuration().topic());
- Assertions.assertEquals(TopicRetainType.KEEP, model.configuration().retain());
- Assertions.assertEquals(MqttDestinationQos.QOS0, model.configuration().qos());
- Assertions.assertEquals(4282365131498375699L, model.configuration().ttl());
+ Assertions.assertEquals("l", model.configuration().topic());
+ Assertions.assertEquals(TopicRetainType.NEVER, model.configuration().retain());
+ Assertions.assertEquals(MqttDestinationQos.QOS1, model.configuration().qos());
+ Assertions.assertEquals(3335905424967181903L, model.configuration().ttl());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetStorageDestinationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetStorageDestinationTests.java
index 4f422963394e..504427fa208c 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetStorageDestinationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DatasetStorageDestinationTests.java
@@ -13,16 +13,16 @@ public final class DatasetStorageDestinationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatasetStorageDestination model
- = BinaryData.fromString("{\"target\":\"Storage\",\"configuration\":{\"path\":\"mxiebw\"}}")
+ = BinaryData.fromString("{\"target\":\"Storage\",\"configuration\":{\"path\":\"wsrtjriplrbpbe\"}}")
.toObject(DatasetStorageDestination.class);
- Assertions.assertEquals("mxiebw", model.configuration().path());
+ Assertions.assertEquals("wsrtjriplrbpbe", model.configuration().path());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DatasetStorageDestination model = new DatasetStorageDestination()
- .withConfiguration(new StorageDestinationConfiguration().withPath("mxiebw"));
+ .withConfiguration(new StorageDestinationConfiguration().withPath("wsrtjriplrbpbe"));
model = BinaryData.fromObject(model).toObject(DatasetStorageDestination.class);
- Assertions.assertEquals("mxiebw", model.configuration().path());
+ Assertions.assertEquals("wsrtjriplrbpbe", model.configuration().path());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceCredentialPolicyTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceCredentialPolicyTests.java
index 02eca4ceffdc..d5e8bf686854 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceCredentialPolicyTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceCredentialPolicyTests.java
@@ -12,14 +12,14 @@ public final class DeviceCredentialPolicyTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DeviceCredentialPolicy model
- = BinaryData.fromString("{\"resourceId\":\"rtuzqogs\"}").toObject(DeviceCredentialPolicy.class);
- Assertions.assertEquals("rtuzqogs", model.resourceId());
+ = BinaryData.fromString("{\"resourceId\":\"fjhdg\"}").toObject(DeviceCredentialPolicy.class);
+ Assertions.assertEquals("fjhdg", model.resourceId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DeviceCredentialPolicy model = new DeviceCredentialPolicy().withResourceId("rtuzqogs");
+ DeviceCredentialPolicy model = new DeviceCredentialPolicy().withResourceId("fjhdg");
model = BinaryData.fromObject(model).toObject(DeviceCredentialPolicy.class);
- Assertions.assertEquals("rtuzqogs", model.resourceId());
+ Assertions.assertEquals("fjhdg", model.resourceId());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceCredentialsRevokeRequestTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceCredentialsRevokeRequestTests.java
new file mode 100644
index 000000000000..9c12d586d231
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceCredentialsRevokeRequestTests.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
+import org.junit.jupiter.api.Assertions;
+
+public final class DeviceCredentialsRevokeRequestTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ DeviceCredentialsRevokeRequest model
+ = BinaryData.fromString("{\"disable\":true}").toObject(DeviceCredentialsRevokeRequest.class);
+ Assertions.assertTrue(model.disable());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ DeviceCredentialsRevokeRequest model = new DeviceCredentialsRevokeRequest().withDisable(true);
+ model = BinaryData.fromObject(model).toObject(DeviceCredentialsRevokeRequest.class);
+ Assertions.assertTrue(model.disable());
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceMessagingEndpointTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceMessagingEndpointTests.java
index 74773781eb90..15feed6e7dba 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceMessagingEndpointTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceMessagingEndpointTests.java
@@ -11,17 +11,17 @@
public final class DeviceMessagingEndpointTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DeviceMessagingEndpoint model = BinaryData.fromString("{\"endpointType\":\"hky\",\"address\":\"ubeddg\"}")
+ DeviceMessagingEndpoint model = BinaryData.fromString("{\"endpointType\":\"oz\",\"address\":\"osphyoul\"}")
.toObject(DeviceMessagingEndpoint.class);
- Assertions.assertEquals("hky", model.endpointType());
- Assertions.assertEquals("ubeddg", model.address());
+ Assertions.assertEquals("oz", model.endpointType());
+ Assertions.assertEquals("osphyoul", model.address());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DeviceMessagingEndpoint model = new DeviceMessagingEndpoint().withEndpointType("hky").withAddress("ubeddg");
+ DeviceMessagingEndpoint model = new DeviceMessagingEndpoint().withEndpointType("oz").withAddress("osphyoul");
model = BinaryData.fromObject(model).toObject(DeviceMessagingEndpoint.class);
- Assertions.assertEquals("hky", model.endpointType());
- Assertions.assertEquals("ubeddg", model.address());
+ Assertions.assertEquals("oz", model.endpointType());
+ Assertions.assertEquals("osphyoul", model.address());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceRefTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceRefTests.java
index 990537f007ce..c424fc0ae76a 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceRefTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DeviceRefTests.java
@@ -11,17 +11,17 @@
public final class DeviceRefTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DeviceRef model = BinaryData.fromString("{\"deviceName\":\"uwprzql\",\"endpointName\":\"eualupjmkhf\"}")
+ DeviceRef model = BinaryData.fromString("{\"deviceName\":\"bkpyc\",\"endpointName\":\"klwndnhjdauwhv\"}")
.toObject(DeviceRef.class);
- Assertions.assertEquals("uwprzql", model.deviceName());
- Assertions.assertEquals("eualupjmkhf", model.endpointName());
+ Assertions.assertEquals("bkpyc", model.deviceName());
+ Assertions.assertEquals("klwndnhjdauwhv", model.endpointName());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DeviceRef model = new DeviceRef().withDeviceName("uwprzql").withEndpointName("eualupjmkhf");
+ DeviceRef model = new DeviceRef().withDeviceName("bkpyc").withEndpointName("klwndnhjdauwhv");
model = BinaryData.fromObject(model).toObject(DeviceRef.class);
- Assertions.assertEquals("uwprzql", model.deviceName());
- Assertions.assertEquals("eualupjmkhf", model.endpointName());
+ Assertions.assertEquals("bkpyc", model.deviceName());
+ Assertions.assertEquals("klwndnhjdauwhv", model.endpointName());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredInboundEndpointsTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredInboundEndpointsTests.java
index bc90216c5e76..16c1b8de3e4e 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredInboundEndpointsTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredInboundEndpointsTests.java
@@ -15,31 +15,31 @@ public final class DiscoveredInboundEndpointsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DiscoveredInboundEndpoints model = BinaryData.fromString(
- "{\"endpointType\":\"rxgibbd\",\"address\":\"xconfozauors\",\"version\":\"okwbqplh\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"UsernamePassword\",\"UsernamePassword\"],\"additionalConfiguration\":\"zlrphwzs\",\"lastUpdatedOn\":\"2021-03-12T05:54:27Z\"}")
+ "{\"endpointType\":\"kokwbqplhlvnu\",\"address\":\"epzl\",\"version\":\"hw\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Anonymous\",\"Anonymous\"],\"additionalConfiguration\":\"yuqdu\",\"lastUpdatedOn\":\"2021-08-14T17:59:55Z\"}")
.toObject(DiscoveredInboundEndpoints.class);
- Assertions.assertEquals("rxgibbd", model.endpointType());
- Assertions.assertEquals("xconfozauors", model.address());
- Assertions.assertEquals("okwbqplh", model.version());
- Assertions.assertEquals(AuthenticationMethod.ANONYMOUS, model.supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("zlrphwzs", model.additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-12T05:54:27Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("kokwbqplhlvnu", model.endpointType());
+ Assertions.assertEquals("epzl", model.address());
+ Assertions.assertEquals("hw", model.version());
+ Assertions.assertEquals(AuthenticationMethod.CERTIFICATE, model.supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("yuqdu", model.additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-14T17:59:55Z"), model.lastUpdatedOn());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DiscoveredInboundEndpoints model = new DiscoveredInboundEndpoints().withEndpointType("rxgibbd")
- .withAddress("xconfozauors")
- .withVersion("okwbqplh")
- .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.ANONYMOUS,
- AuthenticationMethod.USERNAME_PASSWORD, AuthenticationMethod.USERNAME_PASSWORD))
- .withAdditionalConfiguration("zlrphwzs")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-03-12T05:54:27Z"));
+ DiscoveredInboundEndpoints model = new DiscoveredInboundEndpoints().withEndpointType("kokwbqplhlvnu")
+ .withAddress("epzl")
+ .withVersion("hw")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE,
+ AuthenticationMethod.ANONYMOUS, AuthenticationMethod.ANONYMOUS))
+ .withAdditionalConfiguration("yuqdu")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-08-14T17:59:55Z"));
model = BinaryData.fromObject(model).toObject(DiscoveredInboundEndpoints.class);
- Assertions.assertEquals("rxgibbd", model.endpointType());
- Assertions.assertEquals("xconfozauors", model.address());
- Assertions.assertEquals("okwbqplh", model.version());
- Assertions.assertEquals(AuthenticationMethod.ANONYMOUS, model.supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("zlrphwzs", model.additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-12T05:54:27Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("kokwbqplhlvnu", model.endpointType());
+ Assertions.assertEquals("epzl", model.address());
+ Assertions.assertEquals("hw", model.version());
+ Assertions.assertEquals(AuthenticationMethod.CERTIFICATE, model.supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("yuqdu", model.additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-14T17:59:55Z"), model.lastUpdatedOn());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredMessagingEndpointsTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredMessagingEndpointsTests.java
index 52836acf1a5e..83ac445ae633 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredMessagingEndpointsTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredMessagingEndpointsTests.java
@@ -20,62 +20,68 @@ public final class DiscoveredMessagingEndpointsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DiscoveredMessagingEndpoints model = BinaryData.fromString(
- "{\"inbound\":{\"leorfmluiqtqz\":{\"endpointType\":\"jfsmlmbtxhwgfwsr\",\"address\":\"a\",\"version\":\"oezbrhubsk\",\"supportedAuthenticationMethods\":[\"Anonymous\"],\"additionalConfiguration\":\"oookkqfq\",\"lastUpdatedOn\":\"2021-07-12T13:05:01Z\"},\"tiewdj\":{\"endpointType\":\"avyvnqqyba\",\"address\":\"yeua\",\"version\":\"kq\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Anonymous\"],\"additionalConfiguration\":\"lesjcbhe\",\"lastUpdatedOn\":\"2021-04-10T08:53:01Z\"},\"acoebj\":{\"endpointType\":\"vbquwr\",\"address\":\"ehwagoh\",\"version\":\"f\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"vvhmxtdrj\",\"lastUpdatedOn\":\"2021-06-23T19:55:26Z\"}},\"outbound\":{\"assigned\":{\"v\":{\"endpointType\":\"cjznmwcpmg\",\"address\":\"aadraufactkahz\"},\"lqubkwdlen\":{\"endpointType\":\"j\",\"address\":\"iuxxpshneekulfg\"},\"orwmduvwpklv\":{\"endpointType\":\"sutujba\",\"address\":\"pjuohminyfl\"},\"nnbj\":{\"endpointType\":\"mygdxpgpqch\",\"address\":\"sze\"}}}}")
+ "{\"inbound\":{\"hernntiewdjc\":{\"endpointType\":\"eorfm\",\"address\":\"uiqtqzfavy\",\"version\":\"qqybarye\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"UsernamePassword\",\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"qgzsles\",\"lastUpdatedOn\":\"2021-04-30T14:41:30Z\"},\"ewzcjznmwcp\":{\"endpointType\":\"bquwrbehw\",\"address\":\"gohbuffkmrq\",\"version\":\"vvhmxtdrj\",\"supportedAuthenticationMethods\":[\"UsernamePassword\"],\"additionalConfiguration\":\"oe\",\"lastUpdatedOn\":\"2021-02-12T03:45:39Z\"},\"e\":{\"endpointType\":\"guaadraufactkahz\",\"address\":\"v\",\"version\":\"j\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"UsernamePassword\"],\"additionalConfiguration\":\"s\",\"lastUpdatedOn\":\"2021-06-14T00:39:09Z\"},\"gpqch\":{\"endpointType\":\"ulfgslqu\",\"address\":\"kwdlenrdsutujba\",\"version\":\"juohminyflnorw\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"UsernamePassword\",\"UsernamePassword\"],\"additionalConfiguration\":\"lvxwmyg\",\"lastUpdatedOn\":\"2021-08-06T16:36:03Z\"}},\"outbound\":{\"assigned\":{\"confozauors\":{\"endpointType\":\"pnnbjc\",\"address\":\"xgibbda\"}}}}")
.toObject(DiscoveredMessagingEndpoints.class);
- Assertions.assertEquals("jfsmlmbtxhwgfwsr", model.inbound().get("leorfmluiqtqz").endpointType());
- Assertions.assertEquals("a", model.inbound().get("leorfmluiqtqz").address());
- Assertions.assertEquals("oezbrhubsk", model.inbound().get("leorfmluiqtqz").version());
- Assertions.assertEquals(AuthenticationMethod.ANONYMOUS,
- model.inbound().get("leorfmluiqtqz").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("oookkqfq", model.inbound().get("leorfmluiqtqz").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-07-12T13:05:01Z"),
- model.inbound().get("leorfmluiqtqz").lastUpdatedOn());
- Assertions.assertEquals("cjznmwcpmg", model.outbound().assigned().get("v").endpointType());
- Assertions.assertEquals("aadraufactkahz", model.outbound().assigned().get("v").address());
+ Assertions.assertEquals("eorfm", model.inbound().get("hernntiewdjc").endpointType());
+ Assertions.assertEquals("uiqtqzfavy", model.inbound().get("hernntiewdjc").address());
+ Assertions.assertEquals("qqybarye", model.inbound().get("hernntiewdjc").version());
+ Assertions.assertEquals(AuthenticationMethod.USERNAME_PASSWORD,
+ model.inbound().get("hernntiewdjc").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("qgzsles", model.inbound().get("hernntiewdjc").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-30T14:41:30Z"),
+ model.inbound().get("hernntiewdjc").lastUpdatedOn());
+ Assertions.assertEquals("pnnbjc", model.outbound().assigned().get("confozauors").endpointType());
+ Assertions.assertEquals("xgibbda", model.outbound().assigned().get("confozauors").address());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DiscoveredMessagingEndpoints model = new DiscoveredMessagingEndpoints()
- .withInbound(mapOf("leorfmluiqtqz",
- new DiscoveredInboundEndpoints().withEndpointType("jfsmlmbtxhwgfwsr")
- .withAddress("a")
- .withVersion("oezbrhubsk")
- .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.ANONYMOUS))
- .withAdditionalConfiguration("oookkqfq")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-07-12T13:05:01Z")),
- "tiewdj",
- new DiscoveredInboundEndpoints().withEndpointType("avyvnqqyba")
- .withAddress("yeua")
- .withVersion("kq")
+ .withInbound(mapOf("hernntiewdjc",
+ new DiscoveredInboundEndpoints().withEndpointType("eorfm")
+ .withAddress("uiqtqzfavy")
+ .withVersion("qqybarye")
.withSupportedAuthenticationMethods(
- Arrays.asList(AuthenticationMethod.CERTIFICATE, AuthenticationMethod.ANONYMOUS))
- .withAdditionalConfiguration("lesjcbhe")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-04-10T08:53:01Z")),
- "acoebj",
- new DiscoveredInboundEndpoints().withEndpointType("vbquwr")
- .withAddress("ehwagoh")
- .withVersion("f")
+ Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD, AuthenticationMethod.USERNAME_PASSWORD,
+ AuthenticationMethod.CERTIFICATE, AuthenticationMethod.USERNAME_PASSWORD))
+ .withAdditionalConfiguration("qgzsles")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-04-30T14:41:30Z")),
+ "ewzcjznmwcp",
+ new DiscoveredInboundEndpoints().withEndpointType("bquwrbehw")
+ .withAddress("gohbuffkmrq")
+ .withVersion("vvhmxtdrj")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD))
+ .withAdditionalConfiguration("oe")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-02-12T03:45:39Z")),
+ "e",
+ new DiscoveredInboundEndpoints().withEndpointType("guaadraufactkahz")
+ .withAddress("v")
+ .withVersion("j")
+ .withSupportedAuthenticationMethods(
+ Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD, AuthenticationMethod.USERNAME_PASSWORD))
+ .withAdditionalConfiguration("s")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-06-14T00:39:09Z")),
+ "gpqch",
+ new DiscoveredInboundEndpoints().withEndpointType("ulfgslqu")
+ .withAddress("kwdlenrdsutujba")
+ .withVersion("juohminyflnorw")
.withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD,
- AuthenticationMethod.CERTIFICATE, AuthenticationMethod.USERNAME_PASSWORD))
- .withAdditionalConfiguration("vvhmxtdrj")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-06-23T19:55:26Z"))))
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("v",
- new DeviceMessagingEndpoint().withEndpointType("cjznmwcpmg").withAddress("aadraufactkahz"),
- "lqubkwdlen", new DeviceMessagingEndpoint().withEndpointType("j").withAddress("iuxxpshneekulfg"),
- "orwmduvwpklv", new DeviceMessagingEndpoint().withEndpointType("sutujba").withAddress("pjuohminyfl"),
- "nnbj", new DeviceMessagingEndpoint().withEndpointType("mygdxpgpqch").withAddress("sze"))));
+ AuthenticationMethod.USERNAME_PASSWORD, AuthenticationMethod.USERNAME_PASSWORD))
+ .withAdditionalConfiguration("lvxwmyg")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-08-06T16:36:03Z"))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(
+ mapOf("confozauors", new DeviceMessagingEndpoint().withEndpointType("pnnbjc").withAddress("xgibbda"))));
model = BinaryData.fromObject(model).toObject(DiscoveredMessagingEndpoints.class);
- Assertions.assertEquals("jfsmlmbtxhwgfwsr", model.inbound().get("leorfmluiqtqz").endpointType());
- Assertions.assertEquals("a", model.inbound().get("leorfmluiqtqz").address());
- Assertions.assertEquals("oezbrhubsk", model.inbound().get("leorfmluiqtqz").version());
- Assertions.assertEquals(AuthenticationMethod.ANONYMOUS,
- model.inbound().get("leorfmluiqtqz").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("oookkqfq", model.inbound().get("leorfmluiqtqz").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-07-12T13:05:01Z"),
- model.inbound().get("leorfmluiqtqz").lastUpdatedOn());
- Assertions.assertEquals("cjznmwcpmg", model.outbound().assigned().get("v").endpointType());
- Assertions.assertEquals("aadraufactkahz", model.outbound().assigned().get("v").address());
+ Assertions.assertEquals("eorfm", model.inbound().get("hernntiewdjc").endpointType());
+ Assertions.assertEquals("uiqtqzfavy", model.inbound().get("hernntiewdjc").address());
+ Assertions.assertEquals("qqybarye", model.inbound().get("hernntiewdjc").version());
+ Assertions.assertEquals(AuthenticationMethod.USERNAME_PASSWORD,
+ model.inbound().get("hernntiewdjc").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("qgzsles", model.inbound().get("hernntiewdjc").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-30T14:41:30Z"),
+ model.inbound().get("hernntiewdjc").lastUpdatedOn());
+ Assertions.assertEquals("pnnbjc", model.outbound().assigned().get("confozauors").endpointType());
+ Assertions.assertEquals("xgibbda", model.outbound().assigned().get("confozauors").address());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredOutboundEndpointsTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredOutboundEndpointsTests.java
index 302ac938ee75..d9e997ec20bd 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredOutboundEndpointsTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/DiscoveredOutboundEndpointsTests.java
@@ -14,20 +14,22 @@
public final class DiscoveredOutboundEndpointsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DiscoveredOutboundEndpoints model
- = BinaryData.fromString("{\"assigned\":{\"biorktal\":{\"endpointType\":\"yuqdu\",\"address\":\"vmnnrw\"}}}")
- .toObject(DiscoveredOutboundEndpoints.class);
- Assertions.assertEquals("yuqdu", model.assigned().get("biorktal").endpointType());
- Assertions.assertEquals("vmnnrw", model.assigned().get("biorktal").address());
+ DiscoveredOutboundEndpoints model = BinaryData.fromString(
+ "{\"assigned\":{\"alywjhhgdn\":{\"endpointType\":\"rwrbi\",\"address\":\"rk\"},\"ufiqndieuzaof\":{\"endpointType\":\"msi\",\"address\":\"fomiloxgg\"},\"p\":{\"endpointType\":\"hvcyyysfg\",\"address\":\"otcubi\"}}}")
+ .toObject(DiscoveredOutboundEndpoints.class);
+ Assertions.assertEquals("rwrbi", model.assigned().get("alywjhhgdn").endpointType());
+ Assertions.assertEquals("rk", model.assigned().get("alywjhhgdn").address());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DiscoveredOutboundEndpoints model = new DiscoveredOutboundEndpoints().withAssigned(
- mapOf("biorktal", new DeviceMessagingEndpoint().withEndpointType("yuqdu").withAddress("vmnnrw")));
+ DiscoveredOutboundEndpoints model = new DiscoveredOutboundEndpoints()
+ .withAssigned(mapOf("alywjhhgdn", new DeviceMessagingEndpoint().withEndpointType("rwrbi").withAddress("rk"),
+ "ufiqndieuzaof", new DeviceMessagingEndpoint().withEndpointType("msi").withAddress("fomiloxgg"), "p",
+ new DeviceMessagingEndpoint().withEndpointType("hvcyyysfg").withAddress("otcubi")));
model = BinaryData.fromObject(model).toObject(DiscoveredOutboundEndpoints.class);
- Assertions.assertEquals("yuqdu", model.assigned().get("biorktal").endpointType());
- Assertions.assertEquals("vmnnrw", model.assigned().get("biorktal").address());
+ Assertions.assertEquals("rwrbi", model.assigned().get("alywjhhgdn").endpointType());
+ Assertions.assertEquals("rk", model.assigned().get("alywjhhgdn").address());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventMqttDestinationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventMqttDestinationTests.java
index 5f6f2a243aab..30fcf313dfe8 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventMqttDestinationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventMqttDestinationTests.java
@@ -15,25 +15,25 @@ public final class EventMqttDestinationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventMqttDestination model = BinaryData.fromString(
- "{\"target\":\"Mqtt\",\"configuration\":{\"topic\":\"gwyzm\",\"retain\":\"Never\",\"qos\":\"Qos1\",\"ttl\":5337530926252366469}}")
+ "{\"target\":\"Mqtt\",\"configuration\":{\"topic\":\"qhjk\",\"retain\":\"Keep\",\"qos\":\"Qos0\",\"ttl\":7757966335492850327}}")
.toObject(EventMqttDestination.class);
- Assertions.assertEquals("gwyzm", model.configuration().topic());
- Assertions.assertEquals(TopicRetainType.NEVER, model.configuration().retain());
- Assertions.assertEquals(MqttDestinationQos.QOS1, model.configuration().qos());
- Assertions.assertEquals(5337530926252366469L, model.configuration().ttl());
+ Assertions.assertEquals("qhjk", model.configuration().topic());
+ Assertions.assertEquals(TopicRetainType.KEEP, model.configuration().retain());
+ Assertions.assertEquals(MqttDestinationQos.QOS0, model.configuration().qos());
+ Assertions.assertEquals(7757966335492850327L, model.configuration().ttl());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
EventMqttDestination model
- = new EventMqttDestination().withConfiguration(new MqttDestinationConfiguration().withTopic("gwyzm")
- .withRetain(TopicRetainType.NEVER)
- .withQos(MqttDestinationQos.QOS1)
- .withTtl(5337530926252366469L));
+ = new EventMqttDestination().withConfiguration(new MqttDestinationConfiguration().withTopic("qhjk")
+ .withRetain(TopicRetainType.KEEP)
+ .withQos(MqttDestinationQos.QOS0)
+ .withTtl(7757966335492850327L));
model = BinaryData.fromObject(model).toObject(EventMqttDestination.class);
- Assertions.assertEquals("gwyzm", model.configuration().topic());
- Assertions.assertEquals(TopicRetainType.NEVER, model.configuration().retain());
- Assertions.assertEquals(MqttDestinationQos.QOS1, model.configuration().qos());
- Assertions.assertEquals(5337530926252366469L, model.configuration().ttl());
+ Assertions.assertEquals("qhjk", model.configuration().topic());
+ Assertions.assertEquals(TopicRetainType.KEEP, model.configuration().retain());
+ Assertions.assertEquals(MqttDestinationQos.QOS0, model.configuration().qos());
+ Assertions.assertEquals(7757966335492850327L, model.configuration().ttl());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventStorageDestinationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventStorageDestinationTests.java
index c78e1b026614..29fe3631536d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventStorageDestinationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/EventStorageDestinationTests.java
@@ -13,16 +13,16 @@ public final class EventStorageDestinationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventStorageDestination model
- = BinaryData.fromString("{\"target\":\"Storage\",\"configuration\":{\"path\":\"savjcbpwxqps\"}}")
+ = BinaryData.fromString("{\"target\":\"Storage\",\"configuration\":{\"path\":\"xiebwwaloayqcg\"}}")
.toObject(EventStorageDestination.class);
- Assertions.assertEquals("savjcbpwxqps", model.configuration().path());
+ Assertions.assertEquals("xiebwwaloayqcg", model.configuration().path());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
EventStorageDestination model = new EventStorageDestination()
- .withConfiguration(new StorageDestinationConfiguration().withPath("savjcbpwxqps"));
+ .withConfiguration(new StorageDestinationConfiguration().withPath("xiebwwaloayqcg"));
model = BinaryData.fromObject(model).toObject(EventStorageDestination.class);
- Assertions.assertEquals("savjcbpwxqps", model.configuration().path());
+ Assertions.assertEquals("xiebwwaloayqcg", model.configuration().path());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/LeafCertificateConfigurationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/LeafCertificateConfigurationTests.java
index 3e7179345617..1cf635ed9be1 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/LeafCertificateConfigurationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/LeafCertificateConfigurationTests.java
@@ -11,15 +11,15 @@
public final class LeafCertificateConfigurationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- LeafCertificateConfiguration model = BinaryData.fromString("{\"validityPeriodInDays\":1456485650}")
+ LeafCertificateConfiguration model = BinaryData.fromString("{\"validityPeriodInDays\":1581079817}")
.toObject(LeafCertificateConfiguration.class);
- Assertions.assertEquals(1456485650, model.validityPeriodInDays());
+ Assertions.assertEquals(1581079817, model.validityPeriodInDays());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- LeafCertificateConfiguration model = new LeafCertificateConfiguration().withValidityPeriodInDays(1456485650);
+ LeafCertificateConfiguration model = new LeafCertificateConfiguration().withValidityPeriodInDays(1581079817);
model = BinaryData.fromObject(model).toObject(LeafCertificateConfiguration.class);
- Assertions.assertEquals(1456485650, model.validityPeriodInDays());
+ Assertions.assertEquals(1581079817, model.validityPeriodInDays());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementActionTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementActionTests.java
index 209c106b8a4b..2e3572fb60c9 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementActionTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementActionTests.java
@@ -13,33 +13,33 @@ public final class ManagementActionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagementAction model = BinaryData.fromString(
- "{\"name\":\"glzpswiydm\",\"actionConfiguration\":\"yhz\",\"targetUri\":\"xssadbzmnvdf\",\"typeRef\":\"ud\",\"topic\":\"dvxzbncblylpst\",\"actionType\":\"Write\",\"timeoutInSeconds\":907370686}")
+ "{\"name\":\"d\",\"actionConfiguration\":\"sl\",\"targetUri\":\"nayqi\",\"typeRef\":\"nduhavhqlkthum\",\"topic\":\"olbgycduiertgccy\",\"actionType\":\"Read\",\"timeoutInSeconds\":6018093}")
.toObject(ManagementAction.class);
- Assertions.assertEquals("glzpswiydm", model.name());
- Assertions.assertEquals("yhz", model.actionConfiguration());
- Assertions.assertEquals("xssadbzmnvdf", model.targetUri());
- Assertions.assertEquals("ud", model.typeRef());
- Assertions.assertEquals("dvxzbncblylpst", model.topic());
- Assertions.assertEquals(ManagementActionType.WRITE, model.actionType());
- Assertions.assertEquals(907370686, model.timeoutInSeconds());
+ Assertions.assertEquals("d", model.name());
+ Assertions.assertEquals("sl", model.actionConfiguration());
+ Assertions.assertEquals("nayqi", model.targetUri());
+ Assertions.assertEquals("nduhavhqlkthum", model.typeRef());
+ Assertions.assertEquals("olbgycduiertgccy", model.topic());
+ Assertions.assertEquals(ManagementActionType.READ, model.actionType());
+ Assertions.assertEquals(6018093, model.timeoutInSeconds());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ManagementAction model = new ManagementAction().withName("glzpswiydm")
- .withActionConfiguration("yhz")
- .withTargetUri("xssadbzmnvdf")
- .withTypeRef("ud")
- .withTopic("dvxzbncblylpst")
- .withActionType(ManagementActionType.WRITE)
- .withTimeoutInSeconds(907370686);
+ ManagementAction model = new ManagementAction().withName("d")
+ .withActionConfiguration("sl")
+ .withTargetUri("nayqi")
+ .withTypeRef("nduhavhqlkthum")
+ .withTopic("olbgycduiertgccy")
+ .withActionType(ManagementActionType.READ)
+ .withTimeoutInSeconds(6018093);
model = BinaryData.fromObject(model).toObject(ManagementAction.class);
- Assertions.assertEquals("glzpswiydm", model.name());
- Assertions.assertEquals("yhz", model.actionConfiguration());
- Assertions.assertEquals("xssadbzmnvdf", model.targetUri());
- Assertions.assertEquals("ud", model.typeRef());
- Assertions.assertEquals("dvxzbncblylpst", model.topic());
- Assertions.assertEquals(ManagementActionType.WRITE, model.actionType());
- Assertions.assertEquals(907370686, model.timeoutInSeconds());
+ Assertions.assertEquals("d", model.name());
+ Assertions.assertEquals("sl", model.actionConfiguration());
+ Assertions.assertEquals("nayqi", model.targetUri());
+ Assertions.assertEquals("nduhavhqlkthum", model.typeRef());
+ Assertions.assertEquals("olbgycduiertgccy", model.topic());
+ Assertions.assertEquals(ManagementActionType.READ, model.actionType());
+ Assertions.assertEquals(6018093, model.timeoutInSeconds());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementGroupTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementGroupTests.java
index 3f5f1a00b31a..012eaac972af 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementGroupTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/ManagementGroupTests.java
@@ -15,66 +15,59 @@ public final class ManagementGroupTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagementGroup model = BinaryData.fromString(
- "{\"name\":\"xyslqbh\",\"dataSource\":\"xoblytkbl\",\"managementGroupConfiguration\":\"ewwwfbkrvrnsv\",\"typeRef\":\"q\",\"defaultTopic\":\"hxcr\",\"defaultTimeoutInSeconds\":1416358219,\"actions\":[{\"name\":\"asrru\",\"actionConfiguration\":\"bhsqfsubcgjbirxb\",\"targetUri\":\"ybsrfbjfdtwss\",\"typeRef\":\"ftpvjzbexil\",\"topic\":\"nfqqnvwp\",\"actionType\":\"Read\",\"timeoutInSeconds\":1628769376},{\"name\":\"uoujmkcjhwqy\",\"actionConfiguration\":\"r\",\"targetUri\":\"bnw\",\"typeRef\":\"wgdrjervnaenqp\",\"topic\":\"indoygmifthnzd\",\"actionType\":\"Read\",\"timeoutInSeconds\":962281735},{\"name\":\"nayqi\",\"actionConfiguration\":\"nduhavhqlkthum\",\"targetUri\":\"qolbgyc\",\"typeRef\":\"iertgccymvaolp\",\"topic\":\"lqlfm\",\"actionType\":\"Read\",\"timeoutInSeconds\":1962598042}]}")
+ "{\"name\":\"fbkrvrnsvs\",\"dataSource\":\"johxcrsb\",\"managementGroupConfiguration\":\"vasrruvwb\",\"typeRef\":\"qfsubcgjbirx\",\"defaultTopic\":\"ybsrfbjfdtwss\",\"defaultTimeoutInSeconds\":772106102,\"actions\":[{\"name\":\"vjz\",\"actionConfiguration\":\"xilzznf\",\"targetUri\":\"q\",\"typeRef\":\"wpmqt\",\"topic\":\"uoujmkcjhwqy\",\"actionType\":\"Call\",\"timeoutInSeconds\":778428037},{\"name\":\"n\",\"actionConfiguration\":\"ewgdrjervn\",\"targetUri\":\"enq\",\"typeRef\":\"hin\",\"topic\":\"ygmi\",\"actionType\":\"Read\",\"timeoutInSeconds\":1092081926}]}")
.toObject(ManagementGroup.class);
- Assertions.assertEquals("xyslqbh", model.name());
- Assertions.assertEquals("xoblytkbl", model.dataSource());
- Assertions.assertEquals("ewwwfbkrvrnsv", model.managementGroupConfiguration());
- Assertions.assertEquals("q", model.typeRef());
- Assertions.assertEquals("hxcr", model.defaultTopic());
- Assertions.assertEquals(1416358219, model.defaultTimeoutInSeconds());
- Assertions.assertEquals("asrru", model.actions().get(0).name());
- Assertions.assertEquals("bhsqfsubcgjbirxb", model.actions().get(0).actionConfiguration());
- Assertions.assertEquals("ybsrfbjfdtwss", model.actions().get(0).targetUri());
- Assertions.assertEquals("ftpvjzbexil", model.actions().get(0).typeRef());
- Assertions.assertEquals("nfqqnvwp", model.actions().get(0).topic());
- Assertions.assertEquals(ManagementActionType.READ, model.actions().get(0).actionType());
- Assertions.assertEquals(1628769376, model.actions().get(0).timeoutInSeconds());
+ Assertions.assertEquals("fbkrvrnsvs", model.name());
+ Assertions.assertEquals("johxcrsb", model.dataSource());
+ Assertions.assertEquals("vasrruvwb", model.managementGroupConfiguration());
+ Assertions.assertEquals("qfsubcgjbirx", model.typeRef());
+ Assertions.assertEquals("ybsrfbjfdtwss", model.defaultTopic());
+ Assertions.assertEquals(772106102, model.defaultTimeoutInSeconds());
+ Assertions.assertEquals("vjz", model.actions().get(0).name());
+ Assertions.assertEquals("xilzznf", model.actions().get(0).actionConfiguration());
+ Assertions.assertEquals("q", model.actions().get(0).targetUri());
+ Assertions.assertEquals("wpmqt", model.actions().get(0).typeRef());
+ Assertions.assertEquals("uoujmkcjhwqy", model.actions().get(0).topic());
+ Assertions.assertEquals(ManagementActionType.CALL, model.actions().get(0).actionType());
+ Assertions.assertEquals(778428037, model.actions().get(0).timeoutInSeconds());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ManagementGroup model = new ManagementGroup().withName("xyslqbh")
- .withDataSource("xoblytkbl")
- .withManagementGroupConfiguration("ewwwfbkrvrnsv")
- .withTypeRef("q")
- .withDefaultTopic("hxcr")
- .withDefaultTimeoutInSeconds(1416358219)
+ ManagementGroup model = new ManagementGroup().withName("fbkrvrnsvs")
+ .withDataSource("johxcrsb")
+ .withManagementGroupConfiguration("vasrruvwb")
+ .withTypeRef("qfsubcgjbirx")
+ .withDefaultTopic("ybsrfbjfdtwss")
+ .withDefaultTimeoutInSeconds(772106102)
.withActions(Arrays.asList(
- new ManagementAction().withName("asrru")
- .withActionConfiguration("bhsqfsubcgjbirxb")
- .withTargetUri("ybsrfbjfdtwss")
- .withTypeRef("ftpvjzbexil")
- .withTopic("nfqqnvwp")
+ new ManagementAction().withName("vjz")
+ .withActionConfiguration("xilzznf")
+ .withTargetUri("q")
+ .withTypeRef("wpmqt")
+ .withTopic("uoujmkcjhwqy")
+ .withActionType(ManagementActionType.CALL)
+ .withTimeoutInSeconds(778428037),
+ new ManagementAction().withName("n")
+ .withActionConfiguration("ewgdrjervn")
+ .withTargetUri("enq")
+ .withTypeRef("hin")
+ .withTopic("ygmi")
.withActionType(ManagementActionType.READ)
- .withTimeoutInSeconds(1628769376),
- new ManagementAction().withName("uoujmkcjhwqy")
- .withActionConfiguration("r")
- .withTargetUri("bnw")
- .withTypeRef("wgdrjervnaenqp")
- .withTopic("indoygmifthnzd")
- .withActionType(ManagementActionType.READ)
- .withTimeoutInSeconds(962281735),
- new ManagementAction().withName("nayqi")
- .withActionConfiguration("nduhavhqlkthum")
- .withTargetUri("qolbgyc")
- .withTypeRef("iertgccymvaolp")
- .withTopic("lqlfm")
- .withActionType(ManagementActionType.READ)
- .withTimeoutInSeconds(1962598042)));
+ .withTimeoutInSeconds(1092081926)));
model = BinaryData.fromObject(model).toObject(ManagementGroup.class);
- Assertions.assertEquals("xyslqbh", model.name());
- Assertions.assertEquals("xoblytkbl", model.dataSource());
- Assertions.assertEquals("ewwwfbkrvrnsv", model.managementGroupConfiguration());
- Assertions.assertEquals("q", model.typeRef());
- Assertions.assertEquals("hxcr", model.defaultTopic());
- Assertions.assertEquals(1416358219, model.defaultTimeoutInSeconds());
- Assertions.assertEquals("asrru", model.actions().get(0).name());
- Assertions.assertEquals("bhsqfsubcgjbirxb", model.actions().get(0).actionConfiguration());
- Assertions.assertEquals("ybsrfbjfdtwss", model.actions().get(0).targetUri());
- Assertions.assertEquals("ftpvjzbexil", model.actions().get(0).typeRef());
- Assertions.assertEquals("nfqqnvwp", model.actions().get(0).topic());
- Assertions.assertEquals(ManagementActionType.READ, model.actions().get(0).actionType());
- Assertions.assertEquals(1628769376, model.actions().get(0).timeoutInSeconds());
+ Assertions.assertEquals("fbkrvrnsvs", model.name());
+ Assertions.assertEquals("johxcrsb", model.dataSource());
+ Assertions.assertEquals("vasrruvwb", model.managementGroupConfiguration());
+ Assertions.assertEquals("qfsubcgjbirx", model.typeRef());
+ Assertions.assertEquals("ybsrfbjfdtwss", model.defaultTopic());
+ Assertions.assertEquals(772106102, model.defaultTimeoutInSeconds());
+ Assertions.assertEquals("vjz", model.actions().get(0).name());
+ Assertions.assertEquals("xilzznf", model.actions().get(0).actionConfiguration());
+ Assertions.assertEquals("q", model.actions().get(0).targetUri());
+ Assertions.assertEquals("wpmqt", model.actions().get(0).typeRef());
+ Assertions.assertEquals("uoujmkcjhwqy", model.actions().get(0).topic());
+ Assertions.assertEquals(ManagementActionType.CALL, model.actions().get(0).actionType());
+ Assertions.assertEquals(778428037, model.actions().get(0).timeoutInSeconds());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/MqttDestinationConfigurationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/MqttDestinationConfigurationTests.java
index 2815628fe412..a388a28e8a97 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/MqttDestinationConfigurationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/MqttDestinationConfigurationTests.java
@@ -14,25 +14,24 @@ public final class MqttDestinationConfigurationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
MqttDestinationConfiguration model = BinaryData
- .fromString(
- "{\"topic\":\"plrbpbewtghf\",\"retain\":\"Never\",\"qos\":\"Qos0\",\"ttl\":6671653333153914115}")
+ .fromString("{\"topic\":\"jznb\",\"retain\":\"Keep\",\"qos\":\"Qos0\",\"ttl\":8891221399810858011}")
.toObject(MqttDestinationConfiguration.class);
- Assertions.assertEquals("plrbpbewtghf", model.topic());
- Assertions.assertEquals(TopicRetainType.NEVER, model.retain());
+ Assertions.assertEquals("jznb", model.topic());
+ Assertions.assertEquals(TopicRetainType.KEEP, model.retain());
Assertions.assertEquals(MqttDestinationQos.QOS0, model.qos());
- Assertions.assertEquals(6671653333153914115L, model.ttl());
+ Assertions.assertEquals(8891221399810858011L, model.ttl());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- MqttDestinationConfiguration model = new MqttDestinationConfiguration().withTopic("plrbpbewtghf")
- .withRetain(TopicRetainType.NEVER)
+ MqttDestinationConfiguration model = new MqttDestinationConfiguration().withTopic("jznb")
+ .withRetain(TopicRetainType.KEEP)
.withQos(MqttDestinationQos.QOS0)
- .withTtl(6671653333153914115L);
+ .withTtl(8891221399810858011L);
model = BinaryData.fromObject(model).toObject(MqttDestinationConfiguration.class);
- Assertions.assertEquals("plrbpbewtghf", model.topic());
- Assertions.assertEquals(TopicRetainType.NEVER, model.retain());
+ Assertions.assertEquals("jznb", model.topic());
+ Assertions.assertEquals(TopicRetainType.KEEP, model.retain());
Assertions.assertEquals(MqttDestinationQos.QOS0, model.qos());
- Assertions.assertEquals(6671653333153914115L, model.ttl());
+ Assertions.assertEquals(8891221399810858011L, model.ttl());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetDataPointTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetDataPointTests.java
index 747659c5f913..76a1b5ca5e8c 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetDataPointTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetDataPointTests.java
@@ -12,24 +12,24 @@ public final class NamespaceDatasetDataPointTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDatasetDataPoint model = BinaryData.fromString(
- "{\"name\":\"o\",\"dataSource\":\"hb\",\"dataPointConfiguration\":\"knalaulppg\",\"typeRef\":\"tpnapnyiropuhpig\"}")
+ "{\"name\":\"waboe\",\"dataSource\":\"qvkelnsm\",\"dataPointConfiguration\":\"xwyjsflhhc\",\"typeRef\":\"lnjixisxya\"}")
.toObject(NamespaceDatasetDataPoint.class);
- Assertions.assertEquals("o", model.name());
- Assertions.assertEquals("hb", model.dataSource());
- Assertions.assertEquals("knalaulppg", model.dataPointConfiguration());
- Assertions.assertEquals("tpnapnyiropuhpig", model.typeRef());
+ Assertions.assertEquals("waboe", model.name());
+ Assertions.assertEquals("qvkelnsm", model.dataSource());
+ Assertions.assertEquals("xwyjsflhhc", model.dataPointConfiguration());
+ Assertions.assertEquals("lnjixisxya", model.typeRef());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDatasetDataPoint model = new NamespaceDatasetDataPoint().withName("o")
- .withDataSource("hb")
- .withDataPointConfiguration("knalaulppg")
- .withTypeRef("tpnapnyiropuhpig");
+ NamespaceDatasetDataPoint model = new NamespaceDatasetDataPoint().withName("waboe")
+ .withDataSource("qvkelnsm")
+ .withDataPointConfiguration("xwyjsflhhc")
+ .withTypeRef("lnjixisxya");
model = BinaryData.fromObject(model).toObject(NamespaceDatasetDataPoint.class);
- Assertions.assertEquals("o", model.name());
- Assertions.assertEquals("hb", model.dataSource());
- Assertions.assertEquals("knalaulppg", model.dataPointConfiguration());
- Assertions.assertEquals("tpnapnyiropuhpig", model.typeRef());
+ Assertions.assertEquals("waboe", model.name());
+ Assertions.assertEquals("qvkelnsm", model.dataSource());
+ Assertions.assertEquals("xwyjsflhhc", model.dataPointConfiguration());
+ Assertions.assertEquals("lnjixisxya", model.typeRef());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetTests.java
index be3845e80eb7..c2f8b578ab5f 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDatasetTests.java
@@ -15,50 +15,46 @@ public final class NamespaceDatasetTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDataset model = BinaryData.fromString(
- "{\"name\":\"wroyqbexrmcq\",\"dataSource\":\"ycnojvknmefqsg\",\"typeRef\":\"ah\",\"datasetConfiguration\":\"jyzhpvgq\",\"destinations\":[{\"target\":\"DatasetDestination\"}],\"dataPoints\":[{\"name\":\"xdjzlmwlxk\",\"dataSource\":\"ug\",\"dataPointConfiguration\":\"zovawjvz\",\"typeRef\":\"luthn\"},{\"name\":\"prnxipeil\",\"dataSource\":\"jzuaejxdultskzbb\",\"dataPointConfiguration\":\"zumveekgpwo\",\"typeRef\":\"hkfpbs\"},{\"name\":\"yofd\",\"dataSource\":\"luu\",\"dataPointConfiguration\":\"ttouwaboekqvkel\",\"typeRef\":\"mvb\"},{\"name\":\"wyjsflhhcaalnjix\",\"dataSource\":\"sxyawjoyaqcs\",\"dataPointConfiguration\":\"jpkiidzyexznelix\",\"typeRef\":\"rzt\"}]}")
+ "{\"name\":\"srknftguv\",\"dataSource\":\"uhprwmdyvxqt\",\"typeRef\":\"riwwroy\",\"datasetConfiguration\":\"exrmcqibycnojvk\",\"destinations\":[{\"target\":\"DatasetDestination\"}],\"dataPoints\":[{\"name\":\"sgzvahapjyzhpv\",\"dataSource\":\"qzcjrvxdj\",\"dataPointConfiguration\":\"mwlxk\",\"typeRef\":\"gfhzovawjvzunlut\"},{\"name\":\"nnprn\",\"dataSource\":\"i\",\"dataPointConfiguration\":\"ilpjzuaejxdult\",\"typeRef\":\"zbbtdzumveek\"},{\"name\":\"pwo\",\"dataSource\":\"uh\",\"dataPointConfiguration\":\"p\",\"typeRef\":\"jyofdxluusdtto\"}]}")
.toObject(NamespaceDataset.class);
- Assertions.assertEquals("wroyqbexrmcq", model.name());
- Assertions.assertEquals("ycnojvknmefqsg", model.dataSource());
- Assertions.assertEquals("ah", model.typeRef());
- Assertions.assertEquals("jyzhpvgq", model.datasetConfiguration());
- Assertions.assertEquals("xdjzlmwlxk", model.dataPoints().get(0).name());
- Assertions.assertEquals("ug", model.dataPoints().get(0).dataSource());
- Assertions.assertEquals("zovawjvz", model.dataPoints().get(0).dataPointConfiguration());
- Assertions.assertEquals("luthn", model.dataPoints().get(0).typeRef());
+ Assertions.assertEquals("srknftguv", model.name());
+ Assertions.assertEquals("uhprwmdyvxqt", model.dataSource());
+ Assertions.assertEquals("riwwroy", model.typeRef());
+ Assertions.assertEquals("exrmcqibycnojvk", model.datasetConfiguration());
+ Assertions.assertEquals("sgzvahapjyzhpv", model.dataPoints().get(0).name());
+ Assertions.assertEquals("qzcjrvxdj", model.dataPoints().get(0).dataSource());
+ Assertions.assertEquals("mwlxk", model.dataPoints().get(0).dataPointConfiguration());
+ Assertions.assertEquals("gfhzovawjvzunlut", model.dataPoints().get(0).typeRef());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDataset model = new NamespaceDataset().withName("wroyqbexrmcq")
- .withDataSource("ycnojvknmefqsg")
- .withTypeRef("ah")
- .withDatasetConfiguration("jyzhpvgq")
+ NamespaceDataset model = new NamespaceDataset().withName("srknftguv")
+ .withDataSource("uhprwmdyvxqt")
+ .withTypeRef("riwwroy")
+ .withDatasetConfiguration("exrmcqibycnojvk")
.withDestinations(Arrays.asList(new DatasetDestination()))
.withDataPoints(Arrays.asList(
- new NamespaceDatasetDataPoint().withName("xdjzlmwlxk")
- .withDataSource("ug")
- .withDataPointConfiguration("zovawjvz")
- .withTypeRef("luthn"),
- new NamespaceDatasetDataPoint().withName("prnxipeil")
- .withDataSource("jzuaejxdultskzbb")
- .withDataPointConfiguration("zumveekgpwo")
- .withTypeRef("hkfpbs"),
- new NamespaceDatasetDataPoint().withName("yofd")
- .withDataSource("luu")
- .withDataPointConfiguration("ttouwaboekqvkel")
- .withTypeRef("mvb"),
- new NamespaceDatasetDataPoint().withName("wyjsflhhcaalnjix")
- .withDataSource("sxyawjoyaqcs")
- .withDataPointConfiguration("jpkiidzyexznelix")
- .withTypeRef("rzt")));
+ new NamespaceDatasetDataPoint().withName("sgzvahapjyzhpv")
+ .withDataSource("qzcjrvxdj")
+ .withDataPointConfiguration("mwlxk")
+ .withTypeRef("gfhzovawjvzunlut"),
+ new NamespaceDatasetDataPoint().withName("nnprn")
+ .withDataSource("i")
+ .withDataPointConfiguration("ilpjzuaejxdult")
+ .withTypeRef("zbbtdzumveek"),
+ new NamespaceDatasetDataPoint().withName("pwo")
+ .withDataSource("uh")
+ .withDataPointConfiguration("p")
+ .withTypeRef("jyofdxluusdtto")));
model = BinaryData.fromObject(model).toObject(NamespaceDataset.class);
- Assertions.assertEquals("wroyqbexrmcq", model.name());
- Assertions.assertEquals("ycnojvknmefqsg", model.dataSource());
- Assertions.assertEquals("ah", model.typeRef());
- Assertions.assertEquals("jyzhpvgq", model.datasetConfiguration());
- Assertions.assertEquals("xdjzlmwlxk", model.dataPoints().get(0).name());
- Assertions.assertEquals("ug", model.dataPoints().get(0).dataSource());
- Assertions.assertEquals("zovawjvz", model.dataPoints().get(0).dataPointConfiguration());
- Assertions.assertEquals("luthn", model.dataPoints().get(0).typeRef());
+ Assertions.assertEquals("srknftguv", model.name());
+ Assertions.assertEquals("uhprwmdyvxqt", model.dataSource());
+ Assertions.assertEquals("riwwroy", model.typeRef());
+ Assertions.assertEquals("exrmcqibycnojvk", model.datasetConfiguration());
+ Assertions.assertEquals("sgzvahapjyzhpv", model.dataPoints().get(0).name());
+ Assertions.assertEquals("qzcjrvxdj", model.dataPoints().get(0).dataSource());
+ Assertions.assertEquals("mwlxk", model.dataPoints().get(0).dataPointConfiguration());
+ Assertions.assertEquals("gfhzovawjvzunlut", model.dataPoints().get(0).typeRef());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDeviceListResultTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDeviceListResultTests.java
index 5e1a903edd25..a5dbf1379243 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDeviceListResultTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDeviceListResultTests.java
@@ -12,28 +12,28 @@ public final class NamespaceDeviceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDeviceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"uuid\":\"jinfw\",\"enabled\":false,\"externalDeviceId\":\"tkacj\",\"discoveredDeviceRef\":\"f\",\"manufacturer\":\"lfoakg\",\"model\":\"fpagaowpulp\",\"operatingSystem\":\"lyls\",\"operatingSystemVersion\":\"k\",\"endpoints\":{\"inbound\":{\"kfzbeyvpnqicvi\":{\"endpointType\":\"jervtia\",\"address\":\"xsdszuempsb\"},\"rbuukzclewyhmlwp\":{\"endpointType\":\"v\",\"address\":\"jjxd\"}},\"outbound\":{\"assigned\":{\"cckwyfzqwhxxbu\":{\"address\":\"zpof\"},\"zfeqztppri\":{\"address\":\"qa\"},\"bqwcsdbnwdcf\":{\"address\":\"lxorjaltolmncws\"},\"jcanvxbvtvudut\":{\"address\":\"ucqdpfuvglsb\"}},\"unassigned\":{\"dflvkg\":{\"address\":\"rmrlxqtvcof\"},\"gdknnqv\":{\"address\":\"u\"},\"sgsahmkycgr\":{\"address\":\"aznqntoru\"},\"s\":{\"address\":\"uwjuetaeburuvdmo\"}}}},\"attributes\":{},\"status\":{\"config\":{\"version\":194940168582147354,\"lastTransitionTime\":\"2021-06-22T12:18:54Z\",\"error\":{}},\"endpoints\":{\"inbound\":{\"frvtpuqu\":{},\"mqlgk\":{}}}},\"version\":2595329865796026079,\"lastTransitionTime\":\"2021-06-07T02:06:17Z\",\"provisioningState\":\"Succeeded\",\"policy\":{\"resourceId\":\"bjcntujitc\"}},\"etag\":\"df\",\"extendedLocation\":{\"type\":\"waezkojvd\",\"name\":\"pzfoqoui\"},\"location\":\"bxarzgszufoxci\",\"tags\":{\"xkhnzbonlwnto\":\"idoamciodhkha\"},\"id\":\"gokdwbwhks\",\"name\":\"zcmrvexztvb\",\"type\":\"qgsfraoyzkoow\"},{\"properties\":{\"uuid\":\"nguxawqaldsy\",\"enabled\":true,\"externalDeviceId\":\"merqfobwyznkb\",\"discoveredDeviceRef\":\"utwpfhp\",\"manufacturer\":\"m\",\"model\":\"skdsnfdsdoakg\",\"operatingSystem\":\"lmkk\",\"operatingSystemVersion\":\"vdlhewpusdsttwv\",\"endpoints\":{\"inbound\":{\"gm\":{\"endpointType\":\"bejdcn\",\"address\":\"qqmoaku\"},\"enuuzkopbm\":{\"endpointType\":\"zr\",\"address\":\"rdgrtw\"},\"efozbhdms\":{\"endpointType\":\"nrfdw\",\"address\":\"yuhhziu\"}},\"outbound\":{\"assigned\":{\"rmaequ\":{\"address\":\"zqhof\"},\"icslfaoq\":{\"address\":\"ah\"},\"kaivwit\":{\"address\":\"piyylhalnswhccsp\"},\"bwemhairs\":{\"address\":\"scywuggwoluhc\"}},\"unassigned\":{\"wmsweypqwd\":{\"address\":\"z\"}}}},\"attributes\":{},\"status\":{\"config\":{\"version\":7620570472087923252,\"lastTransitionTime\":\"2021-07-21T16:23:57Z\",\"error\":{}},\"endpoints\":{\"inbound\":{\"mkttlstvlzywem\":{},\"zrncsdt\":{}}}},\"version\":407518124888159377,\"lastTransitionTime\":\"2021-08-31T08:14:30Z\",\"provisioningState\":\"Deleting\",\"policy\":{\"resourceId\":\"ytguslf\"}},\"etag\":\"dcygqukyhejhz\",\"extendedLocation\":{\"type\":\"xgfpelolppv\",\"name\":\"srp\"},\"location\":\"ujzra\",\"tags\":{\"wrft\":\"w\"},\"id\":\"wib\",\"name\":\"rcdlbhshfwpr\",\"type\":\"cstwity\"}],\"nextLink\":\"evxccedcp\"}")
+ "{\"value\":[{\"properties\":{\"uuid\":\"wmewzsyy\",\"enabled\":false,\"externalDeviceId\":\"soibjudpfrx\",\"discoveredDeviceRef\":\"thzvaytdwkqbrqu\",\"manufacturer\":\"axhexiilivp\",\"model\":\"iirqtd\",\"operatingSystem\":\"axoruzfgsquy\",\"operatingSystemVersion\":\"rxxle\",\"endpoints\":{\"inbound\":{\"ojknio\":{\"endpointType\":\"mxjezwlw\",\"address\":\"wxuqlcvydypatdoo\"},\"vdkcrodtj\":{\"endpointType\":\"kooebwnu\",\"address\":\"hemms\"},\"kfpagao\":{\"endpointType\":\"nfwjlfltkacjvefk\",\"address\":\"lfoakg\"}},\"outbound\":{\"assigned\":{\"jnsjervtiagxsd\":{\"address\":\"lpqblylsyxk\"},\"beyvpnqicvinvkjj\":{\"address\":\"zuempsbzkf\"},\"yhmlwpaztzp\":{\"address\":\"dxrbuukzcle\"},\"ckw\":{\"address\":\"fn\"}},\"unassigned\":{\"ppriol\":{\"address\":\"qwhxxbuyqaxzfeqz\"},\"altol\":{\"address\":\"or\"},\"wcsdbnwdcfhucq\":{\"address\":\"ncwsob\"},\"vxb\":{\"address\":\"pfuvglsbjjca\"}}}},\"attributes\":{\"mr\":\"\\\"dataudutnco\\\"\",\"f\":\"\\\"dataxqtvcofu\\\"\",\"u\":\"\\\"datavkg\\\"\"},\"status\":{\"config\":{\"version\":6534775993251976339,\"lastTransitionTime\":\"2021-09-03T22:34:04Z\",\"error\":{}},\"endpoints\":{\"inbound\":{\"qntorudsgsahmkyc\":{},\"rauwjuetaebu\":{},\"u\":{},\"dmovsm\":{}}}},\"version\":8458645615950890939,\"lastTransitionTime\":\"2021-09-08T15:53:42Z\",\"provisioningState\":\"Deleting\",\"policy\":{\"resourceId\":\"fkifr\"}},\"etag\":\"puqujmqlgkfbtn\",\"extendedLocation\":{\"type\":\"aongbj\",\"name\":\"ntuji\"},\"location\":\"jed\",\"tags\":{\"pzfoqoui\":\"waezkojvd\"},\"id\":\"ybxarzgszu\",\"name\":\"oxciqopidoamcio\",\"type\":\"hkh\"},{\"properties\":{\"uuid\":\"khnzbonlw\",\"enabled\":true,\"externalDeviceId\":\"gokdwbwhks\",\"discoveredDeviceRef\":\"cmrvexzt\",\"manufacturer\":\"t\",\"model\":\"sfraoyzko\",\"operatingSystem\":\"tlmngu\",\"operatingSystemVersion\":\"wqaldsyu\",\"endpoints\":{\"inbound\":{\"znkbykutwpfhpagm\":{\"endpointType\":\"erqf\",\"address\":\"bw\"},\"kkze\":{\"endpointType\":\"r\",\"address\":\"kdsnfdsdoakgtdl\"},\"bbejdcngqqm\":{\"endpointType\":\"dlhewp\",\"address\":\"sdsttwvog\"},\"grtwae\":{\"endpointType\":\"akufgmjz\",\"address\":\"wr\"}},\"outbound\":{\"assigned\":{\"inrfdwoyu\":{\"address\":\"zkopb\"},\"l\":{\"address\":\"hziuiefozbhdms\"},\"rmaequ\":{\"address\":\"zqhof\"}},\"unassigned\":{\"z\":{\"address\":\"xicslfao\"},\"kaivwit\":{\"address\":\"iyylhalnswhccsp\"},\"bwemhairs\":{\"address\":\"scywuggwoluhc\"}}}},\"attributes\":{\"wmsweypqwd\":\"\\\"dataz\\\"\"},\"status\":{\"config\":{\"version\":6872107379910014616,\"lastTransitionTime\":\"2021-10-03T20:31:22Z\",\"error\":{}},\"endpoints\":{\"inbound\":{\"exmk\":{},\"tlstvlzywem\":{},\"zrncsdt\":{}}}},\"version\":407518124888159377,\"lastTransitionTime\":\"2021-08-31T08:14:30Z\",\"provisioningState\":\"Deleting\",\"policy\":{\"resourceId\":\"ytguslf\"}},\"etag\":\"dcygqukyhejhz\",\"extendedLocation\":{\"type\":\"xgfpelolppv\",\"name\":\"srp\"},\"location\":\"ujzra\",\"tags\":{\"wrft\":\"w\"},\"id\":\"wib\",\"name\":\"rcdlbhshfwpr\",\"type\":\"cstwity\"}],\"nextLink\":\"evxccedcp\"}")
.toObject(NamespaceDeviceListResult.class);
- Assertions.assertEquals("bxarzgszufoxci", model.value().get(0).location());
- Assertions.assertEquals("idoamciodhkha", model.value().get(0).tags().get("xkhnzbonlwnto"));
+ Assertions.assertEquals("jed", model.value().get(0).location());
+ Assertions.assertEquals("waezkojvd", model.value().get(0).tags().get("pzfoqoui"));
Assertions.assertFalse(model.value().get(0).properties().enabled());
- Assertions.assertEquals("tkacj", model.value().get(0).properties().externalDeviceId());
- Assertions.assertEquals("f", model.value().get(0).properties().discoveredDeviceRef());
- Assertions.assertEquals("lfoakg", model.value().get(0).properties().manufacturer());
- Assertions.assertEquals("fpagaowpulp", model.value().get(0).properties().model());
- Assertions.assertEquals("lyls", model.value().get(0).properties().operatingSystem());
- Assertions.assertEquals("k", model.value().get(0).properties().operatingSystemVersion());
- Assertions.assertEquals("jervtia",
- model.value().get(0).properties().endpoints().inbound().get("kfzbeyvpnqicvi").endpointType());
- Assertions.assertEquals("xsdszuempsb",
- model.value().get(0).properties().endpoints().inbound().get("kfzbeyvpnqicvi").address());
- Assertions.assertEquals("zpof",
- model.value().get(0).properties().endpoints().outbound().assigned().get("cckwyfzqwhxxbu").address());
- Assertions.assertEquals("rmrlxqtvcof",
- model.value().get(0).properties().endpoints().outbound().unassigned().get("dflvkg").address());
- Assertions.assertEquals("bjcntujitc", model.value().get(0).properties().policy().resourceId());
- Assertions.assertEquals("waezkojvd", model.value().get(0).extendedLocation().type());
- Assertions.assertEquals("pzfoqoui", model.value().get(0).extendedLocation().name());
+ Assertions.assertEquals("soibjudpfrx", model.value().get(0).properties().externalDeviceId());
+ Assertions.assertEquals("thzvaytdwkqbrqu", model.value().get(0).properties().discoveredDeviceRef());
+ Assertions.assertEquals("axhexiilivp", model.value().get(0).properties().manufacturer());
+ Assertions.assertEquals("iirqtd", model.value().get(0).properties().model());
+ Assertions.assertEquals("axoruzfgsquy", model.value().get(0).properties().operatingSystem());
+ Assertions.assertEquals("rxxle", model.value().get(0).properties().operatingSystemVersion());
+ Assertions.assertEquals("mxjezwlw",
+ model.value().get(0).properties().endpoints().inbound().get("ojknio").endpointType());
+ Assertions.assertEquals("wxuqlcvydypatdoo",
+ model.value().get(0).properties().endpoints().inbound().get("ojknio").address());
+ Assertions.assertEquals("lpqblylsyxk",
+ model.value().get(0).properties().endpoints().outbound().assigned().get("jnsjervtiagxsd").address());
+ Assertions.assertEquals("qwhxxbuyqaxzfeqz",
+ model.value().get(0).properties().endpoints().outbound().unassigned().get("ppriol").address());
+ Assertions.assertEquals("fkifr", model.value().get(0).properties().policy().resourceId());
+ Assertions.assertEquals("aongbj", model.value().get(0).extendedLocation().type());
+ Assertions.assertEquals("ntuji", model.value().get(0).extendedLocation().name());
Assertions.assertEquals("evxccedcp", model.nextLink());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesRevokeMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesRevokeMockTests.java
new file mode 100644
index 000000000000..5f8b86f39cfd
--- /dev/null
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDevicesRevokeMockTests.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.deviceregistry.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.models.AzureCloud;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.deviceregistry.DeviceRegistryManager;
+import com.azure.resourcemanager.deviceregistry.models.DeviceCredentialsRevokeRequest;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class NamespaceDevicesRevokeMockTests {
+ @Test
+ public void testRevoke() throws Exception {
+ String responseStr = "{}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ DeviceRegistryManager manager = DeviceRegistryManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ manager.namespaceDevices()
+ .revoke("rr", "yejylmbkzudnigrf", "hotj", new DeviceCredentialsRevokeRequest().withDisable(true),
+ com.azure.core.util.Context.NONE);
+
+ }
+}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetDataPointTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetDataPointTests.java
index 322d254c60e0..16634f4d0ff0 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetDataPointTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetDataPointTests.java
@@ -13,28 +13,27 @@ public final class NamespaceDiscoveredDatasetDataPointTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredDatasetDataPoint model = BinaryData.fromString(
- "{\"name\":\"ueluqhhahhxvrhmz\",\"dataSource\":\"wpjgwws\",\"dataPointConfiguration\":\"ghftqsxhqxujxuk\",\"lastUpdatedOn\":\"2021-03-24T06:22:09Z\",\"typeRef\":\"igrjguufzdm\"}")
+ "{\"name\":\"kvtvsexso\",\"dataSource\":\"ueluqhhahhxvrhmz\",\"dataPointConfiguration\":\"pjgwwspug\",\"lastUpdatedOn\":\"2021-10-04T11:20:51Z\",\"typeRef\":\"sxhqxujx\"}")
.toObject(NamespaceDiscoveredDatasetDataPoint.class);
- Assertions.assertEquals("ueluqhhahhxvrhmz", model.name());
- Assertions.assertEquals("wpjgwws", model.dataSource());
- Assertions.assertEquals("ghftqsxhqxujxuk", model.dataPointConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-24T06:22:09Z"), model.lastUpdatedOn());
- Assertions.assertEquals("igrjguufzdm", model.typeRef());
+ Assertions.assertEquals("kvtvsexso", model.name());
+ Assertions.assertEquals("ueluqhhahhxvrhmz", model.dataSource());
+ Assertions.assertEquals("pjgwwspug", model.dataPointConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-10-04T11:20:51Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("sxhqxujx", model.typeRef());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredDatasetDataPoint model
- = new NamespaceDiscoveredDatasetDataPoint().withName("ueluqhhahhxvrhmz")
- .withDataSource("wpjgwws")
- .withDataPointConfiguration("ghftqsxhqxujxuk")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-03-24T06:22:09Z"))
- .withTypeRef("igrjguufzdm");
+ NamespaceDiscoveredDatasetDataPoint model = new NamespaceDiscoveredDatasetDataPoint().withName("kvtvsexso")
+ .withDataSource("ueluqhhahhxvrhmz")
+ .withDataPointConfiguration("pjgwwspug")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-10-04T11:20:51Z"))
+ .withTypeRef("sxhqxujx");
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredDatasetDataPoint.class);
- Assertions.assertEquals("ueluqhhahhxvrhmz", model.name());
- Assertions.assertEquals("wpjgwws", model.dataSource());
- Assertions.assertEquals("ghftqsxhqxujxuk", model.dataPointConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-24T06:22:09Z"), model.lastUpdatedOn());
- Assertions.assertEquals("igrjguufzdm", model.typeRef());
+ Assertions.assertEquals("kvtvsexso", model.name());
+ Assertions.assertEquals("ueluqhhahhxvrhmz", model.dataSource());
+ Assertions.assertEquals("pjgwwspug", model.dataPointConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-10-04T11:20:51Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("sxhqxujx", model.typeRef());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetTests.java
index 54143142f633..f7bf951272d5 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDatasetTests.java
@@ -16,51 +16,56 @@ public final class NamespaceDiscoveredDatasetTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredDataset model = BinaryData.fromString(
- "{\"name\":\"rcgp\",\"dataSource\":\"pzimejzanlfzxi\",\"typeRef\":\"rmbzo\",\"datasetConfiguration\":\"kixrj\",\"destinations\":[{\"target\":\"DatasetDestination\"},{\"target\":\"DatasetDestination\"}],\"dataPoints\":[{\"name\":\"zpfrla\",\"dataSource\":\"szrnwo\",\"dataPointConfiguration\":\"ndfpwpj\",\"lastUpdatedOn\":\"2021-03-31T10:48:17Z\",\"typeRef\":\"tlhflsjcdhszf\"},{\"name\":\"vfbgofeljagrqmqh\",\"dataSource\":\"dvriiiojnal\",\"dataPointConfiguration\":\"fk\",\"lastUpdatedOn\":\"2021-04-04T08:27:15Z\",\"typeRef\":\"ex\"}],\"lastUpdatedOn\":\"2021-10-16T07:40:20Z\"}")
+ "{\"name\":\"wutwbdsre\",\"dataSource\":\"drhneuyow\",\"typeRef\":\"d\",\"datasetConfiguration\":\"t\",\"destinations\":[{\"target\":\"DatasetDestination\"}],\"dataPoints\":[{\"name\":\"rcgp\",\"dataSource\":\"kpzi\",\"dataPointConfiguration\":\"j\",\"lastUpdatedOn\":\"2021-11-14T04:35:06Z\",\"typeRef\":\"fzxiavrmb\"},{\"name\":\"onok\",\"dataSource\":\"xrjqcirgzpfrlazs\",\"dataPointConfiguration\":\"nwoiind\",\"lastUpdatedOn\":\"2020-12-22T05:34:35Z\",\"typeRef\":\"jylwbtlhflsj\"},{\"name\":\"dhszfjv\",\"dataSource\":\"bgofeljag\",\"dataPointConfiguration\":\"mqhldvrii\",\"lastUpdatedOn\":\"2021-11-23T14:52:02Z\",\"typeRef\":\"al\"}],\"lastUpdatedOn\":\"2021-06-23T19:51:13Z\"}")
.toObject(NamespaceDiscoveredDataset.class);
- Assertions.assertEquals("rcgp", model.name());
- Assertions.assertEquals("pzimejzanlfzxi", model.dataSource());
- Assertions.assertEquals("rmbzo", model.typeRef());
- Assertions.assertEquals("kixrj", model.datasetConfiguration());
- Assertions.assertEquals("zpfrla", model.dataPoints().get(0).name());
- Assertions.assertEquals("szrnwo", model.dataPoints().get(0).dataSource());
- Assertions.assertEquals("ndfpwpj", model.dataPoints().get(0).dataPointConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-31T10:48:17Z"),
+ Assertions.assertEquals("wutwbdsre", model.name());
+ Assertions.assertEquals("drhneuyow", model.dataSource());
+ Assertions.assertEquals("d", model.typeRef());
+ Assertions.assertEquals("t", model.datasetConfiguration());
+ Assertions.assertEquals("rcgp", model.dataPoints().get(0).name());
+ Assertions.assertEquals("kpzi", model.dataPoints().get(0).dataSource());
+ Assertions.assertEquals("j", model.dataPoints().get(0).dataPointConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-11-14T04:35:06Z"),
model.dataPoints().get(0).lastUpdatedOn());
- Assertions.assertEquals("tlhflsjcdhszf", model.dataPoints().get(0).typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-10-16T07:40:20Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("fzxiavrmb", model.dataPoints().get(0).typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-06-23T19:51:13Z"), model.lastUpdatedOn());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredDataset model = new NamespaceDiscoveredDataset().withName("rcgp")
- .withDataSource("pzimejzanlfzxi")
- .withTypeRef("rmbzo")
- .withDatasetConfiguration("kixrj")
- .withDestinations(Arrays.asList(new DatasetDestination(), new DatasetDestination()))
+ NamespaceDiscoveredDataset model = new NamespaceDiscoveredDataset().withName("wutwbdsre")
+ .withDataSource("drhneuyow")
+ .withTypeRef("d")
+ .withDatasetConfiguration("t")
+ .withDestinations(Arrays.asList(new DatasetDestination()))
.withDataPoints(Arrays.asList(
- new NamespaceDiscoveredDatasetDataPoint().withName("zpfrla")
- .withDataSource("szrnwo")
- .withDataPointConfiguration("ndfpwpj")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-03-31T10:48:17Z"))
- .withTypeRef("tlhflsjcdhszf"),
- new NamespaceDiscoveredDatasetDataPoint().withName("vfbgofeljagrqmqh")
- .withDataSource("dvriiiojnal")
- .withDataPointConfiguration("fk")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-04-04T08:27:15Z"))
- .withTypeRef("ex")))
- .withLastUpdatedOn(OffsetDateTime.parse("2021-10-16T07:40:20Z"));
+ new NamespaceDiscoveredDatasetDataPoint().withName("rcgp")
+ .withDataSource("kpzi")
+ .withDataPointConfiguration("j")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-11-14T04:35:06Z"))
+ .withTypeRef("fzxiavrmb"),
+ new NamespaceDiscoveredDatasetDataPoint().withName("onok")
+ .withDataSource("xrjqcirgzpfrlazs")
+ .withDataPointConfiguration("nwoiind")
+ .withLastUpdatedOn(OffsetDateTime.parse("2020-12-22T05:34:35Z"))
+ .withTypeRef("jylwbtlhflsj"),
+ new NamespaceDiscoveredDatasetDataPoint().withName("dhszfjv")
+ .withDataSource("bgofeljag")
+ .withDataPointConfiguration("mqhldvrii")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-11-23T14:52:02Z"))
+ .withTypeRef("al")))
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-06-23T19:51:13Z"));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredDataset.class);
- Assertions.assertEquals("rcgp", model.name());
- Assertions.assertEquals("pzimejzanlfzxi", model.dataSource());
- Assertions.assertEquals("rmbzo", model.typeRef());
- Assertions.assertEquals("kixrj", model.datasetConfiguration());
- Assertions.assertEquals("zpfrla", model.dataPoints().get(0).name());
- Assertions.assertEquals("szrnwo", model.dataPoints().get(0).dataSource());
- Assertions.assertEquals("ndfpwpj", model.dataPoints().get(0).dataPointConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-31T10:48:17Z"),
+ Assertions.assertEquals("wutwbdsre", model.name());
+ Assertions.assertEquals("drhneuyow", model.dataSource());
+ Assertions.assertEquals("d", model.typeRef());
+ Assertions.assertEquals("t", model.datasetConfiguration());
+ Assertions.assertEquals("rcgp", model.dataPoints().get(0).name());
+ Assertions.assertEquals("kpzi", model.dataPoints().get(0).dataSource());
+ Assertions.assertEquals("j", model.dataPoints().get(0).dataPointConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-11-14T04:35:06Z"),
model.dataPoints().get(0).lastUpdatedOn());
- Assertions.assertEquals("tlhflsjcdhszf", model.dataPoints().get(0).typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-10-16T07:40:20Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("fzxiavrmb", model.dataPoints().get(0).typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-06-23T19:51:13Z"), model.lastUpdatedOn());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceInnerTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceInnerTests.java
index d41e2468380c..ab52f1314778 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceInnerTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceInnerTests.java
@@ -13,6 +13,7 @@
import com.azure.resourcemanager.deviceregistry.models.DiscoveredOutboundEndpoints;
import com.azure.resourcemanager.deviceregistry.models.ExtendedLocation;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceProperties;
+import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.HashMap;
@@ -23,93 +24,95 @@ public final class NamespaceDiscoveredDeviceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredDeviceInner model = BinaryData.fromString(
- "{\"properties\":{\"externalDeviceId\":\"tmr\",\"endpoints\":{\"inbound\":{\"rsre\":{\"endpointType\":\"ctymoxoftp\",\"address\":\"piwyczuhxacpqjl\",\"version\":\"hyus\",\"supportedAuthenticationMethods\":[\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"vlmfwdgzxulucv\",\"lastUpdatedOn\":\"2021-09-17T07:51:38Z\"},\"pnfqntcyp\":{\"endpointType\":\"zvxurisjnhny\",\"address\":\"xifqjzgxm\",\"version\":\"ublwpcesutrg\",\"supportedAuthenticationMethods\":[\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"tpwoqhihejq\",\"lastUpdatedOn\":\"2021-11-12T23:28:54Z\"}},\"outbound\":{\"assigned\":{\"vlhv\":{\"endpointType\":\"foimwkslircizjxv\",\"address\":\"dfcea\"}}}},\"manufacturer\":\"dyftumrtwna\",\"model\":\"slbi\",\"operatingSystem\":\"ojgcyzt\",\"operatingSystemVersion\":\"mznbaeqphch\",\"attributes\":{},\"discoveryId\":\"nrpxehuw\",\"version\":2363907746060609588,\"provisioningState\":\"Canceled\"},\"extendedLocation\":{\"type\":\"aifmvikl\",\"name\":\"ydv\"},\"location\":\"bejdznxcv\",\"tags\":{\"v\":\"hnjivo\"},\"id\":\"novqfzge\",\"name\":\"jdftuljltd\",\"type\":\"ceamtm\"}")
+ "{\"properties\":{\"externalDeviceId\":\"rrghxjbdhqxvcxgf\",\"endpoints\":{\"inbound\":{\"x\":{\"endpointType\":\"ofbshr\",\"address\":\"svbuswdvzyy\",\"version\":\"cnunvjsr\",\"supportedAuthenticationMethods\":[\"Certificate\"],\"additionalConfiguration\":\"nopqgikyzirtx\",\"lastUpdatedOn\":\"2021-09-11T06:06:10Z\"},\"zh\":{\"endpointType\":\"ejnt\",\"address\":\"sewgioilqukr\",\"version\":\"xtqmieoxor\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Anonymous\",\"Anonymous\"],\"additionalConfiguration\":\"omtbghhavgrvkff\",\"lastUpdatedOn\":\"2021-01-20T03:53:05Z\"}},\"outbound\":{\"assigned\":{\"cluyovwxnbkf\":{\"endpointType\":\"bgj\",\"address\":\"fxumv\"},\"niyujv\":{\"endpointType\":\"zxscyhwzdgirujb\",\"address\":\"bomvzzbtdcqv\"},\"snrbgyefrymsgao\":{\"endpointType\":\"l\",\"address\":\"dshf\"}}}},\"manufacturer\":\"mwn\",\"model\":\"tmr\",\"operatingSystem\":\"irctymoxoftpipiw\",\"operatingSystemVersion\":\"zuhx\",\"attributes\":{\"dvlmfwdgzxul\":\"\\\"dataqjlihhyuspska\\\"\",\"rsre\":\"\\\"datacvpa\\\"\",\"xifqjzgxm\":\"\\\"datazvxurisjnhny\\\"\"},\"discoveryId\":\"hu\",\"version\":1575354894603985523,\"provisioningState\":\"Accepted\"},\"extendedLocation\":{\"type\":\"esutrgjupauutpw\",\"name\":\"qhih\"},\"location\":\"qg\",\"tags\":{\"cypsxjv\":\"nfqn\",\"zjxvydfcea\":\"oimwkslirc\",\"gdyftumrtwna\":\"vlhv\"},\"id\":\"jslb\",\"name\":\"wkojgcyztsfmzn\",\"type\":\"aeqphchqnr\"}")
.toObject(NamespaceDiscoveredDeviceInner.class);
- Assertions.assertEquals("bejdznxcv", model.location());
- Assertions.assertEquals("hnjivo", model.tags().get("v"));
- Assertions.assertEquals("tmr", model.properties().externalDeviceId());
- Assertions.assertEquals("ctymoxoftp", model.properties().endpoints().inbound().get("rsre").endpointType());
- Assertions.assertEquals("piwyczuhxacpqjl", model.properties().endpoints().inbound().get("rsre").address());
- Assertions.assertEquals("hyus", model.properties().endpoints().inbound().get("rsre").version());
+ Assertions.assertEquals("qg", model.location());
+ Assertions.assertEquals("nfqn", model.tags().get("cypsxjv"));
+ Assertions.assertEquals("rrghxjbdhqxvcxgf", model.properties().externalDeviceId());
+ Assertions.assertEquals("ofbshr", model.properties().endpoints().inbound().get("x").endpointType());
+ Assertions.assertEquals("svbuswdvzyy", model.properties().endpoints().inbound().get("x").address());
+ Assertions.assertEquals("cnunvjsr", model.properties().endpoints().inbound().get("x").version());
Assertions.assertEquals(AuthenticationMethod.CERTIFICATE,
- model.properties().endpoints().inbound().get("rsre").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("vlmfwdgzxulucv",
- model.properties().endpoints().inbound().get("rsre").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-09-17T07:51:38Z"),
- model.properties().endpoints().inbound().get("rsre").lastUpdatedOn());
- Assertions.assertEquals("foimwkslircizjxv",
- model.properties().endpoints().outbound().assigned().get("vlhv").endpointType());
- Assertions.assertEquals("dfcea", model.properties().endpoints().outbound().assigned().get("vlhv").address());
- Assertions.assertEquals("dyftumrtwna", model.properties().manufacturer());
- Assertions.assertEquals("slbi", model.properties().model());
- Assertions.assertEquals("ojgcyzt", model.properties().operatingSystem());
- Assertions.assertEquals("mznbaeqphch", model.properties().operatingSystemVersion());
- Assertions.assertEquals("nrpxehuw", model.properties().discoveryId());
- Assertions.assertEquals(2363907746060609588L, model.properties().version());
- Assertions.assertEquals("aifmvikl", model.extendedLocation().type());
- Assertions.assertEquals("ydv", model.extendedLocation().name());
+ model.properties().endpoints().inbound().get("x").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("nopqgikyzirtx",
+ model.properties().endpoints().inbound().get("x").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-11T06:06:10Z"),
+ model.properties().endpoints().inbound().get("x").lastUpdatedOn());
+ Assertions.assertEquals("bgj",
+ model.properties().endpoints().outbound().assigned().get("cluyovwxnbkf").endpointType());
+ Assertions.assertEquals("fxumv",
+ model.properties().endpoints().outbound().assigned().get("cluyovwxnbkf").address());
+ Assertions.assertEquals("mwn", model.properties().manufacturer());
+ Assertions.assertEquals("tmr", model.properties().model());
+ Assertions.assertEquals("irctymoxoftpipiw", model.properties().operatingSystem());
+ Assertions.assertEquals("zuhx", model.properties().operatingSystemVersion());
+ Assertions.assertEquals("hu", model.properties().discoveryId());
+ Assertions.assertEquals(1575354894603985523L, model.properties().version());
+ Assertions.assertEquals("esutrgjupauutpw", model.extendedLocation().type());
+ Assertions.assertEquals("qhih", model.extendedLocation().name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredDeviceInner model
- = new NamespaceDiscoveredDeviceInner().withLocation("bejdznxcv")
- .withTags(mapOf("v", "hnjivo"))
- .withProperties(
- new NamespaceDiscoveredDeviceProperties().withExternalDeviceId("tmr")
- .withEndpoints(
- new DiscoveredMessagingEndpoints()
- .withInbound(mapOf("rsre",
- new DiscoveredInboundEndpoints().withEndpointType("ctymoxoftp")
- .withAddress("piwyczuhxacpqjl")
- .withVersion("hyus")
- .withSupportedAuthenticationMethods(Arrays.asList(
- AuthenticationMethod.CERTIFICATE, AuthenticationMethod.USERNAME_PASSWORD))
- .withAdditionalConfiguration("vlmfwdgzxulucv")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-09-17T07:51:38Z")),
- "pnfqntcyp",
- new DiscoveredInboundEndpoints().withEndpointType("zvxurisjnhny")
- .withAddress("xifqjzgxm")
- .withVersion("ublwpcesutrg")
- .withSupportedAuthenticationMethods(Arrays.asList(
- AuthenticationMethod.CERTIFICATE, AuthenticationMethod.USERNAME_PASSWORD))
- .withAdditionalConfiguration("tpwoqhihejq")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-11-12T23:28:54Z"))))
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("vlhv",
- new DeviceMessagingEndpoint().withEndpointType("foimwkslircizjxv")
- .withAddress("dfcea")))))
- .withManufacturer("dyftumrtwna")
- .withModel("slbi")
- .withOperatingSystem("ojgcyzt")
- .withOperatingSystemVersion("mznbaeqphch")
- .withAttributes(mapOf())
- .withDiscoveryId("nrpxehuw")
- .withVersion(2363907746060609588L))
- .withExtendedLocation(new ExtendedLocation().withType("aifmvikl").withName("ydv"));
+ NamespaceDiscoveredDeviceInner model = new NamespaceDiscoveredDeviceInner().withLocation("qg")
+ .withTags(mapOf("cypsxjv", "nfqn", "zjxvydfcea", "oimwkslirc", "gdyftumrtwna", "vlhv"))
+ .withProperties(new NamespaceDiscoveredDeviceProperties().withExternalDeviceId("rrghxjbdhqxvcxgf")
+ .withEndpoints(new DiscoveredMessagingEndpoints()
+ .withInbound(mapOf("x",
+ new DiscoveredInboundEndpoints().withEndpointType("ofbshr")
+ .withAddress("svbuswdvzyy")
+ .withVersion("cnunvjsr")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE))
+ .withAdditionalConfiguration("nopqgikyzirtx")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-09-11T06:06:10Z")),
+ "zh",
+ new DiscoveredInboundEndpoints().withEndpointType("ejnt")
+ .withAddress("sewgioilqukr")
+ .withVersion("xtqmieoxor")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE,
+ AuthenticationMethod.ANONYMOUS, AuthenticationMethod.ANONYMOUS))
+ .withAdditionalConfiguration("omtbghhavgrvkff")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-01-20T03:53:05Z"))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("cluyovwxnbkf",
+ new DeviceMessagingEndpoint().withEndpointType("bgj").withAddress("fxumv"), "niyujv",
+ new DeviceMessagingEndpoint().withEndpointType("zxscyhwzdgirujb").withAddress("bomvzzbtdcqv"),
+ "snrbgyefrymsgao", new DeviceMessagingEndpoint().withEndpointType("l").withAddress("dshf")))))
+ .withManufacturer("mwn")
+ .withModel("tmr")
+ .withOperatingSystem("irctymoxoftpipiw")
+ .withOperatingSystemVersion("zuhx")
+ .withAttributes(mapOf("dvlmfwdgzxul",
+ BinaryData.fromBytes("\"dataqjlihhyuspska\"".getBytes(StandardCharsets.UTF_8)), "rsre",
+ BinaryData.fromBytes("\"datacvpa\"".getBytes(StandardCharsets.UTF_8)), "xifqjzgxm",
+ BinaryData.fromBytes("\"datazvxurisjnhny\"".getBytes(StandardCharsets.UTF_8))))
+ .withDiscoveryId("hu")
+ .withVersion(1575354894603985523L))
+ .withExtendedLocation(new ExtendedLocation().withType("esutrgjupauutpw").withName("qhih"));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredDeviceInner.class);
- Assertions.assertEquals("bejdznxcv", model.location());
- Assertions.assertEquals("hnjivo", model.tags().get("v"));
- Assertions.assertEquals("tmr", model.properties().externalDeviceId());
- Assertions.assertEquals("ctymoxoftp", model.properties().endpoints().inbound().get("rsre").endpointType());
- Assertions.assertEquals("piwyczuhxacpqjl", model.properties().endpoints().inbound().get("rsre").address());
- Assertions.assertEquals("hyus", model.properties().endpoints().inbound().get("rsre").version());
+ Assertions.assertEquals("qg", model.location());
+ Assertions.assertEquals("nfqn", model.tags().get("cypsxjv"));
+ Assertions.assertEquals("rrghxjbdhqxvcxgf", model.properties().externalDeviceId());
+ Assertions.assertEquals("ofbshr", model.properties().endpoints().inbound().get("x").endpointType());
+ Assertions.assertEquals("svbuswdvzyy", model.properties().endpoints().inbound().get("x").address());
+ Assertions.assertEquals("cnunvjsr", model.properties().endpoints().inbound().get("x").version());
Assertions.assertEquals(AuthenticationMethod.CERTIFICATE,
- model.properties().endpoints().inbound().get("rsre").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("vlmfwdgzxulucv",
- model.properties().endpoints().inbound().get("rsre").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-09-17T07:51:38Z"),
- model.properties().endpoints().inbound().get("rsre").lastUpdatedOn());
- Assertions.assertEquals("foimwkslircizjxv",
- model.properties().endpoints().outbound().assigned().get("vlhv").endpointType());
- Assertions.assertEquals("dfcea", model.properties().endpoints().outbound().assigned().get("vlhv").address());
- Assertions.assertEquals("dyftumrtwna", model.properties().manufacturer());
- Assertions.assertEquals("slbi", model.properties().model());
- Assertions.assertEquals("ojgcyzt", model.properties().operatingSystem());
- Assertions.assertEquals("mznbaeqphch", model.properties().operatingSystemVersion());
- Assertions.assertEquals("nrpxehuw", model.properties().discoveryId());
- Assertions.assertEquals(2363907746060609588L, model.properties().version());
- Assertions.assertEquals("aifmvikl", model.extendedLocation().type());
- Assertions.assertEquals("ydv", model.extendedLocation().name());
+ model.properties().endpoints().inbound().get("x").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("nopqgikyzirtx",
+ model.properties().endpoints().inbound().get("x").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-11T06:06:10Z"),
+ model.properties().endpoints().inbound().get("x").lastUpdatedOn());
+ Assertions.assertEquals("bgj",
+ model.properties().endpoints().outbound().assigned().get("cluyovwxnbkf").endpointType());
+ Assertions.assertEquals("fxumv",
+ model.properties().endpoints().outbound().assigned().get("cluyovwxnbkf").address());
+ Assertions.assertEquals("mwn", model.properties().manufacturer());
+ Assertions.assertEquals("tmr", model.properties().model());
+ Assertions.assertEquals("irctymoxoftpipiw", model.properties().operatingSystem());
+ Assertions.assertEquals("zuhx", model.properties().operatingSystemVersion());
+ Assertions.assertEquals("hu", model.properties().discoveryId());
+ Assertions.assertEquals(1575354894603985523L, model.properties().version());
+ Assertions.assertEquals("esutrgjupauutpw", model.extendedLocation().type());
+ Assertions.assertEquals("qhih", model.extendedLocation().name());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceListResultTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceListResultTests.java
index 76929ed9d4fb..ee9041318263 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceListResultTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceListResultTests.java
@@ -12,25 +12,25 @@ public final class NamespaceDiscoveredDeviceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredDeviceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"externalDeviceId\":\"fkyrk\",\"endpoints\":{\"inbound\":{\"m\":{\"endpointType\":\"iogsjkmnwq\",\"address\":\"nobaiyhddviacegf\"},\"podbzevwrdnh\":{\"endpointType\":\"tfpmvmemfnczdw\",\"address\":\"vbalxlllc\"},\"uluqypfc\":{\"endpointType\":\"ukuv\",\"address\":\"jcswsmys\"},\"dfc\":{\"endpointType\":\"lerchpq\",\"address\":\"mfpjbabw\"}},\"outbound\":{\"assigned\":{\"rihpfhoq\":{\"address\":\"puunnoxyhkxgqd\"},\"pjxxkzb\":{\"address\":\"aaewdaomdjv\"},\"ncj\":{\"address\":\"msgeivsiykzk\"},\"y\":{\"address\":\"xonbzoggculapz\"}}}},\"manufacturer\":\"gogtqxepnylbf\",\"model\":\"jlyjtlvofq\",\"operatingSystem\":\"vfcibyfmowux\",\"operatingSystemVersion\":\"jpvd\",\"attributes\":{},\"discoveryId\":\"zwiivwzjbhyzs\",\"version\":7980088587869256386,\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"mbtrnegvmnvu\",\"name\":\"eqvldspast\"},\"location\":\"kkdmfl\",\"tags\":{\"ril\":\"tmjlx\",\"ktwkuziyc\":\"zapeewchpx\",\"qedcgzulwm\":\"levufuztcktyhj\"},\"id\":\"rqzz\",\"name\":\"rjvpglydzgkrvqee\",\"type\":\"toepryu\"},{\"properties\":{\"externalDeviceId\":\"ytp\",\"endpoints\":{\"inbound\":{\"riglaec\":{\"endpointType\":\"vzvfvaawzqadfl\",\"address\":\"z\"}},\"outbound\":{\"assigned\":{\"cokpv\":{\"address\":\"t\"},\"irclnpk\":{\"address\":\"mlqtmldgxob\"},\"iykhy\":{\"address\":\"iayz\"}}}},\"manufacturer\":\"fvjlboxqvkjlmx\",\"model\":\"mdy\",\"operatingSystem\":\"dwdigumb\",\"operatingSystemVersion\":\"aauzzptjazysd\",\"attributes\":{},\"discoveryId\":\"zwwva\",\"version\":1821585547650833137,\"provisioningState\":\"Failed\"},\"extendedLocation\":{\"type\":\"vfonkphhqyikvyl\",\"name\":\"uyav\"},\"location\":\"wmn\",\"tags\":{\"ekrsgs\":\"tijfybvp\",\"huzqgn\":\"b\",\"omtkub\":\"dgkynscliqhzvhxn\",\"dxzxhi\":\"tppn\"},\"id\":\"frbbc\",\"name\":\"vqagtltdhlf\",\"type\":\"qojpy\"},{\"properties\":{\"externalDeviceId\":\"trdcnifmzzs\",\"endpoints\":{\"inbound\":{\"vdff\":{\"endpointType\":\"rnysux\",\"address\":\"prafwgckhoc\"}},\"outbound\":{\"assigned\":{\"avehhrvkbunzo\":{\"address\":\"fqroudas\"}}}},\"manufacturer\":\"dhcxgkmoy\",\"model\":\"dyuib\",\"operatingSystem\":\"fdn\",\"operatingSystemVersion\":\"ydvfvfcjnae\",\"attributes\":{},\"discoveryId\":\"rvhmgor\",\"version\":3872649645694596383,\"provisioningState\":\"Deleting\"},\"extendedLocation\":{\"type\":\"scvwmzhwplef\",\"name\":\"xvxilcbtg\"},\"location\":\"nzeyqxtjj\",\"tags\":{\"avodg\":\"lqhy\",\"ariaawi\":\"xdbeesmieknl\",\"wqfbylyrfgiagt\":\"agy\"},\"id\":\"ojocqwogf\",\"name\":\"zjvusfzldmo\",\"type\":\"uxylfsbtkadpy\"},{\"properties\":{\"externalDeviceId\":\"nbtgkbugrjqctoj\",\"endpoints\":{\"inbound\":{\"cuplcplcwkhih\":{\"endpointType\":\"of\",\"address\":\"eypefojyqd\"},\"teyowclu\":{\"endpointType\":\"hlhzdsqtzbsrgno\",\"address\":\"cjhfgmvecactxmw\"},\"ikf\":{\"endpointType\":\"ovekqvgqouwi\",\"address\":\"zmpjwyiv\"},\"kvyklxubyjaffmm\":{\"endpointType\":\"cvhrfsp\",\"address\":\"uagrttikteusqc\"}},\"outbound\":{\"assigned\":{\"ubgq\":{\"address\":\"cqc\"},\"metttwgd\":{\"address\":\"brta\"},\"seypxiutcxapz\":{\"address\":\"lqxihhrmooiz\"},\"petogebjox\":{\"address\":\"y\"}}}},\"manufacturer\":\"hvnh\",\"model\":\"brqnkkzjcjb\",\"operatingSystem\":\"gaehvvibrxjjst\",\"operatingSystemVersion\":\"beitpkx\",\"attributes\":{},\"discoveryId\":\"oobklftidgfcwq\",\"version\":5707153626073678719,\"provisioningState\":\"Accepted\"},\"extendedLocation\":{\"type\":\"qxzhem\",\"name\":\"yhohujswtwkozzwc\"},\"location\":\"kb\",\"tags\":{\"alhsnvkc\":\"fajnjwltlwtjjguk\",\"mlnwiaaomylweazu\":\"mxzrpoa\",\"hwwn\":\"cse\",\"ousnfepgfewe\":\"jhlfzswpchwahf\"},\"id\":\"wlyxgncxyk\",\"name\":\"hdjhlimmbcx\",\"type\":\"h\"}],\"nextLink\":\"po\"}")
+ "{\"value\":[{\"properties\":{\"externalDeviceId\":\"lvofqzhvfcibyfmo\",\"endpoints\":{\"inbound\":{\"rkambt\":{\"endpointType\":\"kjpvdwxf\",\"address\":\"wiivwzjbhyzsx\"},\"tjb\":{\"endpointType\":\"negvmnvuqe\",\"address\":\"vldspa\"},\"zapeewchpx\":{\"endpointType\":\"kdmflvestmjlx\",\"address\":\"ril\"},\"qedcgzulwm\":{\"endpointType\":\"ktwkuziyc\",\"address\":\"levufuztcktyhj\"}},\"outbound\":{\"assigned\":{\"rr\":{\"address\":\"z\"}}}},\"manufacturer\":\"pglydz\",\"model\":\"rvqeevtoepryutn\",\"operatingSystem\":\"tpzdmovzvfvaawzq\",\"operatingSystemVersion\":\"f\",\"attributes\":{\"glae\":\"\\\"dataur\\\"\"},\"discoveryId\":\"xndticokpvzmlqtm\",\"version\":1903894675207143490,\"provisioningState\":\"Canceled\"},\"extendedLocation\":{\"type\":\"bf\",\"name\":\"rclnpkc\"},\"location\":\"yzriykhy\",\"tags\":{\"lmxhomdyn\":\"vjlboxqvk\",\"raauzzpt\":\"dwdigumb\",\"ysdzhez\":\"a\",\"qyuvvfonkp\":\"wva\"},\"id\":\"hqyikvy\",\"name\":\"auy\",\"type\":\"vluwmncsttij\"}],\"nextLink\":\"bvpoekrsgsgbdhu\"}")
.toObject(NamespaceDiscoveredDeviceListResult.class);
- Assertions.assertEquals("kkdmfl", model.value().get(0).location());
- Assertions.assertEquals("tmjlx", model.value().get(0).tags().get("ril"));
- Assertions.assertEquals("fkyrk", model.value().get(0).properties().externalDeviceId());
- Assertions.assertEquals("iogsjkmnwq",
- model.value().get(0).properties().endpoints().inbound().get("m").endpointType());
- Assertions.assertEquals("nobaiyhddviacegf",
- model.value().get(0).properties().endpoints().inbound().get("m").address());
- Assertions.assertEquals("puunnoxyhkxgqd",
- model.value().get(0).properties().endpoints().outbound().assigned().get("rihpfhoq").address());
- Assertions.assertEquals("gogtqxepnylbf", model.value().get(0).properties().manufacturer());
- Assertions.assertEquals("jlyjtlvofq", model.value().get(0).properties().model());
- Assertions.assertEquals("vfcibyfmowux", model.value().get(0).properties().operatingSystem());
- Assertions.assertEquals("jpvd", model.value().get(0).properties().operatingSystemVersion());
- Assertions.assertEquals("zwiivwzjbhyzs", model.value().get(0).properties().discoveryId());
- Assertions.assertEquals(7980088587869256386L, model.value().get(0).properties().version());
- Assertions.assertEquals("mbtrnegvmnvu", model.value().get(0).extendedLocation().type());
- Assertions.assertEquals("eqvldspast", model.value().get(0).extendedLocation().name());
- Assertions.assertEquals("po", model.nextLink());
+ Assertions.assertEquals("yzriykhy", model.value().get(0).location());
+ Assertions.assertEquals("vjlboxqvk", model.value().get(0).tags().get("lmxhomdyn"));
+ Assertions.assertEquals("lvofqzhvfcibyfmo", model.value().get(0).properties().externalDeviceId());
+ Assertions.assertEquals("kjpvdwxf",
+ model.value().get(0).properties().endpoints().inbound().get("rkambt").endpointType());
+ Assertions.assertEquals("wiivwzjbhyzsx",
+ model.value().get(0).properties().endpoints().inbound().get("rkambt").address());
+ Assertions.assertEquals("z",
+ model.value().get(0).properties().endpoints().outbound().assigned().get("rr").address());
+ Assertions.assertEquals("pglydz", model.value().get(0).properties().manufacturer());
+ Assertions.assertEquals("rvqeevtoepryutn", model.value().get(0).properties().model());
+ Assertions.assertEquals("tpzdmovzvfvaawzq", model.value().get(0).properties().operatingSystem());
+ Assertions.assertEquals("f", model.value().get(0).properties().operatingSystemVersion());
+ Assertions.assertEquals("xndticokpvzmlqtm", model.value().get(0).properties().discoveryId());
+ Assertions.assertEquals(1903894675207143490L, model.value().get(0).properties().version());
+ Assertions.assertEquals("bf", model.value().get(0).extendedLocation().type());
+ Assertions.assertEquals("rclnpkc", model.value().get(0).extendedLocation().name());
+ Assertions.assertEquals("bvpoekrsgsgbdhu", model.nextLink());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicePropertiesTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicePropertiesTests.java
index 66dc90fdcf4a..91b26503d1e3 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicePropertiesTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicePropertiesTests.java
@@ -11,6 +11,7 @@
import com.azure.resourcemanager.deviceregistry.models.DiscoveredMessagingEndpoints;
import com.azure.resourcemanager.deviceregistry.models.DiscoveredOutboundEndpoints;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceProperties;
+import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.HashMap;
@@ -21,71 +22,79 @@ public final class NamespaceDiscoveredDevicePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredDeviceProperties model = BinaryData.fromString(
- "{\"externalDeviceId\":\"u\",\"endpoints\":{\"inbound\":{\"yxgtczh\":{\"endpointType\":\"wcw\",\"address\":\"qioknssxmojm\",\"version\":\"p\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Certificate\",\"UsernamePassword\",\"Certificate\"],\"additionalConfiguration\":\"fz\",\"lastUpdatedOn\":\"2021-04-14T17:30:15Z\"}},\"outbound\":{\"assigned\":{\"iplt\":{\"endpointType\":\"sdshmkxmaehvb\",\"address\":\"xu\"},\"kpyklyhp\":{\"endpointType\":\"htba\",\"address\":\"kgxywr\"}}}},\"manufacturer\":\"odpvruudlgzib\",\"model\":\"ostgkts\",\"operatingSystem\":\"dxeclzedqbcvh\",\"operatingSystemVersion\":\"h\",\"attributes\":{},\"discoveryId\":\"dqkdlwwqfbu\",\"version\":3679022657074806419,\"provisioningState\":\"Accepted\"}")
+ "{\"externalDeviceId\":\"pxehuwrykqga\",\"endpoints\":{\"inbound\":{\"ftul\":{\"endpointType\":\"iklbydvkhb\",\"address\":\"jdz\",\"version\":\"cvdsrhnj\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Anonymous\",\"Anonymous\"],\"additionalConfiguration\":\"ovqfzge\",\"lastUpdatedOn\":\"2021-03-28T01:38:17Z\"},\"x\":{\"endpointType\":\"ltducea\",\"address\":\"tmczuomejwcwwqi\",\"version\":\"nssxmojmsvpk\",\"supportedAuthenticationMethods\":[\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"cfzq\",\"lastUpdatedOn\":\"2021-11-25T04:25:13Z\"}},\"outbound\":{\"assigned\":{\"xu\":{\"endpointType\":\"heyd\",\"address\":\"sdshmkxmaehvb\"},\"kpyklyhp\":{\"endpointType\":\"pltfnhtba\",\"address\":\"kgxywr\"}}}},\"manufacturer\":\"odpvruudlgzib\",\"model\":\"ostgkts\",\"operatingSystem\":\"dxeclzedqbcvh\",\"operatingSystemVersion\":\"h\",\"attributes\":{\"lkxt\":\"\\\"datadqkdlwwqfbu\\\"\",\"fwsrtawcoezbrhu\":\"\\\"dataqjfsmlmbtxhw\\\"\",\"dyg\":\"\\\"dataskh\\\"\"},\"discoveryId\":\"ookk\",\"version\":9221028808795014470,\"provisioningState\":\"Canceled\"}")
.toObject(NamespaceDiscoveredDeviceProperties.class);
- Assertions.assertEquals("u", model.externalDeviceId());
- Assertions.assertEquals("wcw", model.endpoints().inbound().get("yxgtczh").endpointType());
- Assertions.assertEquals("qioknssxmojm", model.endpoints().inbound().get("yxgtczh").address());
- Assertions.assertEquals("p", model.endpoints().inbound().get("yxgtczh").version());
+ Assertions.assertEquals("pxehuwrykqga", model.externalDeviceId());
+ Assertions.assertEquals("iklbydvkhb", model.endpoints().inbound().get("ftul").endpointType());
+ Assertions.assertEquals("jdz", model.endpoints().inbound().get("ftul").address());
+ Assertions.assertEquals("cvdsrhnj", model.endpoints().inbound().get("ftul").version());
Assertions.assertEquals(AuthenticationMethod.CERTIFICATE,
- model.endpoints().inbound().get("yxgtczh").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("fz", model.endpoints().inbound().get("yxgtczh").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-14T17:30:15Z"),
- model.endpoints().inbound().get("yxgtczh").lastUpdatedOn());
- Assertions.assertEquals("sdshmkxmaehvb", model.endpoints().outbound().assigned().get("iplt").endpointType());
- Assertions.assertEquals("xu", model.endpoints().outbound().assigned().get("iplt").address());
+ model.endpoints().inbound().get("ftul").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("ovqfzge", model.endpoints().inbound().get("ftul").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-28T01:38:17Z"),
+ model.endpoints().inbound().get("ftul").lastUpdatedOn());
+ Assertions.assertEquals("heyd", model.endpoints().outbound().assigned().get("xu").endpointType());
+ Assertions.assertEquals("sdshmkxmaehvb", model.endpoints().outbound().assigned().get("xu").address());
Assertions.assertEquals("odpvruudlgzib", model.manufacturer());
Assertions.assertEquals("ostgkts", model.model());
Assertions.assertEquals("dxeclzedqbcvh", model.operatingSystem());
Assertions.assertEquals("h", model.operatingSystemVersion());
- Assertions.assertEquals("dqkdlwwqfbu", model.discoveryId());
- Assertions.assertEquals(3679022657074806419L, model.version());
+ Assertions.assertEquals("ookk", model.discoveryId());
+ Assertions.assertEquals(9221028808795014470L, model.version());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
NamespaceDiscoveredDeviceProperties model
- = new NamespaceDiscoveredDeviceProperties().withExternalDeviceId("u")
- .withEndpoints(
- new DiscoveredMessagingEndpoints()
- .withInbound(
- mapOf("yxgtczh",
- new DiscoveredInboundEndpoints().withEndpointType("wcw")
- .withAddress("qioknssxmojm")
- .withVersion("p")
- .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE,
- AuthenticationMethod.CERTIFICATE, AuthenticationMethod.USERNAME_PASSWORD,
- AuthenticationMethod.CERTIFICATE))
- .withAdditionalConfiguration("fz")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-04-14T17:30:15Z"))))
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("iplt",
- new DeviceMessagingEndpoint().withEndpointType("sdshmkxmaehvb").withAddress("xu"),
- "kpyklyhp", new DeviceMessagingEndpoint().withEndpointType("htba").withAddress("kgxywr")))))
+ = new NamespaceDiscoveredDeviceProperties().withExternalDeviceId("pxehuwrykqga")
+ .withEndpoints(new DiscoveredMessagingEndpoints()
+ .withInbound(mapOf("ftul",
+ new DiscoveredInboundEndpoints().withEndpointType("iklbydvkhb")
+ .withAddress("jdz")
+ .withVersion("cvdsrhnj")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE,
+ AuthenticationMethod.ANONYMOUS, AuthenticationMethod.ANONYMOUS))
+ .withAdditionalConfiguration("ovqfzge")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-03-28T01:38:17Z")),
+ "x",
+ new DiscoveredInboundEndpoints().withEndpointType("ltducea")
+ .withAddress("tmczuomejwcwwqi")
+ .withVersion("nssxmojmsvpk")
+ .withSupportedAuthenticationMethods(
+ Arrays.asList(AuthenticationMethod.CERTIFICATE, AuthenticationMethod.USERNAME_PASSWORD))
+ .withAdditionalConfiguration("cfzq")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-11-25T04:25:13Z"))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("xu",
+ new DeviceMessagingEndpoint().withEndpointType("heyd").withAddress("sdshmkxmaehvb"), "kpyklyhp",
+ new DeviceMessagingEndpoint().withEndpointType("pltfnhtba").withAddress("kgxywr")))))
.withManufacturer("odpvruudlgzib")
.withModel("ostgkts")
.withOperatingSystem("dxeclzedqbcvh")
.withOperatingSystemVersion("h")
- .withAttributes(mapOf())
- .withDiscoveryId("dqkdlwwqfbu")
- .withVersion(3679022657074806419L);
+ .withAttributes(mapOf("lkxt",
+ BinaryData.fromBytes("\"datadqkdlwwqfbu\"".getBytes(StandardCharsets.UTF_8)), "fwsrtawcoezbrhu",
+ BinaryData.fromBytes("\"dataqjfsmlmbtxhw\"".getBytes(StandardCharsets.UTF_8)), "dyg",
+ BinaryData.fromBytes("\"dataskh\"".getBytes(StandardCharsets.UTF_8))))
+ .withDiscoveryId("ookk")
+ .withVersion(9221028808795014470L);
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredDeviceProperties.class);
- Assertions.assertEquals("u", model.externalDeviceId());
- Assertions.assertEquals("wcw", model.endpoints().inbound().get("yxgtczh").endpointType());
- Assertions.assertEquals("qioknssxmojm", model.endpoints().inbound().get("yxgtczh").address());
- Assertions.assertEquals("p", model.endpoints().inbound().get("yxgtczh").version());
+ Assertions.assertEquals("pxehuwrykqga", model.externalDeviceId());
+ Assertions.assertEquals("iklbydvkhb", model.endpoints().inbound().get("ftul").endpointType());
+ Assertions.assertEquals("jdz", model.endpoints().inbound().get("ftul").address());
+ Assertions.assertEquals("cvdsrhnj", model.endpoints().inbound().get("ftul").version());
Assertions.assertEquals(AuthenticationMethod.CERTIFICATE,
- model.endpoints().inbound().get("yxgtczh").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("fz", model.endpoints().inbound().get("yxgtczh").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-14T17:30:15Z"),
- model.endpoints().inbound().get("yxgtczh").lastUpdatedOn());
- Assertions.assertEquals("sdshmkxmaehvb", model.endpoints().outbound().assigned().get("iplt").endpointType());
- Assertions.assertEquals("xu", model.endpoints().outbound().assigned().get("iplt").address());
+ model.endpoints().inbound().get("ftul").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("ovqfzge", model.endpoints().inbound().get("ftul").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-28T01:38:17Z"),
+ model.endpoints().inbound().get("ftul").lastUpdatedOn());
+ Assertions.assertEquals("heyd", model.endpoints().outbound().assigned().get("xu").endpointType());
+ Assertions.assertEquals("sdshmkxmaehvb", model.endpoints().outbound().assigned().get("xu").address());
Assertions.assertEquals("odpvruudlgzib", model.manufacturer());
Assertions.assertEquals("ostgkts", model.model());
Assertions.assertEquals("dxeclzedqbcvh", model.operatingSystem());
Assertions.assertEquals("h", model.operatingSystemVersion());
- Assertions.assertEquals("dqkdlwwqfbu", model.discoveryId());
- Assertions.assertEquals(3679022657074806419L, model.version());
+ Assertions.assertEquals("ookk", model.discoveryId());
+ Assertions.assertEquals(9221028808795014470L, model.version());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdatePropertiesTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdatePropertiesTests.java
index ecf4f7643d3f..5154a14bc958 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdatePropertiesTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdatePropertiesTests.java
@@ -11,6 +11,7 @@
import com.azure.resourcemanager.deviceregistry.models.DiscoveredMessagingEndpoints;
import com.azure.resourcemanager.deviceregistry.models.DiscoveredOutboundEndpoints;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceUpdateProperties;
+import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.HashMap;
@@ -21,61 +22,88 @@ public final class NamespaceDiscoveredDeviceUpdatePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredDeviceUpdateProperties model = BinaryData.fromString(
- "{\"externalDeviceId\":\"okqdzfvaz\",\"endpoints\":{\"inbound\":{\"zuruocbgo\":{\"endpointType\":\"frqttbajlkatnw\",\"address\":\"yiopi\",\"version\":\"qqfkuv\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"Certificate\"],\"additionalConfiguration\":\"ligovibrxkpm\",\"lastUpdatedOn\":\"2021-08-05T02:44:40Z\"}},\"outbound\":{\"assigned\":{\"dabg\":{\"endpointType\":\"eoybfhjxakvvjgs\",\"address\":\"ordilmywwtkgkxny\"},\"yakk\":{\"endpointType\":\"udtjuewbc\",\"address\":\"hxuuwhcjyxccybvp\"}}}},\"operatingSystemVersion\":\"zp\",\"attributes\":{},\"discoveryId\":\"plmag\",\"version\":5000537664273654881}")
+ "{\"externalDeviceId\":\"tsttktlahbq\",\"endpoints\":{\"inbound\":{\"ajlkatnw\":{\"endpointType\":\"tgzukxitmmqt\",\"address\":\"qqqxhrnxrx\",\"version\":\"juisavokqdzf\",\"supportedAuthenticationMethods\":[\"UsernamePassword\"],\"additionalConfiguration\":\"jlfrq\",\"lastUpdatedOn\":\"2021-11-20T09:53:01Z\"},\"cbgoor\":{\"endpointType\":\"yiopi\",\"address\":\"kqqfk\",\"version\":\"s\",\"supportedAuthenticationMethods\":[\"Certificate\",\"UsernamePassword\",\"Certificate\"],\"additionalConfiguration\":\"govibrxkpmloazu\",\"lastUpdatedOn\":\"2021-08-28T07:45:52Z\"},\"gkxnyedabg\":{\"endpointType\":\"te\",\"address\":\"ybfhjxa\",\"version\":\"vjgsl\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"UsernamePassword\"],\"additionalConfiguration\":\"yw\",\"lastUpdatedOn\":\"2021-11-21T08:03:25Z\"},\"yohpfkyrkdbdgiog\":{\"endpointType\":\"vudtjuewbcihx\",\"address\":\"uwhcjyxccybv\",\"version\":\"yakk\",\"supportedAuthenticationMethods\":[\"Anonymous\"],\"additionalConfiguration\":\"gwjplmag\",\"lastUpdatedOn\":\"2021-10-13T06:57:05Z\"}},\"outbound\":{\"assigned\":{\"egfnmntfpmvmemfn\":{\"endpointType\":\"nwqjnoba\",\"address\":\"yhddvia\"},\"db\":{\"endpointType\":\"dwvvba\",\"address\":\"xlllchp\"},\"uluqypfc\":{\"endpointType\":\"vwrdnhfukuvsj\",\"address\":\"swsmys\"},\"bm\":{\"endpointType\":\"er\",\"address\":\"hp\"}}}},\"operatingSystemVersion\":\"jbabwidf\",\"attributes\":{\"drihpfhoqcaaewda\":\"\\\"dataspuunnoxyhkxgq\\\"\",\"xkzb\":\"\\\"datamdjvlpj\\\"\",\"ncj\":\"\\\"datamsgeivsiykzk\\\"\",\"y\":\"\\\"dataxonbzoggculapz\\\"\"},\"discoveryId\":\"gogtqxepnylbf\",\"version\":1493450375670588879}")
.toObject(NamespaceDiscoveredDeviceUpdateProperties.class);
- Assertions.assertEquals("okqdzfvaz", model.externalDeviceId());
- Assertions.assertEquals("frqttbajlkatnw", model.endpoints().inbound().get("zuruocbgo").endpointType());
- Assertions.assertEquals("yiopi", model.endpoints().inbound().get("zuruocbgo").address());
- Assertions.assertEquals("qqfkuv", model.endpoints().inbound().get("zuruocbgo").version());
+ Assertions.assertEquals("tsttktlahbq", model.externalDeviceId());
+ Assertions.assertEquals("tgzukxitmmqt", model.endpoints().inbound().get("ajlkatnw").endpointType());
+ Assertions.assertEquals("qqqxhrnxrx", model.endpoints().inbound().get("ajlkatnw").address());
+ Assertions.assertEquals("juisavokqdzf", model.endpoints().inbound().get("ajlkatnw").version());
Assertions.assertEquals(AuthenticationMethod.USERNAME_PASSWORD,
- model.endpoints().inbound().get("zuruocbgo").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("ligovibrxkpm", model.endpoints().inbound().get("zuruocbgo").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-08-05T02:44:40Z"),
- model.endpoints().inbound().get("zuruocbgo").lastUpdatedOn());
- Assertions.assertEquals("eoybfhjxakvvjgs", model.endpoints().outbound().assigned().get("dabg").endpointType());
- Assertions.assertEquals("ordilmywwtkgkxny", model.endpoints().outbound().assigned().get("dabg").address());
- Assertions.assertEquals("zp", model.operatingSystemVersion());
- Assertions.assertEquals("plmag", model.discoveryId());
- Assertions.assertEquals(5000537664273654881L, model.version());
+ model.endpoints().inbound().get("ajlkatnw").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("jlfrq", model.endpoints().inbound().get("ajlkatnw").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-11-20T09:53:01Z"),
+ model.endpoints().inbound().get("ajlkatnw").lastUpdatedOn());
+ Assertions.assertEquals("nwqjnoba",
+ model.endpoints().outbound().assigned().get("egfnmntfpmvmemfn").endpointType());
+ Assertions.assertEquals("yhddvia", model.endpoints().outbound().assigned().get("egfnmntfpmvmemfn").address());
+ Assertions.assertEquals("jbabwidf", model.operatingSystemVersion());
+ Assertions.assertEquals("gogtqxepnylbf", model.discoveryId());
+ Assertions.assertEquals(1493450375670588879L, model.version());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredDeviceUpdateProperties model
- = new NamespaceDiscoveredDeviceUpdateProperties().withExternalDeviceId("okqdzfvaz")
- .withEndpoints(new DiscoveredMessagingEndpoints()
- .withInbound(mapOf("zuruocbgo",
- new DiscoveredInboundEndpoints().withEndpointType("frqttbajlkatnw")
- .withAddress("yiopi")
- .withVersion("qqfkuv")
- .withSupportedAuthenticationMethods(
- Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD, AuthenticationMethod.CERTIFICATE))
- .withAdditionalConfiguration("ligovibrxkpm")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-08-05T02:44:40Z"))))
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("dabg",
- new DeviceMessagingEndpoint().withEndpointType("eoybfhjxakvvjgs")
- .withAddress("ordilmywwtkgkxny"),
- "yakk",
- new DeviceMessagingEndpoint().withEndpointType("udtjuewbc").withAddress("hxuuwhcjyxccybvp")))))
- .withOperatingSystemVersion("zp")
- .withAttributes(mapOf())
- .withDiscoveryId("plmag")
- .withVersion(5000537664273654881L);
+ NamespaceDiscoveredDeviceUpdateProperties model = new NamespaceDiscoveredDeviceUpdateProperties()
+ .withExternalDeviceId("tsttktlahbq")
+ .withEndpoints(new DiscoveredMessagingEndpoints()
+ .withInbound(mapOf("ajlkatnw", new DiscoveredInboundEndpoints()
+ .withEndpointType("tgzukxitmmqt")
+ .withAddress("qqqxhrnxrx")
+ .withVersion("juisavokqdzf")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD))
+ .withAdditionalConfiguration("jlfrq")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-11-20T09:53:01Z")), "cbgoor",
+ new DiscoveredInboundEndpoints().withEndpointType("yiopi")
+ .withAddress("kqqfk")
+ .withVersion("s")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE,
+ AuthenticationMethod.USERNAME_PASSWORD, AuthenticationMethod.CERTIFICATE))
+ .withAdditionalConfiguration("govibrxkpmloazu")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-08-28T07:45:52Z")),
+ "gkxnyedabg",
+ new DiscoveredInboundEndpoints().withEndpointType("te")
+ .withAddress("ybfhjxa")
+ .withVersion("vjgsl")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD,
+ AuthenticationMethod.USERNAME_PASSWORD))
+ .withAdditionalConfiguration("yw")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-11-21T08:03:25Z")),
+ "yohpfkyrkdbdgiog",
+ new DiscoveredInboundEndpoints().withEndpointType("vudtjuewbcihx")
+ .withAddress("uwhcjyxccybv")
+ .withVersion("yakk")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.ANONYMOUS))
+ .withAdditionalConfiguration("gwjplmag")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-10-13T06:57:05Z"))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("egfnmntfpmvmemfn",
+ new DeviceMessagingEndpoint().withEndpointType("nwqjnoba").withAddress("yhddvia"), "db",
+ new DeviceMessagingEndpoint().withEndpointType("dwvvba").withAddress("xlllchp"), "uluqypfc",
+ new DeviceMessagingEndpoint().withEndpointType("vwrdnhfukuvsj").withAddress("swsmys"), "bm",
+ new DeviceMessagingEndpoint().withEndpointType("er").withAddress("hp")))))
+ .withOperatingSystemVersion("jbabwidf")
+ .withAttributes(mapOf("drihpfhoqcaaewda",
+ BinaryData.fromBytes("\"dataspuunnoxyhkxgq\"".getBytes(StandardCharsets.UTF_8)), "xkzb",
+ BinaryData.fromBytes("\"datamdjvlpj\"".getBytes(StandardCharsets.UTF_8)), "ncj",
+ BinaryData.fromBytes("\"datamsgeivsiykzk\"".getBytes(StandardCharsets.UTF_8)), "y",
+ BinaryData.fromBytes("\"dataxonbzoggculapz\"".getBytes(StandardCharsets.UTF_8))))
+ .withDiscoveryId("gogtqxepnylbf")
+ .withVersion(1493450375670588879L);
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredDeviceUpdateProperties.class);
- Assertions.assertEquals("okqdzfvaz", model.externalDeviceId());
- Assertions.assertEquals("frqttbajlkatnw", model.endpoints().inbound().get("zuruocbgo").endpointType());
- Assertions.assertEquals("yiopi", model.endpoints().inbound().get("zuruocbgo").address());
- Assertions.assertEquals("qqfkuv", model.endpoints().inbound().get("zuruocbgo").version());
+ Assertions.assertEquals("tsttktlahbq", model.externalDeviceId());
+ Assertions.assertEquals("tgzukxitmmqt", model.endpoints().inbound().get("ajlkatnw").endpointType());
+ Assertions.assertEquals("qqqxhrnxrx", model.endpoints().inbound().get("ajlkatnw").address());
+ Assertions.assertEquals("juisavokqdzf", model.endpoints().inbound().get("ajlkatnw").version());
Assertions.assertEquals(AuthenticationMethod.USERNAME_PASSWORD,
- model.endpoints().inbound().get("zuruocbgo").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("ligovibrxkpm", model.endpoints().inbound().get("zuruocbgo").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-08-05T02:44:40Z"),
- model.endpoints().inbound().get("zuruocbgo").lastUpdatedOn());
- Assertions.assertEquals("eoybfhjxakvvjgs", model.endpoints().outbound().assigned().get("dabg").endpointType());
- Assertions.assertEquals("ordilmywwtkgkxny", model.endpoints().outbound().assigned().get("dabg").address());
- Assertions.assertEquals("zp", model.operatingSystemVersion());
- Assertions.assertEquals("plmag", model.discoveryId());
- Assertions.assertEquals(5000537664273654881L, model.version());
+ model.endpoints().inbound().get("ajlkatnw").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("jlfrq", model.endpoints().inbound().get("ajlkatnw").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-11-20T09:53:01Z"),
+ model.endpoints().inbound().get("ajlkatnw").lastUpdatedOn());
+ Assertions.assertEquals("nwqjnoba",
+ model.endpoints().outbound().assigned().get("egfnmntfpmvmemfn").endpointType());
+ Assertions.assertEquals("yhddvia", model.endpoints().outbound().assigned().get("egfnmntfpmvmemfn").address());
+ Assertions.assertEquals("jbabwidf", model.operatingSystemVersion());
+ Assertions.assertEquals("gogtqxepnylbf", model.discoveryId());
+ Assertions.assertEquals(1493450375670588879L, model.version());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdateTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdateTests.java
index 0687c2e88dc7..6705254221cc 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdateTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDeviceUpdateTests.java
@@ -12,6 +12,7 @@
import com.azure.resourcemanager.deviceregistry.models.DiscoveredOutboundEndpoints;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceUpdate;
import com.azure.resourcemanager.deviceregistry.models.NamespaceDiscoveredDeviceUpdateProperties;
+import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.HashMap;
@@ -22,78 +23,68 @@ public final class NamespaceDiscoveredDeviceUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredDeviceUpdate model = BinaryData.fromString(
- "{\"tags\":{\"nhxmsi\":\"hhg\",\"ufiqndieuzaof\":\"fomiloxgg\",\"cubiipuipw\":\"chvcyyysfgdo\"},\"properties\":{\"externalDeviceId\":\"nmacj\",\"endpoints\":{\"inbound\":{\"nszqujiz\":{\"endpointType\":\"zshq\",\"address\":\"cimpevfg\",\"version\":\"lrri\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"Certificate\"],\"additionalConfiguration\":\"smiccwrwfscj\",\"lastUpdatedOn\":\"2021-01-04T01:05:07Z\"}},\"outbound\":{\"assigned\":{\"xoi\":{\"endpointType\":\"ytibyow\",\"address\":\"blgyavutpthj\"},\"lqol\":{\"endpointType\":\"sks\",\"address\":\"pi\"},\"gfbkjubdyh\":{\"endpointType\":\"kcgxxlxsffgcvi\",\"address\":\"qzdwlvwlyoup\"},\"ctxtgzukxi\":{\"endpointType\":\"fminsgowzf\",\"address\":\"tsttktlahbq\"}}}},\"operatingSystemVersion\":\"m\",\"attributes\":{},\"discoveryId\":\"qqxhrnxrxcpj\",\"version\":250519210827189161}}")
+ "{\"tags\":{\"qonmacj\":\"w\",\"izsh\":\"k\"},\"properties\":{\"externalDeviceId\":\"impevf\",\"endpoints\":{\"inbound\":{\"lgy\":{\"endpointType\":\"rrilbywdxsmic\",\"address\":\"wrwfscjfnyns\",\"version\":\"ujiz\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"Certificate\",\"Anonymous\",\"Anonymous\"],\"additionalConfiguration\":\"yo\",\"lastUpdatedOn\":\"2021-09-24T22:06:57Z\"}},\"outbound\":{\"assigned\":{\"pi\":{\"endpointType\":\"pthjoxo\",\"address\":\"smsks\"}}}},\"operatingSystemVersion\":\"qolj\",\"attributes\":{\"dwl\":\"\\\"datagxxlxsffgcvizq\\\"\",\"youpfgfbkj\":\"\\\"dataw\\\"\"},\"discoveryId\":\"dyhgkfminsg\",\"version\":5465402510748989819}}")
.toObject(NamespaceDiscoveredDeviceUpdate.class);
- Assertions.assertEquals("hhg", model.tags().get("nhxmsi"));
- Assertions.assertEquals("nmacj", model.properties().externalDeviceId());
- Assertions.assertEquals("zshq", model.properties().endpoints().inbound().get("nszqujiz").endpointType());
- Assertions.assertEquals("cimpevfg", model.properties().endpoints().inbound().get("nszqujiz").address());
- Assertions.assertEquals("lrri", model.properties().endpoints().inbound().get("nszqujiz").version());
- Assertions.assertEquals(AuthenticationMethod.USERNAME_PASSWORD,
- model.properties().endpoints().inbound().get("nszqujiz").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("smiccwrwfscj",
- model.properties().endpoints().inbound().get("nszqujiz").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-04T01:05:07Z"),
- model.properties().endpoints().inbound().get("nszqujiz").lastUpdatedOn());
- Assertions.assertEquals("ytibyow",
- model.properties().endpoints().outbound().assigned().get("xoi").endpointType());
- Assertions.assertEquals("blgyavutpthj",
- model.properties().endpoints().outbound().assigned().get("xoi").address());
- Assertions.assertEquals("m", model.properties().operatingSystemVersion());
- Assertions.assertEquals("qqxhrnxrxcpj", model.properties().discoveryId());
- Assertions.assertEquals(250519210827189161L, model.properties().version());
+ Assertions.assertEquals("w", model.tags().get("qonmacj"));
+ Assertions.assertEquals("impevf", model.properties().externalDeviceId());
+ Assertions.assertEquals("rrilbywdxsmic", model.properties().endpoints().inbound().get("lgy").endpointType());
+ Assertions.assertEquals("wrwfscjfnyns", model.properties().endpoints().inbound().get("lgy").address());
+ Assertions.assertEquals("ujiz", model.properties().endpoints().inbound().get("lgy").version());
+ Assertions.assertEquals(AuthenticationMethod.ANONYMOUS,
+ model.properties().endpoints().inbound().get("lgy").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("yo", model.properties().endpoints().inbound().get("lgy").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-24T22:06:57Z"),
+ model.properties().endpoints().inbound().get("lgy").lastUpdatedOn());
+ Assertions.assertEquals("pthjoxo",
+ model.properties().endpoints().outbound().assigned().get("pi").endpointType());
+ Assertions.assertEquals("smsks", model.properties().endpoints().outbound().assigned().get("pi").address());
+ Assertions.assertEquals("qolj", model.properties().operatingSystemVersion());
+ Assertions.assertEquals("dyhgkfminsg", model.properties().discoveryId());
+ Assertions.assertEquals(5465402510748989819L, model.properties().version());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
NamespaceDiscoveredDeviceUpdate model
- = new NamespaceDiscoveredDeviceUpdate()
- .withTags(mapOf("nhxmsi", "hhg", "ufiqndieuzaof", "fomiloxgg", "cubiipuipw", "chvcyyysfgdo"))
+ = new NamespaceDiscoveredDeviceUpdate().withTags(mapOf("qonmacj", "w", "izsh", "k"))
.withProperties(
- new NamespaceDiscoveredDeviceUpdateProperties().withExternalDeviceId("nmacj")
+ new NamespaceDiscoveredDeviceUpdateProperties().withExternalDeviceId("impevf")
.withEndpoints(
new DiscoveredMessagingEndpoints()
- .withInbound(mapOf("nszqujiz",
- new DiscoveredInboundEndpoints().withEndpointType("zshq")
- .withAddress("cimpevfg")
- .withVersion("lrri")
+ .withInbound(mapOf("lgy",
+ new DiscoveredInboundEndpoints().withEndpointType("rrilbywdxsmic")
+ .withAddress("wrwfscjfnyns")
+ .withVersion("ujiz")
.withSupportedAuthenticationMethods(Arrays.asList(
- AuthenticationMethod.USERNAME_PASSWORD, AuthenticationMethod.CERTIFICATE))
- .withAdditionalConfiguration("smiccwrwfscj")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-01-04T01:05:07Z"))))
- .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("xoi",
- new DeviceMessagingEndpoint().withEndpointType("ytibyow")
- .withAddress("blgyavutpthj"),
- "lqol", new DeviceMessagingEndpoint().withEndpointType("sks").withAddress("pi"),
- "gfbkjubdyh",
- new DeviceMessagingEndpoint().withEndpointType("kcgxxlxsffgcvi")
- .withAddress("qzdwlvwlyoup"),
- "ctxtgzukxi",
- new DeviceMessagingEndpoint().withEndpointType("fminsgowzf")
- .withAddress("tsttktlahbq")))))
- .withOperatingSystemVersion("m")
- .withAttributes(mapOf())
- .withDiscoveryId("qqxhrnxrxcpj")
- .withVersion(250519210827189161L));
+ AuthenticationMethod.ANONYMOUS, AuthenticationMethod.CERTIFICATE,
+ AuthenticationMethod.ANONYMOUS, AuthenticationMethod.ANONYMOUS))
+ .withAdditionalConfiguration("yo")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-09-24T22:06:57Z"))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(mapOf("pi",
+ new DeviceMessagingEndpoint().withEndpointType("pthjoxo").withAddress("smsks")))))
+ .withOperatingSystemVersion("qolj")
+ .withAttributes(mapOf("dwl",
+ BinaryData.fromBytes("\"datagxxlxsffgcvizq\"".getBytes(StandardCharsets.UTF_8)),
+ "youpfgfbkj", BinaryData.fromBytes("\"dataw\"".getBytes(StandardCharsets.UTF_8))))
+ .withDiscoveryId("dyhgkfminsg")
+ .withVersion(5465402510748989819L));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredDeviceUpdate.class);
- Assertions.assertEquals("hhg", model.tags().get("nhxmsi"));
- Assertions.assertEquals("nmacj", model.properties().externalDeviceId());
- Assertions.assertEquals("zshq", model.properties().endpoints().inbound().get("nszqujiz").endpointType());
- Assertions.assertEquals("cimpevfg", model.properties().endpoints().inbound().get("nszqujiz").address());
- Assertions.assertEquals("lrri", model.properties().endpoints().inbound().get("nszqujiz").version());
- Assertions.assertEquals(AuthenticationMethod.USERNAME_PASSWORD,
- model.properties().endpoints().inbound().get("nszqujiz").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("smiccwrwfscj",
- model.properties().endpoints().inbound().get("nszqujiz").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-04T01:05:07Z"),
- model.properties().endpoints().inbound().get("nszqujiz").lastUpdatedOn());
- Assertions.assertEquals("ytibyow",
- model.properties().endpoints().outbound().assigned().get("xoi").endpointType());
- Assertions.assertEquals("blgyavutpthj",
- model.properties().endpoints().outbound().assigned().get("xoi").address());
- Assertions.assertEquals("m", model.properties().operatingSystemVersion());
- Assertions.assertEquals("qqxhrnxrxcpj", model.properties().discoveryId());
- Assertions.assertEquals(250519210827189161L, model.properties().version());
+ Assertions.assertEquals("w", model.tags().get("qonmacj"));
+ Assertions.assertEquals("impevf", model.properties().externalDeviceId());
+ Assertions.assertEquals("rrilbywdxsmic", model.properties().endpoints().inbound().get("lgy").endpointType());
+ Assertions.assertEquals("wrwfscjfnyns", model.properties().endpoints().inbound().get("lgy").address());
+ Assertions.assertEquals("ujiz", model.properties().endpoints().inbound().get("lgy").version());
+ Assertions.assertEquals(AuthenticationMethod.ANONYMOUS,
+ model.properties().endpoints().inbound().get("lgy").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("yo", model.properties().endpoints().inbound().get("lgy").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-24T22:06:57Z"),
+ model.properties().endpoints().inbound().get("lgy").lastUpdatedOn());
+ Assertions.assertEquals("pthjoxo",
+ model.properties().endpoints().outbound().assigned().get("pi").endpointType());
+ Assertions.assertEquals("smsks", model.properties().endpoints().outbound().assigned().get("pi").address());
+ Assertions.assertEquals("qolj", model.properties().operatingSystemVersion());
+ Assertions.assertEquals("dyhgkfminsg", model.properties().discoveryId());
+ Assertions.assertEquals(5465402510748989819L, model.properties().version());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceMockTests.java
index 9410ac4d2b9f..e948050325b0 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesCreateOrReplaceMockTests.java
@@ -9,6 +9,7 @@
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.models.AzureCloud;
import com.azure.core.test.http.MockHttpResponse;
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.deviceregistry.DeviceRegistryManager;
import com.azure.resourcemanager.deviceregistry.models.AuthenticationMethod;
import com.azure.resourcemanager.deviceregistry.models.DeviceMessagingEndpoint;
@@ -31,7 +32,7 @@ public final class NamespaceDiscoveredDevicesCreateOrReplaceMockTests {
@Test
public void testCreateOrReplace() throws Exception {
String responseStr
- = "{\"properties\":{\"externalDeviceId\":\"hxiidlopedb\",\"endpoints\":{\"inbound\":{\"x\":{\"endpointType\":\"qyybxubmdnafcbq\",\"address\":\"remj\",\"version\":\"aqacigeleohd\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"Anonymous\",\"Certificate\",\"Certificate\"],\"additionalConfiguration\":\"opwbeonrlkwzd\",\"lastUpdatedOn\":\"2021-11-15T17:26:10Z\"},\"inhmdptys\":{\"endpointType\":\"eakxcptsoqfyi\",\"address\":\"seqchkrt\",\"version\":\"razisg\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"UsernamePassword\",\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"nbwzohmnrxxbso\",\"lastUpdatedOn\":\"2021-01-19T09:33:12Z\"},\"dzbenri\":{\"endpointType\":\"rqsgnzx\",\"address\":\"jp\",\"version\":\"svjgpliufiqwoyxq\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"UsernamePassword\",\"Certificate\",\"Certificate\"],\"additionalConfiguration\":\"ucqpqojxcxzrz\",\"lastUpdatedOn\":\"2021-06-25T21:59:34Z\"}},\"outbound\":{\"assigned\":{\"namtuatmzw\":{\"address\":\"wetzqddtjwfljh\"},\"cqtjzmi\":{\"address\":\"jj\"}}}},\"manufacturer\":\"gbgatzuuvbxn\",\"model\":\"ebwgga\",\"operatingSystem\":\"tzlswvaj\",\"operatingSystemVersion\":\"utlxjoqzasunwqrj\",\"attributes\":{},\"discoveryId\":\"gqhaohcmbuocn\",\"version\":51492514860144135,\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"bpyr\",\"name\":\"xameblydyvkfkm\"},\"location\":\"cxneh\",\"tags\":{\"fpyapucygvoavyu\":\"tod\",\"vpaseksgbu\":\"ssxlghieegjlg\"},\"id\":\"antuygdhgaqipirp\",\"name\":\"wrq\",\"type\":\"fulopmjnlexwhcb\"}";
+ = "{\"properties\":{\"externalDeviceId\":\"pzealbmqkyojw\",\"endpoints\":{\"inbound\":{\"bv\":{\"endpointType\":\"mbtsuahxsg\",\"address\":\"jcmmzrrscub\",\"version\":\"sd\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Certificate\"],\"additionalConfiguration\":\"odiffjxcjrmmua\",\"lastUpdatedOn\":\"2021-01-16T19:25:08Z\"},\"zjknyuxg\":{\"endpointType\":\"ogjo\",\"address\":\"mcyefoyzbam\",\"version\":\"neo\",\"supportedAuthenticationMethods\":[\"UsernamePassword\"],\"additionalConfiguration\":\"kpoldtvevboc\",\"lastUpdatedOn\":\"2021-03-19T15:36:01Z\"},\"mblcouqehbhbcds\":{\"endpointType\":\"ttxpnrupza\",\"address\":\"mrdixtreki\",\"version\":\"wyskbruffgll\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"UsernamePassword\",\"Certificate\"],\"additionalConfiguration\":\"xhrp\",\"lastUpdatedOn\":\"2021-02-19T18:21:35Z\"}},\"outbound\":{\"assigned\":{\"ndo\":{\"address\":\"yr\"},\"xldykalsygaolnjp\":{\"address\":\"pmbltoormkfql\"}}}},\"manufacturer\":\"bmjk\",\"model\":\"bjgsjjxxahmrn\",\"operatingSystem\":\"zyqegxyiv\",\"operatingSystemVersion\":\"nbm\",\"attributes\":{\"njaujvaan\":\"\\\"datajijkgqxnhmbke\\\"\",\"ka\":\"\\\"dataggiycwkdtaawxwf\\\"\",\"xwbjs\":\"\\\"datamrrqmbzmqkratb\\\"\"},\"discoveryId\":\"dbirkfpksokdgo\",\"version\":4287222049879451645,\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"ym\",\"name\":\"hbguzo\"},\"location\":\"yewnfnzhhhqos\",\"tags\":{\"ohguabz\":\"jkutycyarnr\",\"z\":\"ghktdpy\",\"cnhz\":\"coe\",\"lohap\":\"rottjzcfyjzptw\"},\"id\":\"infsz\",\"name\":\"yglqdhmrjzral\",\"type\":\"xpjb\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -41,61 +42,84 @@ public void testCreateOrReplace() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
NamespaceDiscoveredDevice response = manager.namespaceDiscoveredDevices()
- .define("xtwbta")
- .withRegion("k")
- .withExistingNamespace("lzgaufcshhvnew", "nxkympqanxrjk")
- .withExtendedLocation(new ExtendedLocation().withType("gwwrxaomzis").withName("lrrcz"))
- .withTags(mapOf("aw", "tnjadhq"))
- .withProperties(new NamespaceDiscoveredDeviceProperties().withExternalDeviceId("nyghshxcylhkgmn")
+ .define("qpbrlc")
+ .withRegion("d")
+ .withExistingNamespace("pibkephuu", "erctatoyin")
+ .withExtendedLocation(new ExtendedLocation().withType("a").withName("cxtczhupeukn"))
+ .withTags(mapOf("ydjfb", "es", "v", "c", "uflgbhgauacdixm", "hulrtywikdmhla", "ryjqgdkf", "ufr"))
+ .withProperties(new NamespaceDiscoveredDeviceProperties().withExternalDeviceId("uczkgofxyfsruc")
.withEndpoints(new DiscoveredMessagingEndpoints()
- .withInbound(mapOf("obkdqzrdzsyl",
- new DiscoveredInboundEndpoints().withEndpointType("xycphdrwjjkh")
- .withAddress("yomacluzvxnqm")
- .withVersion("pqpdfwmkoisqc")
- .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE))
- .withAdditionalConfiguration("uifmc")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-03-21T06:41:36Z")),
- "dcoxnbk",
- new DiscoveredInboundEndpoints().withEndpointType("llg")
- .withAddress("rc")
- .withVersion("ydmxzj")
- .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.CERTIFICATE))
- .withAdditionalConfiguration("aurkihcirlde")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-08-25T17:41:41Z"))))
- .withOutbound(new DiscoveredOutboundEndpoints()
- .withAssigned(mapOf("nqbpi", new DeviceMessagingEndpoint().withAddress("nurnnq"),
- "gypxrxvbfihwuhvc", new DeviceMessagingEndpoint().withAddress("xqltgrd")))))
- .withManufacturer("fsrb")
- .withModel("blml")
- .withOperatingSystem("wxihs")
- .withOperatingSystemVersion("xwqagnepzw")
- .withAttributes(mapOf())
- .withDiscoveryId("sbs")
- .withVersion(6558908859438336972L))
+ .withInbound(mapOf("gnyyuuzivens",
+ new DiscoveredInboundEndpoints().withEndpointType("pcjttbstvjeaqn")
+ .withAddress("mvvfko")
+ .withVersion("lghktuidvrm")
+ .withSupportedAuthenticationMethods(
+ Arrays.asList(AuthenticationMethod.CERTIFICATE, AuthenticationMethod.ANONYMOUS,
+ AuthenticationMethod.ANONYMOUS, AuthenticationMethod.CERTIFICATE))
+ .withAdditionalConfiguration("xymzvlazipbhpw")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-05-03T12:53:42Z")),
+ "clkiexhajl",
+ new DiscoveredInboundEndpoints().withEndpointType("pmeyyvpkpatlbijp")
+ .withAddress("gsksrfhf")
+ .withVersion("lmknbnxwcdom")
+ .withSupportedAuthenticationMethods(
+ Arrays.asList(AuthenticationMethod.CERTIFICATE, AuthenticationMethod.ANONYMOUS,
+ AuthenticationMethod.CERTIFICATE, AuthenticationMethod.CERTIFICATE))
+ .withAdditionalConfiguration("fgbrtt")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-05-03T08:59:58Z")),
+ "xjlme",
+ new DiscoveredInboundEndpoints().withEndpointType("n")
+ .withAddress("hiqfyuttdiy")
+ .withVersion("pvn")
+ .withSupportedAuthenticationMethods(Arrays.asList(AuthenticationMethod.USERNAME_PASSWORD,
+ AuthenticationMethod.CERTIFICATE, AuthenticationMethod.CERTIFICATE))
+ .withAdditionalConfiguration("yctww")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-11-16T15:30:57Z")),
+ "dogiyetesyp",
+ new DiscoveredInboundEndpoints().withEndpointType("vogygzyvneez")
+ .withAddress("ifgh")
+ .withVersion("oqqtl")
+ .withSupportedAuthenticationMethods(
+ Arrays.asList(AuthenticationMethod.CERTIFICATE, AuthenticationMethod.CERTIFICATE))
+ .withAdditionalConfiguration("rkjjjavfqnvhnq")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-05-03T09:38:14Z"))))
+ .withOutbound(new DiscoveredOutboundEndpoints().withAssigned(
+ mapOf("etnjuhpsprkz", new DeviceMessagingEndpoint().withAddress("bztjhqtfbovnynkb"),
+ "cxnafbwqrooh", new DeviceMessagingEndpoint().withAddress("aupia"), "mghihp",
+ new DeviceMessagingEndpoint().withAddress("uovmaonurjt")))))
+ .withManufacturer("cmslclblyjxltbs")
+ .withModel("scvsfxigctm")
+ .withOperatingSystem("uupb")
+ .withOperatingSystemVersion("qccydrtceukdq")
+ .withAttributes(mapOf("chillcecf",
+ BinaryData.fromBytes("\"dataihztgeqmgqzgwldo\"".getBytes(StandardCharsets.UTF_8)), "llizs",
+ BinaryData.fromBytes("\"datahuwaoaguhic\"".getBytes(StandardCharsets.UTF_8)), "jvhrweft",
+ BinaryData.fromBytes("\"dataac\"".getBytes(StandardCharsets.UTF_8))))
+ .withDiscoveryId("wqejpmvsse")
+ .withVersion(2529715575052812321L))
.create();
- Assertions.assertEquals("cxneh", response.location());
- Assertions.assertEquals("tod", response.tags().get("fpyapucygvoavyu"));
- Assertions.assertEquals("hxiidlopedb", response.properties().externalDeviceId());
- Assertions.assertEquals("qyybxubmdnafcbq", response.properties().endpoints().inbound().get("x").endpointType());
- Assertions.assertEquals("remj", response.properties().endpoints().inbound().get("x").address());
- Assertions.assertEquals("aqacigeleohd", response.properties().endpoints().inbound().get("x").version());
- Assertions.assertEquals(AuthenticationMethod.ANONYMOUS,
- response.properties().endpoints().inbound().get("x").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("opwbeonrlkwzd",
- response.properties().endpoints().inbound().get("x").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-11-15T17:26:10Z"),
- response.properties().endpoints().inbound().get("x").lastUpdatedOn());
- Assertions.assertEquals("wetzqddtjwfljh",
- response.properties().endpoints().outbound().assigned().get("namtuatmzw").address());
- Assertions.assertEquals("gbgatzuuvbxn", response.properties().manufacturer());
- Assertions.assertEquals("ebwgga", response.properties().model());
- Assertions.assertEquals("tzlswvaj", response.properties().operatingSystem());
- Assertions.assertEquals("utlxjoqzasunwqrj", response.properties().operatingSystemVersion());
- Assertions.assertEquals("gqhaohcmbuocn", response.properties().discoveryId());
- Assertions.assertEquals(51492514860144135L, response.properties().version());
- Assertions.assertEquals("bpyr", response.extendedLocation().type());
- Assertions.assertEquals("xameblydyvkfkm", response.extendedLocation().name());
+ Assertions.assertEquals("yewnfnzhhhqos", response.location());
+ Assertions.assertEquals("jkutycyarnr", response.tags().get("ohguabz"));
+ Assertions.assertEquals("pzealbmqkyojw", response.properties().externalDeviceId());
+ Assertions.assertEquals("mbtsuahxsg", response.properties().endpoints().inbound().get("bv").endpointType());
+ Assertions.assertEquals("jcmmzrrscub", response.properties().endpoints().inbound().get("bv").address());
+ Assertions.assertEquals("sd", response.properties().endpoints().inbound().get("bv").version());
+ Assertions.assertEquals(AuthenticationMethod.CERTIFICATE,
+ response.properties().endpoints().inbound().get("bv").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("odiffjxcjrmmua",
+ response.properties().endpoints().inbound().get("bv").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-01-16T19:25:08Z"),
+ response.properties().endpoints().inbound().get("bv").lastUpdatedOn());
+ Assertions.assertEquals("yr", response.properties().endpoints().outbound().assigned().get("ndo").address());
+ Assertions.assertEquals("bmjk", response.properties().manufacturer());
+ Assertions.assertEquals("bjgsjjxxahmrn", response.properties().model());
+ Assertions.assertEquals("zyqegxyiv", response.properties().operatingSystem());
+ Assertions.assertEquals("nbm", response.properties().operatingSystemVersion());
+ Assertions.assertEquals("dbirkfpksokdgo", response.properties().discoveryId());
+ Assertions.assertEquals(4287222049879451645L, response.properties().version());
+ Assertions.assertEquals("ym", response.extendedLocation().type());
+ Assertions.assertEquals("hbguzo", response.extendedLocation().name());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetWithResponseMockTests.java
index 7a20d660aac4..6d90994aba03 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesGetWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class NamespaceDiscoveredDevicesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"externalDeviceId\":\"bv\",\"endpoints\":{\"inbound\":{\"tbw\":{\"endpointType\":\"y\",\"address\":\"rhpw\",\"version\":\"ddei\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"Anonymous\"],\"additionalConfiguration\":\"gkkumuikjcj\",\"lastUpdatedOn\":\"2021-05-27T02:24:48Z\"}},\"outbound\":{\"assigned\":{\"ikytwvczcswka\":{\"address\":\"qowxwcom\"},\"yfdvlvhbwrnfxtgd\":{\"address\":\"ve\"}}}},\"manufacturer\":\"qthe\",\"model\":\"mnaoy\",\"operatingSystem\":\"kcoeqswank\",\"operatingSystemVersion\":\"ytmhdroznnhdrlkt\",\"attributes\":{},\"discoveryId\":\"sggux\",\"version\":3084216658070710977,\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"ywaeeczgf\",\"name\":\"ukklelss\"},\"location\":\"lycsxz\",\"tags\":{\"sqplpvmjcd\":\"srlsmd\"},\"id\":\"ewbidyvteowxv\",\"name\":\"piudeugfsxzecpa\",\"type\":\"wkufykhvuhxepm\"}";
+ = "{\"properties\":{\"externalDeviceId\":\"ufykhvuhxepmru\",\"endpoints\":{\"inbound\":{\"emmucfxh\":{\"endpointType\":\"baobn\",\"address\":\"lujdjltymkmv\",\"version\":\"ihywartspph\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"ds\",\"lastUpdatedOn\":\"2021-08-13T22:15:03Z\"},\"jgwdtgukranbl\":{\"endpointType\":\"kkflrmymyincqlhr\",\"address\":\"s\",\"version\":\"lmiiiovg\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"UsernamePassword\",\"Certificate\",\"Anonymous\"],\"additionalConfiguration\":\"kctotiowlxteq\",\"lastUpdatedOn\":\"2021-09-01T14:24:13Z\"},\"bjpmcubk\":{\"endpointType\":\"phqlkccuz\",\"address\":\"ygqwahoiu\",\"version\":\"gniiprglvaw\",\"supportedAuthenticationMethods\":[\"Anonymous\"],\"additionalConfiguration\":\"fypiv\",\"lastUpdatedOn\":\"2021-02-03T06:42:08Z\"},\"gwfiwzcxmjpby\":{\"endpointType\":\"ifoxxkubvphav\",\"address\":\"mhbrbqgvg\",\"version\":\"pbbttefjoknss\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"UsernamePassword\",\"Certificate\"],\"additionalConfiguration\":\"kdfrdbiqmrjgeihf\",\"lastUpdatedOn\":\"2021-09-16T17:46:13Z\"}},\"outbound\":{\"assigned\":{\"rc\":{\"address\":\"mgtvlj\"},\"gxhnpomyqwcabv\":{\"address\":\"yfqi\"},\"eeyaswl\":{\"address\":\"ui\"},\"wtoaukhfk\":{\"address\":\"augmrmfjlr\"}}}},\"manufacturer\":\"isizm\",\"model\":\"eds\",\"operatingSystem\":\"wuived\",\"operatingSystemVersion\":\"gyeewxeiq\",\"attributes\":{\"amljdlrgmsplzgau\":\"\\\"datamgomg\\\"\",\"ewgnxkympqanxrj\":\"\\\"datacshhv\\\"\",\"bta\":\"\\\"dataixt\\\"\"},\"discoveryId\":\"ypnyghshxc\",\"version\":1239416894946993126,\"provisioningState\":\"Accepted\"},\"extendedLocation\":{\"type\":\"mnsghpxycphdr\",\"name\":\"jjkhvyomaclu\"},\"location\":\"xnqmhrpqpdfwm\",\"tags\":{\"ifmcsypobkdqzr\":\"sqcssffx\",\"czzydmxzjij\":\"zsylollgt\",\"hci\":\"vuaurk\",\"kkjanurnnqbnqbp\":\"ldefxrdcoxn\"},\"id\":\"zxqltgrdogypx\",\"name\":\"x\",\"type\":\"bfihw\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,30 +32,29 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
NamespaceDiscoveredDevice response = manager.namespaceDiscoveredDevices()
- .getWithResponse("xog", "ggsvoujkxibdaf", "rkmdyom", com.azure.core.util.Context.NONE)
+ .getWithResponse("sqplpvmjcd", "ewbidyvteowxv", "piudeugfsxzecpa", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("lycsxz", response.location());
- Assertions.assertEquals("srlsmd", response.tags().get("sqplpvmjcd"));
- Assertions.assertEquals("bv", response.properties().externalDeviceId());
- Assertions.assertEquals("y", response.properties().endpoints().inbound().get("tbw").endpointType());
- Assertions.assertEquals("rhpw", response.properties().endpoints().inbound().get("tbw").address());
- Assertions.assertEquals("ddei", response.properties().endpoints().inbound().get("tbw").version());
- Assertions.assertEquals(AuthenticationMethod.ANONYMOUS,
- response.properties().endpoints().inbound().get("tbw").supportedAuthenticationMethods().get(0));
- Assertions.assertEquals("gkkumuikjcj",
- response.properties().endpoints().inbound().get("tbw").additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-05-27T02:24:48Z"),
- response.properties().endpoints().inbound().get("tbw").lastUpdatedOn());
- Assertions.assertEquals("qowxwcom",
- response.properties().endpoints().outbound().assigned().get("ikytwvczcswka").address());
- Assertions.assertEquals("qthe", response.properties().manufacturer());
- Assertions.assertEquals("mnaoy", response.properties().model());
- Assertions.assertEquals("kcoeqswank", response.properties().operatingSystem());
- Assertions.assertEquals("ytmhdroznnhdrlkt", response.properties().operatingSystemVersion());
- Assertions.assertEquals("sggux", response.properties().discoveryId());
- Assertions.assertEquals(3084216658070710977L, response.properties().version());
- Assertions.assertEquals("ywaeeczgf", response.extendedLocation().type());
- Assertions.assertEquals("ukklelss", response.extendedLocation().name());
+ Assertions.assertEquals("xnqmhrpqpdfwm", response.location());
+ Assertions.assertEquals("sqcssffx", response.tags().get("ifmcsypobkdqzr"));
+ Assertions.assertEquals("ufykhvuhxepmru", response.properties().externalDeviceId());
+ Assertions.assertEquals("baobn", response.properties().endpoints().inbound().get("emmucfxh").endpointType());
+ Assertions.assertEquals("lujdjltymkmv", response.properties().endpoints().inbound().get("emmucfxh").address());
+ Assertions.assertEquals("ihywartspph", response.properties().endpoints().inbound().get("emmucfxh").version());
+ Assertions.assertEquals(AuthenticationMethod.USERNAME_PASSWORD,
+ response.properties().endpoints().inbound().get("emmucfxh").supportedAuthenticationMethods().get(0));
+ Assertions.assertEquals("ds",
+ response.properties().endpoints().inbound().get("emmucfxh").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-13T22:15:03Z"),
+ response.properties().endpoints().inbound().get("emmucfxh").lastUpdatedOn());
+ Assertions.assertEquals("mgtvlj", response.properties().endpoints().outbound().assigned().get("rc").address());
+ Assertions.assertEquals("isizm", response.properties().manufacturer());
+ Assertions.assertEquals("eds", response.properties().model());
+ Assertions.assertEquals("wuived", response.properties().operatingSystem());
+ Assertions.assertEquals("gyeewxeiq", response.properties().operatingSystemVersion());
+ Assertions.assertEquals("ypnyghshxc", response.properties().discoveryId());
+ Assertions.assertEquals(1239416894946993126L, response.properties().version());
+ Assertions.assertEquals("mnsghpxycphdr", response.extendedLocation().type());
+ Assertions.assertEquals("jjkhvyomaclu", response.extendedLocation().name());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupMockTests.java
index 544667c5c220..fa31a018a168 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredDevicesListByResourceGroupMockTests.java
@@ -23,7 +23,7 @@ public final class NamespaceDiscoveredDevicesListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"externalDeviceId\":\"ywart\",\"endpoints\":{\"inbound\":{\"totiowlxteqdptjg\":{\"endpointType\":\"kixkykxdssjpemm\",\"address\":\"cfxhikkflrmy\",\"version\":\"incqlhriswsl\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Anonymous\",\"Certificate\"],\"additionalConfiguration\":\"qcgxuug\",\"lastUpdatedOn\":\"2021-03-05T05:58:38Z\"},\"d\":{\"endpointType\":\"dtguk\",\"address\":\"anblwphqlkccu\",\"version\":\"ygqwahoiu\",\"supportedAuthenticationMethods\":[\"Certificate\",\"Anonymous\",\"UsernamePassword\"],\"additionalConfiguration\":\"rglvaw\",\"lastUpdatedOn\":\"2021-07-24T11:19:34Z\"},\"tefjoknssqyzq\":{\"endpointType\":\"fypiv\",\"address\":\"sbbjpmcu\",\"version\":\"mifoxxkub\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"Anonymous\",\"Certificate\",\"UsernamePassword\"],\"additionalConfiguration\":\"brbqgvgovp\",\"lastUpdatedOn\":\"2021-04-13T05:47:21Z\"}},\"outbound\":{\"assigned\":{\"lg\":{\"address\":\"kdfrdbiqmrjgeihf\"}}}},\"manufacturer\":\"fiwzcxmjpbyep\",\"model\":\"gt\",\"operatingSystem\":\"j\",\"operatingSystemVersion\":\"cmyfqipgxhnpo\",\"attributes\":{},\"discoveryId\":\"wcabvnuileeya\",\"version\":8457400905561321165,\"provisioningState\":\"Canceled\"},\"extendedLocation\":{\"type\":\"ugmrmf\",\"name\":\"lrxw\"},\"location\":\"aukhfkvcisiz\",\"tags\":{\"jwuive\":\"eds\"},\"id\":\"wcgyeewxeiqb\",\"name\":\"smgomguaml\",\"type\":\"dlrgms\"}]}";
+ = "{\"value\":[{\"properties\":{\"externalDeviceId\":\"rblmli\",\"endpoints\":{\"inbound\":{\"qoawjqoy\":{\"endpointType\":\"hspnxwqagnepz\",\"address\":\"aklsbsbq\",\"version\":\"agwwrxaom\",\"supportedAuthenticationMethods\":[\"Certificate\"],\"additionalConfiguration\":\"rrczezkhhltnj\",\"lastUpdatedOn\":\"2021-02-14T18:09:59Z\"},\"ubmdnafcbqwre\":{\"endpointType\":\"eayfbpcmspl\",\"address\":\"yrrueqth\",\"version\":\"gnmbscbbxigdhx\",\"supportedAuthenticationMethods\":[\"Certificate\"],\"additionalConfiguration\":\"pedbwdpyqy\",\"lastUpdatedOn\":\"2021-06-06T02:59:57Z\"},\"razisg\":{\"endpointType\":\"jelaqacigele\",\"address\":\"hdbvqvwzkjop\",\"version\":\"eonrlkwzdqybxce\",\"supportedAuthenticationMethods\":[\"Anonymous\",\"UsernamePassword\",\"UsernamePassword\",\"Certificate\"],\"additionalConfiguration\":\"qfyiaseqchkr\",\"lastUpdatedOn\":\"2021-08-04T17:40:23Z\"},\"woyxqvapcohhou\":{\"endpointType\":\"kiuemv\",\"address\":\"nbwzohmnrxxbso\",\"version\":\"linhmdptysprqs\",\"supportedAuthenticationMethods\":[\"UsernamePassword\",\"Anonymous\",\"Certificate\"],\"additionalConfiguration\":\"slsvjgpliu\",\"lastUpdatedOn\":\"2021-04-29T16:14:18Z\"}},\"outbound\":{\"assigned\":{\"jxcx\":{\"address\":\"q\"},\"tzqdd\":{\"address\":\"rzdcgdzbenribcaw\"}}}},\"manufacturer\":\"wflj\",\"model\":\"namtuatmzw\",\"operatingSystem\":\"jncqtjzmi\",\"operatingSystemVersion\":\"gbgatzuuvbxn\",\"attributes\":{\"lswva\":\"\\\"databwggahtt\\\"\",\"zasunwqrjzfrgq\":\"\\\"dataqfutlxjo\\\"\"},\"discoveryId\":\"aohcmbuocn\",\"version\":51492514860144135,\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"bpyr\",\"name\":\"xameblydyvkfkm\"},\"location\":\"cxneh\",\"tags\":{\"fpyapucygvoavyu\":\"tod\",\"vpaseksgbu\":\"ssxlghieegjlg\"},\"id\":\"antuygdhgaqipirp\",\"name\":\"wrq\",\"type\":\"fulopmjnlexwhcb\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,46 +32,40 @@ public void testListByResourceGroup() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response = manager.namespaceDiscoveredDevices()
- .listByResourceGroup("utznabaobns", "ujdjltymkmvg", com.azure.core.util.Context.NONE);
+ PagedIterable response
+ = manager.namespaceDiscoveredDevices().listByResourceGroup("hvcta", "s", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("aukhfkvcisiz", response.iterator().next().location());
- Assertions.assertEquals("eds", response.iterator().next().tags().get("jwuive"));
- Assertions.assertEquals("ywart", response.iterator().next().properties().externalDeviceId());
- Assertions.assertEquals("kixkykxdssjpemm",
- response.iterator().next().properties().endpoints().inbound().get("totiowlxteqdptjg").endpointType());
- Assertions.assertEquals("cfxhikkflrmy",
- response.iterator().next().properties().endpoints().inbound().get("totiowlxteqdptjg").address());
- Assertions.assertEquals("incqlhriswsl",
- response.iterator().next().properties().endpoints().inbound().get("totiowlxteqdptjg").version());
+ Assertions.assertEquals("cxneh", response.iterator().next().location());
+ Assertions.assertEquals("tod", response.iterator().next().tags().get("fpyapucygvoavyu"));
+ Assertions.assertEquals("rblmli", response.iterator().next().properties().externalDeviceId());
+ Assertions.assertEquals("hspnxwqagnepz",
+ response.iterator().next().properties().endpoints().inbound().get("qoawjqoy").endpointType());
+ Assertions.assertEquals("aklsbsbq",
+ response.iterator().next().properties().endpoints().inbound().get("qoawjqoy").address());
+ Assertions.assertEquals("agwwrxaom",
+ response.iterator().next().properties().endpoints().inbound().get("qoawjqoy").version());
Assertions.assertEquals(AuthenticationMethod.CERTIFICATE,
response.iterator()
.next()
.properties()
.endpoints()
.inbound()
- .get("totiowlxteqdptjg")
+ .get("qoawjqoy")
.supportedAuthenticationMethods()
.get(0));
- Assertions.assertEquals("qcgxuug",
- response.iterator()
- .next()
- .properties()
- .endpoints()
- .inbound()
- .get("totiowlxteqdptjg")
- .additionalConfiguration());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-05T05:58:38Z"),
- response.iterator().next().properties().endpoints().inbound().get("totiowlxteqdptjg").lastUpdatedOn());
- Assertions.assertEquals("kdfrdbiqmrjgeihf",
- response.iterator().next().properties().endpoints().outbound().assigned().get("lg").address());
- Assertions.assertEquals("fiwzcxmjpbyep", response.iterator().next().properties().manufacturer());
- Assertions.assertEquals("gt", response.iterator().next().properties().model());
- Assertions.assertEquals("j", response.iterator().next().properties().operatingSystem());
- Assertions.assertEquals("cmyfqipgxhnpo", response.iterator().next().properties().operatingSystemVersion());
- Assertions.assertEquals("wcabvnuileeya", response.iterator().next().properties().discoveryId());
- Assertions.assertEquals(8457400905561321165L, response.iterator().next().properties().version());
- Assertions.assertEquals("ugmrmf", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("lrxw", response.iterator().next().extendedLocation().name());
+ Assertions.assertEquals("rrczezkhhltnj",
+ response.iterator().next().properties().endpoints().inbound().get("qoawjqoy").additionalConfiguration());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-02-14T18:09:59Z"),
+ response.iterator().next().properties().endpoints().inbound().get("qoawjqoy").lastUpdatedOn());
+ Assertions.assertEquals("q",
+ response.iterator().next().properties().endpoints().outbound().assigned().get("jxcx").address());
+ Assertions.assertEquals("wflj", response.iterator().next().properties().manufacturer());
+ Assertions.assertEquals("namtuatmzw", response.iterator().next().properties().model());
+ Assertions.assertEquals("jncqtjzmi", response.iterator().next().properties().operatingSystem());
+ Assertions.assertEquals("gbgatzuuvbxn", response.iterator().next().properties().operatingSystemVersion());
+ Assertions.assertEquals("aohcmbuocn", response.iterator().next().properties().discoveryId());
+ Assertions.assertEquals(51492514860144135L, response.iterator().next().properties().version());
+ Assertions.assertEquals("bpyr", response.iterator().next().extendedLocation().type());
+ Assertions.assertEquals("xameblydyvkfkm", response.iterator().next().extendedLocation().name());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventGroupTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventGroupTests.java
index 81d252413a18..2984cfd3c4e6 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventGroupTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventGroupTests.java
@@ -16,62 +16,48 @@ public final class NamespaceDiscoveredEventGroupTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredEventGroup model = BinaryData.fromString(
- "{\"name\":\"yqtfihwh\",\"dataSource\":\"tzingamvpph\",\"eventGroupConfiguration\":\"zqzudph\",\"defaultDestinations\":[{\"target\":\"EventDestination\"}],\"typeRef\":\"dkfw\",\"events\":[{\"name\":\"cvtbv\",\"dataSource\":\"yhmtnvyqiat\",\"eventConfiguration\":\"wp\",\"destinations\":[{\"target\":\"EventDestination\"}],\"typeRef\":\"zcjaesgvvsccy\",\"lastUpdatedOn\":\"2021-01-01T20:15:01Z\"},{\"name\":\"uq\",\"dataSource\":\"wygzlvdnkfxusem\",\"eventConfiguration\":\"zrmuhapfcqdps\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"psvuoymgc\",\"lastUpdatedOn\":\"2021-08-18T08:31:36Z\"},{\"name\":\"vezrypqlmfeo\",\"dataSource\":\"rqwky\",\"eventConfiguration\":\"ob\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"edkowepbqpcrfk\",\"lastUpdatedOn\":\"2021-08-28T15:47:36Z\"},{\"name\":\"csnjvcdwxlpqekft\",\"dataSource\":\"htjsying\",\"eventConfiguration\":\"qatmtdhtmdvy\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"dgszywkbirryuzh\",\"lastUpdatedOn\":\"2021-06-25T00:54:57Z\"}]}")
+ "{\"name\":\"kndxdigrjgu\",\"dataSource\":\"zdmsyqtfi\",\"eventGroupConfiguration\":\"hbotzingamvppho\",\"defaultDestinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"udphqamvdkfwyn\",\"events\":[{\"name\":\"tbvkayhmtnvyq\",\"dataSource\":\"tkzwpcnpwzc\",\"eventConfiguration\":\"esgvvsccyaj\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"hwyg\",\"lastUpdatedOn\":\"2020-12-30T23:23:57Z\"},{\"name\":\"dnkfx\",\"dataSource\":\"emdwzrmuhapfc\",\"eventConfiguration\":\"psqxq\",\"destinations\":[{\"target\":\"EventDestination\"}],\"typeRef\":\"uoymgccelvezry\",\"lastUpdatedOn\":\"2021-01-02T13:25:54Z\"}]}")
.toObject(NamespaceDiscoveredEventGroup.class);
- Assertions.assertEquals("yqtfihwh", model.name());
- Assertions.assertEquals("tzingamvpph", model.dataSource());
- Assertions.assertEquals("zqzudph", model.eventGroupConfiguration());
- Assertions.assertEquals("dkfw", model.typeRef());
- Assertions.assertEquals("cvtbv", model.events().get(0).name());
- Assertions.assertEquals("yhmtnvyqiat", model.events().get(0).dataSource());
- Assertions.assertEquals("wp", model.events().get(0).eventConfiguration());
- Assertions.assertEquals("zcjaesgvvsccy", model.events().get(0).typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-01T20:15:01Z"), model.events().get(0).lastUpdatedOn());
+ Assertions.assertEquals("kndxdigrjgu", model.name());
+ Assertions.assertEquals("zdmsyqtfi", model.dataSource());
+ Assertions.assertEquals("hbotzingamvppho", model.eventGroupConfiguration());
+ Assertions.assertEquals("udphqamvdkfwyn", model.typeRef());
+ Assertions.assertEquals("tbvkayhmtnvyq", model.events().get(0).name());
+ Assertions.assertEquals("tkzwpcnpwzc", model.events().get(0).dataSource());
+ Assertions.assertEquals("esgvvsccyaj", model.events().get(0).eventConfiguration());
+ Assertions.assertEquals("hwyg", model.events().get(0).typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2020-12-30T23:23:57Z"), model.events().get(0).lastUpdatedOn());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredEventGroup model = new NamespaceDiscoveredEventGroup().withName("yqtfihwh")
- .withDataSource("tzingamvpph")
- .withEventGroupConfiguration("zqzudph")
- .withDefaultDestinations(Arrays.asList(new EventDestination()))
- .withTypeRef("dkfw")
+ NamespaceDiscoveredEventGroup model = new NamespaceDiscoveredEventGroup().withName("kndxdigrjgu")
+ .withDataSource("zdmsyqtfi")
+ .withEventGroupConfiguration("hbotzingamvppho")
+ .withDefaultDestinations(Arrays.asList(new EventDestination(), new EventDestination()))
+ .withTypeRef("udphqamvdkfwyn")
.withEvents(Arrays.asList(
- new NamespaceDiscoveredEvent().withName("cvtbv")
- .withDataSource("yhmtnvyqiat")
- .withEventConfiguration("wp")
- .withDestinations(Arrays.asList(new EventDestination()))
- .withTypeRef("zcjaesgvvsccy")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-01-01T20:15:01Z")),
- new NamespaceDiscoveredEvent().withName("uq")
- .withDataSource("wygzlvdnkfxusem")
- .withEventConfiguration("zrmuhapfcqdps")
- .withDestinations(
- Arrays.asList(new EventDestination(), new EventDestination(), new EventDestination()))
- .withTypeRef("psvuoymgc")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-08-18T08:31:36Z")),
- new NamespaceDiscoveredEvent().withName("vezrypqlmfeo")
- .withDataSource("rqwky")
- .withEventConfiguration("ob")
+ new NamespaceDiscoveredEvent().withName("tbvkayhmtnvyq")
+ .withDataSource("tkzwpcnpwzc")
+ .withEventConfiguration("esgvvsccyaj")
.withDestinations(Arrays.asList(new EventDestination(), new EventDestination()))
- .withTypeRef("edkowepbqpcrfk")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-08-28T15:47:36Z")),
- new NamespaceDiscoveredEvent().withName("csnjvcdwxlpqekft")
- .withDataSource("htjsying")
- .withEventConfiguration("qatmtdhtmdvy")
- .withDestinations(
- Arrays.asList(new EventDestination(), new EventDestination(), new EventDestination()))
- .withTypeRef("dgszywkbirryuzh")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-06-25T00:54:57Z"))));
+ .withTypeRef("hwyg")
+ .withLastUpdatedOn(OffsetDateTime.parse("2020-12-30T23:23:57Z")),
+ new NamespaceDiscoveredEvent().withName("dnkfx")
+ .withDataSource("emdwzrmuhapfc")
+ .withEventConfiguration("psqxq")
+ .withDestinations(Arrays.asList(new EventDestination()))
+ .withTypeRef("uoymgccelvezry")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-01-02T13:25:54Z"))));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredEventGroup.class);
- Assertions.assertEquals("yqtfihwh", model.name());
- Assertions.assertEquals("tzingamvpph", model.dataSource());
- Assertions.assertEquals("zqzudph", model.eventGroupConfiguration());
- Assertions.assertEquals("dkfw", model.typeRef());
- Assertions.assertEquals("cvtbv", model.events().get(0).name());
- Assertions.assertEquals("yhmtnvyqiat", model.events().get(0).dataSource());
- Assertions.assertEquals("wp", model.events().get(0).eventConfiguration());
- Assertions.assertEquals("zcjaesgvvsccy", model.events().get(0).typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-01T20:15:01Z"), model.events().get(0).lastUpdatedOn());
+ Assertions.assertEquals("kndxdigrjgu", model.name());
+ Assertions.assertEquals("zdmsyqtfi", model.dataSource());
+ Assertions.assertEquals("hbotzingamvppho", model.eventGroupConfiguration());
+ Assertions.assertEquals("udphqamvdkfwyn", model.typeRef());
+ Assertions.assertEquals("tbvkayhmtnvyq", model.events().get(0).name());
+ Assertions.assertEquals("tkzwpcnpwzc", model.events().get(0).dataSource());
+ Assertions.assertEquals("esgvvsccyaj", model.events().get(0).eventConfiguration());
+ Assertions.assertEquals("hwyg", model.events().get(0).typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2020-12-30T23:23:57Z"), model.events().get(0).lastUpdatedOn());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventTests.java
index ef37ec58873b..d327351e23a8 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredEventTests.java
@@ -15,29 +15,28 @@ public final class NamespaceDiscoveredEventTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredEvent model = BinaryData.fromString(
- "{\"name\":\"joqrvqqaatj\",\"dataSource\":\"rv\",\"eventConfiguration\":\"upmfiibfg\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"olvrw\",\"lastUpdatedOn\":\"2021-05-18T06:59:06Z\"}")
+ "{\"name\":\"mfe\",\"dataSource\":\"erqwkyhkobopg\",\"eventConfiguration\":\"dkow\",\"destinations\":[{\"target\":\"EventDestination\"}],\"typeRef\":\"pc\",\"lastUpdatedOn\":\"2021-05-26T00:48:59Z\"}")
.toObject(NamespaceDiscoveredEvent.class);
- Assertions.assertEquals("joqrvqqaatj", model.name());
- Assertions.assertEquals("rv", model.dataSource());
- Assertions.assertEquals("upmfiibfg", model.eventConfiguration());
- Assertions.assertEquals("olvrw", model.typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-05-18T06:59:06Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("mfe", model.name());
+ Assertions.assertEquals("erqwkyhkobopg", model.dataSource());
+ Assertions.assertEquals("dkow", model.eventConfiguration());
+ Assertions.assertEquals("pc", model.typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-26T00:48:59Z"), model.lastUpdatedOn());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredEvent model = new NamespaceDiscoveredEvent().withName("joqrvqqaatj")
- .withDataSource("rv")
- .withEventConfiguration("upmfiibfg")
- .withDestinations(Arrays.asList(new EventDestination(), new EventDestination(), new EventDestination(),
- new EventDestination()))
- .withTypeRef("olvrw")
- .withLastUpdatedOn(OffsetDateTime.parse("2021-05-18T06:59:06Z"));
+ NamespaceDiscoveredEvent model = new NamespaceDiscoveredEvent().withName("mfe")
+ .withDataSource("erqwkyhkobopg")
+ .withEventConfiguration("dkow")
+ .withDestinations(Arrays.asList(new EventDestination()))
+ .withTypeRef("pc")
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-05-26T00:48:59Z"));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredEvent.class);
- Assertions.assertEquals("joqrvqqaatj", model.name());
- Assertions.assertEquals("rv", model.dataSource());
- Assertions.assertEquals("upmfiibfg", model.eventConfiguration());
- Assertions.assertEquals("olvrw", model.typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-05-18T06:59:06Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("mfe", model.name());
+ Assertions.assertEquals("erqwkyhkobopg", model.dataSource());
+ Assertions.assertEquals("dkow", model.eventConfiguration());
+ Assertions.assertEquals("pc", model.typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-26T00:48:59Z"), model.lastUpdatedOn());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementActionTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementActionTests.java
index 5de8e35220b5..87d0b1e10fa4 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementActionTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementActionTests.java
@@ -14,37 +14,36 @@ public final class NamespaceDiscoveredManagementActionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredManagementAction model = BinaryData.fromString(
- "{\"name\":\"tnqttezlwfffiak\",\"actionConfiguration\":\"pqqmted\",\"targetUri\":\"tmmjihyeozph\",\"typeRef\":\"auyqncygupkv\",\"topic\":\"mdscwxqupev\",\"actionType\":\"Write\",\"timeoutInSeconds\":434974760,\"lastUpdatedOn\":\"2021-10-10T08:16:26Z\"}")
+ "{\"name\":\"jreafxtsgum\",\"actionConfiguration\":\"glikkxwslolb\",\"targetUri\":\"pvuzlmv\",\"typeRef\":\"lfktgplcrpwjxe\",\"topic\":\"oi\",\"actionType\":\"Read\",\"timeoutInSeconds\":76074858,\"lastUpdatedOn\":\"2021-03-28T01:41:30Z\"}")
.toObject(NamespaceDiscoveredManagementAction.class);
- Assertions.assertEquals("tnqttezlwfffiak", model.name());
- Assertions.assertEquals("pqqmted", model.actionConfiguration());
- Assertions.assertEquals("tmmjihyeozph", model.targetUri());
- Assertions.assertEquals("auyqncygupkv", model.typeRef());
- Assertions.assertEquals("mdscwxqupev", model.topic());
- Assertions.assertEquals(NamespaceDiscoveredManagementActionType.WRITE, model.actionType());
- Assertions.assertEquals(434974760, model.timeoutInSeconds());
- Assertions.assertEquals(OffsetDateTime.parse("2021-10-10T08:16:26Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("jreafxtsgum", model.name());
+ Assertions.assertEquals("glikkxwslolb", model.actionConfiguration());
+ Assertions.assertEquals("pvuzlmv", model.targetUri());
+ Assertions.assertEquals("lfktgplcrpwjxe", model.typeRef());
+ Assertions.assertEquals("oi", model.topic());
+ Assertions.assertEquals(NamespaceDiscoveredManagementActionType.READ, model.actionType());
+ Assertions.assertEquals(76074858, model.timeoutInSeconds());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-28T01:41:30Z"), model.lastUpdatedOn());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredManagementAction model
- = new NamespaceDiscoveredManagementAction().withName("tnqttezlwfffiak")
- .withActionConfiguration("pqqmted")
- .withTargetUri("tmmjihyeozph")
- .withTypeRef("auyqncygupkv")
- .withTopic("mdscwxqupev")
- .withActionType(NamespaceDiscoveredManagementActionType.WRITE)
- .withTimeoutInSeconds(434974760)
- .withLastUpdatedOn(OffsetDateTime.parse("2021-10-10T08:16:26Z"));
+ NamespaceDiscoveredManagementAction model = new NamespaceDiscoveredManagementAction().withName("jreafxtsgum")
+ .withActionConfiguration("glikkxwslolb")
+ .withTargetUri("pvuzlmv")
+ .withTypeRef("lfktgplcrpwjxe")
+ .withTopic("oi")
+ .withActionType(NamespaceDiscoveredManagementActionType.READ)
+ .withTimeoutInSeconds(76074858)
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-03-28T01:41:30Z"));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredManagementAction.class);
- Assertions.assertEquals("tnqttezlwfffiak", model.name());
- Assertions.assertEquals("pqqmted", model.actionConfiguration());
- Assertions.assertEquals("tmmjihyeozph", model.targetUri());
- Assertions.assertEquals("auyqncygupkv", model.typeRef());
- Assertions.assertEquals("mdscwxqupev", model.topic());
- Assertions.assertEquals(NamespaceDiscoveredManagementActionType.WRITE, model.actionType());
- Assertions.assertEquals(434974760, model.timeoutInSeconds());
- Assertions.assertEquals(OffsetDateTime.parse("2021-10-10T08:16:26Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("jreafxtsgum", model.name());
+ Assertions.assertEquals("glikkxwslolb", model.actionConfiguration());
+ Assertions.assertEquals("pvuzlmv", model.targetUri());
+ Assertions.assertEquals("lfktgplcrpwjxe", model.typeRef());
+ Assertions.assertEquals("oi", model.topic());
+ Assertions.assertEquals(NamespaceDiscoveredManagementActionType.READ, model.actionType());
+ Assertions.assertEquals(76074858, model.timeoutInSeconds());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-28T01:41:30Z"), model.lastUpdatedOn());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementGroupTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementGroupTests.java
index 3144379fdedf..f8a29df456ee 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementGroupTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredManagementGroupTests.java
@@ -16,82 +16,74 @@ public final class NamespaceDiscoveredManagementGroupTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredManagementGroup model = BinaryData.fromString(
- "{\"name\":\"byrqufeg\",\"managementGroupConfiguration\":\"vwz\",\"typeRef\":\"nhlmctlpdng\",\"dataSource\":\"vgbmhr\",\"defaultTopic\":\"kw\",\"defaultTimeoutInSeconds\":881216516,\"actions\":[{\"name\":\"jvegrhbpnaixexcc\",\"actionConfiguration\":\"reaxhcexdr\",\"targetUri\":\"vqahqkghtpwi\",\"typeRef\":\"hyjsvfycx\",\"topic\":\"fvoow\",\"actionType\":\"Call\",\"timeoutInSeconds\":64762748,\"lastUpdatedOn\":\"2021-12-04T01:16:08Z\"},{\"name\":\"qp\",\"actionConfiguration\":\"ostronz\",\"targetUri\":\"yhgfipnsx\",\"typeRef\":\"cwaekrrjre\",\"topic\":\"xt\",\"actionType\":\"Write\",\"timeoutInSeconds\":1781492308,\"lastUpdatedOn\":\"2021-06-07T04:38:31Z\"},{\"name\":\"lik\",\"actionConfiguration\":\"wslolbqp\",\"targetUri\":\"uzlm\",\"typeRef\":\"elfk\",\"topic\":\"plcrpwjxeznoig\",\"actionType\":\"Read\",\"timeoutInSeconds\":78326163,\"lastUpdatedOn\":\"2021-07-10T07:09:22Z\"},{\"name\":\"kpnb\",\"actionConfiguration\":\"zejjoqk\",\"targetUri\":\"gfhsxttaugzxn\",\"typeRef\":\"azpxdtnkdmkqjjl\",\"topic\":\"envrkpyouaibrebq\",\"actionType\":\"Call\",\"timeoutInSeconds\":34950484,\"lastUpdatedOn\":\"2021-11-07T06:56:28Z\"}],\"lastUpdatedOn\":\"2021-04-29T05:21:23Z\"}")
+ "{\"name\":\"tmtdhtmdvypgik\",\"managementGroupConfiguration\":\"szywkbirryu\",\"typeRef\":\"lhkjoqrvqq\",\"dataSource\":\"t\",\"defaultTopic\":\"nrvgoupmfiibfgg\",\"defaultTimeoutInSeconds\":615385800,\"actions\":[{\"name\":\"vrwxkv\",\"actionConfiguration\":\"k\",\"targetUri\":\"llqwjygvjayvblmh\",\"typeRef\":\"zuhbxvvyhgsopb\",\"topic\":\"qufegxuvwzfbn\",\"actionType\":\"Read\",\"timeoutInSeconds\":1252450841,\"lastUpdatedOn\":\"2021-05-15T15:01:25Z\"},{\"name\":\"dn\",\"actionConfiguration\":\"tvgbmhrixkwmy\",\"targetUri\":\"jejveg\",\"typeRef\":\"bpnaixexccbdre\",\"topic\":\"hcexdrrvqa\",\"actionType\":\"Call\",\"timeoutInSeconds\":1584778168,\"lastUpdatedOn\":\"2021-12-03T06:49:25Z\"},{\"name\":\"wijnh\",\"actionConfiguration\":\"svfycxzbfv\",\"targetUri\":\"owvrvmtgjqppyos\",\"typeRef\":\"on\",\"topic\":\"yhgfipnsx\",\"actionType\":\"Write\",\"timeoutInSeconds\":115360224,\"lastUpdatedOn\":\"2020-12-24T09:43:24Z\"}],\"lastUpdatedOn\":\"2021-04-17T18:50:11Z\"}")
.toObject(NamespaceDiscoveredManagementGroup.class);
- Assertions.assertEquals("byrqufeg", model.name());
- Assertions.assertEquals("vwz", model.managementGroupConfiguration());
- Assertions.assertEquals("nhlmctlpdng", model.typeRef());
- Assertions.assertEquals("vgbmhr", model.dataSource());
- Assertions.assertEquals("kw", model.defaultTopic());
- Assertions.assertEquals(881216516, model.defaultTimeoutInSeconds());
- Assertions.assertEquals("jvegrhbpnaixexcc", model.actions().get(0).name());
- Assertions.assertEquals("reaxhcexdr", model.actions().get(0).actionConfiguration());
- Assertions.assertEquals("vqahqkghtpwi", model.actions().get(0).targetUri());
- Assertions.assertEquals("hyjsvfycx", model.actions().get(0).typeRef());
- Assertions.assertEquals("fvoow", model.actions().get(0).topic());
- Assertions.assertEquals(NamespaceDiscoveredManagementActionType.CALL, model.actions().get(0).actionType());
- Assertions.assertEquals(64762748, model.actions().get(0).timeoutInSeconds());
- Assertions.assertEquals(OffsetDateTime.parse("2021-12-04T01:16:08Z"), model.actions().get(0).lastUpdatedOn());
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-29T05:21:23Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("tmtdhtmdvypgik", model.name());
+ Assertions.assertEquals("szywkbirryu", model.managementGroupConfiguration());
+ Assertions.assertEquals("lhkjoqrvqq", model.typeRef());
+ Assertions.assertEquals("t", model.dataSource());
+ Assertions.assertEquals("nrvgoupmfiibfgg", model.defaultTopic());
+ Assertions.assertEquals(615385800, model.defaultTimeoutInSeconds());
+ Assertions.assertEquals("vrwxkv", model.actions().get(0).name());
+ Assertions.assertEquals("k", model.actions().get(0).actionConfiguration());
+ Assertions.assertEquals("llqwjygvjayvblmh", model.actions().get(0).targetUri());
+ Assertions.assertEquals("zuhbxvvyhgsopb", model.actions().get(0).typeRef());
+ Assertions.assertEquals("qufegxuvwzfbn", model.actions().get(0).topic());
+ Assertions.assertEquals(NamespaceDiscoveredManagementActionType.READ, model.actions().get(0).actionType());
+ Assertions.assertEquals(1252450841, model.actions().get(0).timeoutInSeconds());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-15T15:01:25Z"), model.actions().get(0).lastUpdatedOn());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-17T18:50:11Z"), model.lastUpdatedOn());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredManagementGroup model = new NamespaceDiscoveredManagementGroup().withName("byrqufeg")
- .withManagementGroupConfiguration("vwz")
- .withTypeRef("nhlmctlpdng")
- .withDataSource("vgbmhr")
- .withDefaultTopic("kw")
- .withDefaultTimeoutInSeconds(881216516)
+ NamespaceDiscoveredManagementGroup model = new NamespaceDiscoveredManagementGroup().withName("tmtdhtmdvypgik")
+ .withManagementGroupConfiguration("szywkbirryu")
+ .withTypeRef("lhkjoqrvqq")
+ .withDataSource("t")
+ .withDefaultTopic("nrvgoupmfiibfgg")
+ .withDefaultTimeoutInSeconds(615385800)
.withActions(Arrays.asList(
- new NamespaceDiscoveredManagementAction().withName("jvegrhbpnaixexcc")
- .withActionConfiguration("reaxhcexdr")
- .withTargetUri("vqahqkghtpwi")
- .withTypeRef("hyjsvfycx")
- .withTopic("fvoow")
- .withActionType(NamespaceDiscoveredManagementActionType.CALL)
- .withTimeoutInSeconds(64762748)
- .withLastUpdatedOn(OffsetDateTime.parse("2021-12-04T01:16:08Z")),
- new NamespaceDiscoveredManagementAction().withName("qp")
- .withActionConfiguration("ostronz")
- .withTargetUri("yhgfipnsx")
- .withTypeRef("cwaekrrjre")
- .withTopic("xt")
- .withActionType(NamespaceDiscoveredManagementActionType.WRITE)
- .withTimeoutInSeconds(1781492308)
- .withLastUpdatedOn(OffsetDateTime.parse("2021-06-07T04:38:31Z")),
- new NamespaceDiscoveredManagementAction().withName("lik")
- .withActionConfiguration("wslolbqp")
- .withTargetUri("uzlm")
- .withTypeRef("elfk")
- .withTopic("plcrpwjxeznoig")
+ new NamespaceDiscoveredManagementAction().withName("vrwxkv")
+ .withActionConfiguration("k")
+ .withTargetUri("llqwjygvjayvblmh")
+ .withTypeRef("zuhbxvvyhgsopb")
+ .withTopic("qufegxuvwzfbn")
.withActionType(NamespaceDiscoveredManagementActionType.READ)
- .withTimeoutInSeconds(78326163)
- .withLastUpdatedOn(OffsetDateTime.parse("2021-07-10T07:09:22Z")),
- new NamespaceDiscoveredManagementAction().withName("kpnb")
- .withActionConfiguration("zejjoqk")
- .withTargetUri("gfhsxttaugzxn")
- .withTypeRef("azpxdtnkdmkqjjl")
- .withTopic("envrkpyouaibrebq")
+ .withTimeoutInSeconds(1252450841)
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-05-15T15:01:25Z")),
+ new NamespaceDiscoveredManagementAction().withName("dn")
+ .withActionConfiguration("tvgbmhrixkwmy")
+ .withTargetUri("jejveg")
+ .withTypeRef("bpnaixexccbdre")
+ .withTopic("hcexdrrvqa")
.withActionType(NamespaceDiscoveredManagementActionType.CALL)
- .withTimeoutInSeconds(34950484)
- .withLastUpdatedOn(OffsetDateTime.parse("2021-11-07T06:56:28Z"))))
- .withLastUpdatedOn(OffsetDateTime.parse("2021-04-29T05:21:23Z"));
+ .withTimeoutInSeconds(1584778168)
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-12-03T06:49:25Z")),
+ new NamespaceDiscoveredManagementAction().withName("wijnh")
+ .withActionConfiguration("svfycxzbfv")
+ .withTargetUri("owvrvmtgjqppyos")
+ .withTypeRef("on")
+ .withTopic("yhgfipnsx")
+ .withActionType(NamespaceDiscoveredManagementActionType.WRITE)
+ .withTimeoutInSeconds(115360224)
+ .withLastUpdatedOn(OffsetDateTime.parse("2020-12-24T09:43:24Z"))))
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-04-17T18:50:11Z"));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredManagementGroup.class);
- Assertions.assertEquals("byrqufeg", model.name());
- Assertions.assertEquals("vwz", model.managementGroupConfiguration());
- Assertions.assertEquals("nhlmctlpdng", model.typeRef());
- Assertions.assertEquals("vgbmhr", model.dataSource());
- Assertions.assertEquals("kw", model.defaultTopic());
- Assertions.assertEquals(881216516, model.defaultTimeoutInSeconds());
- Assertions.assertEquals("jvegrhbpnaixexcc", model.actions().get(0).name());
- Assertions.assertEquals("reaxhcexdr", model.actions().get(0).actionConfiguration());
- Assertions.assertEquals("vqahqkghtpwi", model.actions().get(0).targetUri());
- Assertions.assertEquals("hyjsvfycx", model.actions().get(0).typeRef());
- Assertions.assertEquals("fvoow", model.actions().get(0).topic());
- Assertions.assertEquals(NamespaceDiscoveredManagementActionType.CALL, model.actions().get(0).actionType());
- Assertions.assertEquals(64762748, model.actions().get(0).timeoutInSeconds());
- Assertions.assertEquals(OffsetDateTime.parse("2021-12-04T01:16:08Z"), model.actions().get(0).lastUpdatedOn());
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-29T05:21:23Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("tmtdhtmdvypgik", model.name());
+ Assertions.assertEquals("szywkbirryu", model.managementGroupConfiguration());
+ Assertions.assertEquals("lhkjoqrvqq", model.typeRef());
+ Assertions.assertEquals("t", model.dataSource());
+ Assertions.assertEquals("nrvgoupmfiibfgg", model.defaultTopic());
+ Assertions.assertEquals(615385800, model.defaultTimeoutInSeconds());
+ Assertions.assertEquals("vrwxkv", model.actions().get(0).name());
+ Assertions.assertEquals("k", model.actions().get(0).actionConfiguration());
+ Assertions.assertEquals("llqwjygvjayvblmh", model.actions().get(0).targetUri());
+ Assertions.assertEquals("zuhbxvvyhgsopb", model.actions().get(0).typeRef());
+ Assertions.assertEquals("qufegxuvwzfbn", model.actions().get(0).topic());
+ Assertions.assertEquals(NamespaceDiscoveredManagementActionType.READ, model.actions().get(0).actionType());
+ Assertions.assertEquals(1252450841, model.actions().get(0).timeoutInSeconds());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-15T15:01:25Z"), model.actions().get(0).lastUpdatedOn());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-17T18:50:11Z"), model.lastUpdatedOn());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredStreamTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredStreamTests.java
index 7d74157c34a2..c222d949d042 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredStreamTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceDiscoveredStreamTests.java
@@ -15,25 +15,25 @@ public final class NamespaceDiscoveredStreamTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceDiscoveredStream model = BinaryData.fromString(
- "{\"name\":\"tkkgllqwjy\",\"streamConfiguration\":\"jayvblmhv\",\"typeRef\":\"uhbxvvy\",\"destinations\":[{\"target\":\"StreamDestination\"}],\"lastUpdatedOn\":\"2021-10-11T00:15:08Z\"}")
+ "{\"name\":\"bwccsnjvcdwxlpqe\",\"streamConfiguration\":\"tn\",\"typeRef\":\"tjsyin\",\"destinations\":[{\"target\":\"StreamDestination\"}],\"lastUpdatedOn\":\"2021-02-20T13:18:06Z\"}")
.toObject(NamespaceDiscoveredStream.class);
- Assertions.assertEquals("tkkgllqwjy", model.name());
- Assertions.assertEquals("jayvblmhv", model.streamConfiguration());
- Assertions.assertEquals("uhbxvvy", model.typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-10-11T00:15:08Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("bwccsnjvcdwxlpqe", model.name());
+ Assertions.assertEquals("tn", model.streamConfiguration());
+ Assertions.assertEquals("tjsyin", model.typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-02-20T13:18:06Z"), model.lastUpdatedOn());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceDiscoveredStream model = new NamespaceDiscoveredStream().withName("tkkgllqwjy")
- .withStreamConfiguration("jayvblmhv")
- .withTypeRef("uhbxvvy")
+ NamespaceDiscoveredStream model = new NamespaceDiscoveredStream().withName("bwccsnjvcdwxlpqe")
+ .withStreamConfiguration("tn")
+ .withTypeRef("tjsyin")
.withDestinations(Arrays.asList(new StreamDestination()))
- .withLastUpdatedOn(OffsetDateTime.parse("2021-10-11T00:15:08Z"));
+ .withLastUpdatedOn(OffsetDateTime.parse("2021-02-20T13:18:06Z"));
model = BinaryData.fromObject(model).toObject(NamespaceDiscoveredStream.class);
- Assertions.assertEquals("tkkgllqwjy", model.name());
- Assertions.assertEquals("jayvblmhv", model.streamConfiguration());
- Assertions.assertEquals("uhbxvvy", model.typeRef());
- Assertions.assertEquals(OffsetDateTime.parse("2021-10-11T00:15:08Z"), model.lastUpdatedOn());
+ Assertions.assertEquals("bwccsnjvcdwxlpqe", model.name());
+ Assertions.assertEquals("tn", model.streamConfiguration());
+ Assertions.assertEquals("tjsyin", model.typeRef());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-02-20T13:18:06Z"), model.lastUpdatedOn());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventGroupTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventGroupTests.java
index 0ce2886ec350..df6dc395a90e 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventGroupTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventGroupTests.java
@@ -15,45 +15,57 @@ public final class NamespaceEventGroupTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceEventGroup model = BinaryData.fromString(
- "{\"name\":\"pgylg\",\"dataSource\":\"itxmedjvcslynqww\",\"eventGroupConfiguration\":\"wzz\",\"defaultDestinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"trmgucnapkte\",\"events\":[{\"name\":\"lwptfdy\",\"dataSource\":\"fqbuaceopzf\",\"eventConfiguration\":\"hhuao\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"qeqxo\"},{\"name\":\"z\",\"dataSource\":\"hzxct\",\"eventConfiguration\":\"gbkdmoizpos\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"cfbu\"}]}")
+ "{\"name\":\"joya\",\"dataSource\":\"slyjpkiid\",\"eventGroupConfiguration\":\"exznelixhnr\",\"defaultDestinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"lhbnxkna\",\"events\":[{\"name\":\"lp\",\"dataSource\":\"gdtpnapnyiro\",\"eventConfiguration\":\"hpigv\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"gqgitxmedjvcsl\"},{\"name\":\"n\",\"dataSource\":\"wncwzzhxgktrmg\",\"eventConfiguration\":\"napkteoellw\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"ygpfqb\"},{\"name\":\"ac\",\"dataSource\":\"pzfqrhhuaoppp\",\"eventConfiguration\":\"eqx\",\"destinations\":[{\"target\":\"EventDestination\"}],\"typeRef\":\"ahzxctobgbk\"},{\"name\":\"moizpos\",\"dataSource\":\"grcfb\",\"eventConfiguration\":\"rmfqjhhkxbpvj\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"xxjyngudivkrtsw\"}]}")
.toObject(NamespaceEventGroup.class);
- Assertions.assertEquals("pgylg", model.name());
- Assertions.assertEquals("itxmedjvcslynqww", model.dataSource());
- Assertions.assertEquals("wzz", model.eventGroupConfiguration());
- Assertions.assertEquals("trmgucnapkte", model.typeRef());
- Assertions.assertEquals("lwptfdy", model.events().get(0).name());
- Assertions.assertEquals("fqbuaceopzf", model.events().get(0).dataSource());
- Assertions.assertEquals("hhuao", model.events().get(0).eventConfiguration());
- Assertions.assertEquals("qeqxo", model.events().get(0).typeRef());
+ Assertions.assertEquals("joya", model.name());
+ Assertions.assertEquals("slyjpkiid", model.dataSource());
+ Assertions.assertEquals("exznelixhnr", model.eventGroupConfiguration());
+ Assertions.assertEquals("lhbnxkna", model.typeRef());
+ Assertions.assertEquals("lp", model.events().get(0).name());
+ Assertions.assertEquals("gdtpnapnyiro", model.events().get(0).dataSource());
+ Assertions.assertEquals("hpigv", model.events().get(0).eventConfiguration());
+ Assertions.assertEquals("gqgitxmedjvcsl", model.events().get(0).typeRef());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceEventGroup model = new NamespaceEventGroup().withName("pgylg")
- .withDataSource("itxmedjvcslynqww")
- .withEventGroupConfiguration("wzz")
- .withDefaultDestinations(Arrays.asList(new EventDestination(), new EventDestination(),
- new EventDestination(), new EventDestination()))
- .withTypeRef("trmgucnapkte")
+ NamespaceEventGroup model = new NamespaceEventGroup().withName("joya")
+ .withDataSource("slyjpkiid")
+ .withEventGroupConfiguration("exznelixhnr")
+ .withDefaultDestinations(
+ Arrays.asList(new EventDestination(), new EventDestination(), new EventDestination()))
+ .withTypeRef("lhbnxkna")
.withEvents(Arrays.asList(
- new NamespaceEvent().withName("lwptfdy")
- .withDataSource("fqbuaceopzf")
- .withEventConfiguration("hhuao")
+ new NamespaceEvent().withName("lp")
+ .withDataSource("gdtpnapnyiro")
+ .withEventConfiguration("hpigv")
+ .withDestinations(Arrays.asList(new EventDestination(), new EventDestination(),
+ new EventDestination(), new EventDestination()))
+ .withTypeRef("gqgitxmedjvcsl"),
+ new NamespaceEvent().withName("n")
+ .withDataSource("wncwzzhxgktrmg")
+ .withEventConfiguration("napkteoellw")
+ .withDestinations(Arrays.asList(new EventDestination(), new EventDestination(),
+ new EventDestination(), new EventDestination()))
+ .withTypeRef("ygpfqb"),
+ new NamespaceEvent().withName("ac")
+ .withDataSource("pzfqrhhuaoppp")
+ .withEventConfiguration("eqx")
+ .withDestinations(Arrays.asList(new EventDestination()))
+ .withTypeRef("ahzxctobgbk"),
+ new NamespaceEvent().withName("moizpos")
+ .withDataSource("grcfb")
+ .withEventConfiguration("rmfqjhhkxbpvj")
.withDestinations(Arrays.asList(new EventDestination(), new EventDestination()))
- .withTypeRef("qeqxo"),
- new NamespaceEvent().withName("z")
- .withDataSource("hzxct")
- .withEventConfiguration("gbkdmoizpos")
- .withDestinations(Arrays.asList(new EventDestination(), new EventDestination()))
- .withTypeRef("cfbu")));
+ .withTypeRef("xxjyngudivkrtsw")));
model = BinaryData.fromObject(model).toObject(NamespaceEventGroup.class);
- Assertions.assertEquals("pgylg", model.name());
- Assertions.assertEquals("itxmedjvcslynqww", model.dataSource());
- Assertions.assertEquals("wzz", model.eventGroupConfiguration());
- Assertions.assertEquals("trmgucnapkte", model.typeRef());
- Assertions.assertEquals("lwptfdy", model.events().get(0).name());
- Assertions.assertEquals("fqbuaceopzf", model.events().get(0).dataSource());
- Assertions.assertEquals("hhuao", model.events().get(0).eventConfiguration());
- Assertions.assertEquals("qeqxo", model.events().get(0).typeRef());
+ Assertions.assertEquals("joya", model.name());
+ Assertions.assertEquals("slyjpkiid", model.dataSource());
+ Assertions.assertEquals("exznelixhnr", model.eventGroupConfiguration());
+ Assertions.assertEquals("lhbnxkna", model.typeRef());
+ Assertions.assertEquals("lp", model.events().get(0).name());
+ Assertions.assertEquals("gdtpnapnyiro", model.events().get(0).dataSource());
+ Assertions.assertEquals("hpigv", model.events().get(0).eventConfiguration());
+ Assertions.assertEquals("gqgitxmedjvcsl", model.events().get(0).typeRef());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventTests.java
index 164e0e1f98b4..3f47fc0d10a1 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceEventTests.java
@@ -14,25 +14,26 @@ public final class NamespaceEventTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceEvent model = BinaryData.fromString(
- "{\"name\":\"rmfqjhhkxbpvj\",\"dataSource\":\"jhxxjyn\",\"eventConfiguration\":\"divkrt\",\"destinations\":[{\"target\":\"EventDestination\"}],\"typeRef\":\"qzvszjf\"}")
+ "{\"name\":\"xqzvszjfa\",\"dataSource\":\"j\",\"eventConfiguration\":\"xxivetv\",\"destinations\":[{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"},{\"target\":\"EventDestination\"}],\"typeRef\":\"qtdo\"}")
.toObject(NamespaceEvent.class);
- Assertions.assertEquals("rmfqjhhkxbpvj", model.name());
- Assertions.assertEquals("jhxxjyn", model.dataSource());
- Assertions.assertEquals("divkrt", model.eventConfiguration());
- Assertions.assertEquals("qzvszjf", model.typeRef());
+ Assertions.assertEquals("xqzvszjfa", model.name());
+ Assertions.assertEquals("j", model.dataSource());
+ Assertions.assertEquals("xxivetv", model.eventConfiguration());
+ Assertions.assertEquals("qtdo", model.typeRef());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceEvent model = new NamespaceEvent().withName("rmfqjhhkxbpvj")
- .withDataSource("jhxxjyn")
- .withEventConfiguration("divkrt")
- .withDestinations(Arrays.asList(new EventDestination()))
- .withTypeRef("qzvszjf");
+ NamespaceEvent model = new NamespaceEvent().withName("xqzvszjfa")
+ .withDataSource("j")
+ .withEventConfiguration("xxivetv")
+ .withDestinations(Arrays.asList(new EventDestination(), new EventDestination(), new EventDestination(),
+ new EventDestination()))
+ .withTypeRef("qtdo");
model = BinaryData.fromObject(model).toObject(NamespaceEvent.class);
- Assertions.assertEquals("rmfqjhhkxbpvj", model.name());
- Assertions.assertEquals("jhxxjyn", model.dataSource());
- Assertions.assertEquals("divkrt", model.eventConfiguration());
- Assertions.assertEquals("qzvszjf", model.typeRef());
+ Assertions.assertEquals("xqzvszjfa", model.name());
+ Assertions.assertEquals("j", model.dataSource());
+ Assertions.assertEquals("xxivetv", model.eventConfiguration());
+ Assertions.assertEquals("qtdo", model.typeRef());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceMessageSchemaReferenceTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceMessageSchemaReferenceTests.java
index 382d091bee98..415bf8dc6d4a 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceMessageSchemaReferenceTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceMessageSchemaReferenceTests.java
@@ -10,8 +10,8 @@
public final class NamespaceMessageSchemaReferenceTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- NamespaceMessageSchemaReference model = BinaryData.fromString(
- "{\"schemaRegistryNamespace\":\"onz\",\"schemaName\":\"nsikvmkqzeqqkdl\",\"schemaVersion\":\"fzxmhhvhgureodkw\"}")
+ NamespaceMessageSchemaReference model = BinaryData
+ .fromString("{\"schemaRegistryNamespace\":\"dntnevf\",\"schemaName\":\"wjmy\",\"schemaVersion\":\"tdss\"}")
.toObject(NamespaceMessageSchemaReference.class);
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceStreamTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceStreamTests.java
index cf25a96497b0..41c10ca61eeb 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceStreamTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespaceStreamTests.java
@@ -14,22 +14,22 @@ public final class NamespaceStreamTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NamespaceStream model = BinaryData.fromString(
- "{\"name\":\"uvjfdxxive\",\"streamConfiguration\":\"t\",\"typeRef\":\"aqtdoqmcbx\",\"destinations\":[{\"target\":\"StreamDestination\"},{\"target\":\"StreamDestination\"}]}")
+ "{\"name\":\"mcbxvwvxysl\",\"streamConfiguration\":\"hsfxoblytkb\",\"typeRef\":\"pe\",\"destinations\":[{\"target\":\"StreamDestination\"},{\"target\":\"StreamDestination\"},{\"target\":\"StreamDestination\"}]}")
.toObject(NamespaceStream.class);
- Assertions.assertEquals("uvjfdxxive", model.name());
- Assertions.assertEquals("t", model.streamConfiguration());
- Assertions.assertEquals("aqtdoqmcbx", model.typeRef());
+ Assertions.assertEquals("mcbxvwvxysl", model.name());
+ Assertions.assertEquals("hsfxoblytkb", model.streamConfiguration());
+ Assertions.assertEquals("pe", model.typeRef());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NamespaceStream model = new NamespaceStream().withName("uvjfdxxive")
- .withStreamConfiguration("t")
- .withTypeRef("aqtdoqmcbx")
- .withDestinations(Arrays.asList(new StreamDestination(), new StreamDestination()));
+ NamespaceStream model = new NamespaceStream().withName("mcbxvwvxysl")
+ .withStreamConfiguration("hsfxoblytkb")
+ .withTypeRef("pe")
+ .withDestinations(Arrays.asList(new StreamDestination(), new StreamDestination(), new StreamDestination()));
model = BinaryData.fromObject(model).toObject(NamespaceStream.class);
- Assertions.assertEquals("uvjfdxxive", model.name());
- Assertions.assertEquals("t", model.streamConfiguration());
- Assertions.assertEquals("aqtdoqmcbx", model.typeRef());
+ Assertions.assertEquals("mcbxvwvxysl", model.name());
+ Assertions.assertEquals("hsfxoblytkb", model.streamConfiguration());
+ Assertions.assertEquals("pe", model.typeRef());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceMockTests.java
index fc21595c7094..9db70bd2d064 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesCreateOrReplaceMockTests.java
@@ -28,7 +28,7 @@ public final class NamespacesCreateOrReplaceMockTests {
@Test
public void testCreateOrReplace() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"xff\",\"messaging\":{\"endpoints\":{\"nugj\":{\"endpointType\":\"fbkgozxwopdby\",\"address\":\"p\",\"resourceId\":\"qaclnapxbiy\"},\"hmrnjhvsuj\":{\"endpointType\":\"fsmfcttuxuuyi\",\"address\":\"flqo\",\"resourceId\":\"uvr\"}}},\"provisioningState\":\"Succeeded\"},\"identity\":{\"principalId\":\"tqjtwhauu\",\"tenantId\":\"prnjletlxsmr\",\"type\":\"None\"},\"location\":\"ou\",\"tags\":{\"iwhxqszdtmaajq\":\"mowaziynknlqwzdv\",\"rjvmtygjbmzyosp\":\"huxy\",\"hckfkyjpmspbps\":\"p\",\"pyogtieyuj\":\"df\"},\"id\":\"vczkcnyxrxmunjd\",\"name\":\"vg\",\"type\":\"nkvxlxpaglqi\"}";
+ = "{\"properties\":{\"uuid\":\"d\",\"messaging\":{\"endpoints\":{\"qmp\":{\"endpointType\":\"nnawtqabpxuckpgg\",\"address\":\"oweyirdhlis\",\"resourceId\":\"wfl\"},\"gfgrwsdp\":{\"endpointType\":\"ruwnpqxpx\",\"address\":\"wfcngjsaas\",\"resourceId\":\"xtmkzjvkviir\"}}},\"provisioningState\":\"Succeeded\"},\"identity\":{\"principalId\":\"vzbglbyvi\",\"tenantId\":\"ctbrxkjzwrgxffm\",\"type\":\"SystemAssigned\"},\"location\":\"wfbkgozxwo\",\"tags\":{\"izqaclnapxbiyg\":\"yd\",\"mfcttux\":\"ugjknf\",\"njhvsujztc\":\"uyilflqoiquvrehm\",\"w\":\"ytqj\"},\"id\":\"auunfprnjletlx\",\"name\":\"mr\",\"type\":\"ddoui\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -38,27 +38,31 @@ public void testCreateOrReplace() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Namespace response = manager.namespaces()
- .define("xqdlyrtltlapr")
- .withRegion("isngwflqqmpizru")
- .withExistingResourceGroup("amktcqiosmgbzah")
- .withTags(mapOf("iixtmkzj", "qxpxiwfcngjsaa", "irhgfgrwsdp", "kv"))
- .withProperties(new NamespaceProperties().withMessaging(new Messaging().withEndpoints(mapOf("mhyreeudz",
- new MessagingEndpoint().withEndpointType("oqeq").withAddress("larvlagunbtg").withResourceId("bwln"),
- "xkjeytunlbfj",
- new MessagingEndpoint().withEndpointType("vbpdqmjxlyyzglgo")
- .withAddress("wtlmjjyuo")
- .withResourceId("tob"),
- "enx", new MessagingEndpoint().withEndpointType("rusnk").withAddress("bhsy").withResourceId("unjqh")))))
- .withIdentity(new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.NONE))
+ .define("vefloccsrmozihmi")
+ .withRegion("lmjjyuo")
+ .withExistingResourceGroup("npbs")
+ .withTags(mapOf("lbfjkwr", "obaxkjeytu"))
+ .withProperties(new NamespaceProperties().withMessaging(new Messaging().withEndpoints(mapOf("rksxwpndfc",
+ new MessagingEndpoint().withEndpointType("ytfmpc").withAddress("cil").withResourceId("caykggnoxuz"),
+ "gxq",
+ new MessagingEndpoint().withEndpointType("nznthjtw")
+ .withAddress("jaosrxuzv")
+ .withResourceId("mktcqiosmgbza"),
+ "agunbtgfebw",
+ new MessagingEndpoint().withEndpointType("yrtltlaprltzkat")
+ .withAddress("hjm")
+ .withResourceId("nbsoqeqalarv")))))
+ .withIdentity(
+ new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED))
.create();
- Assertions.assertEquals("ou", response.location());
- Assertions.assertEquals("mowaziynknlqwzdv", response.tags().get("iwhxqszdtmaajq"));
- Assertions.assertEquals("fbkgozxwopdby",
- response.properties().messaging().endpoints().get("nugj").endpointType());
- Assertions.assertEquals("p", response.properties().messaging().endpoints().get("nugj").address());
- Assertions.assertEquals("qaclnapxbiy", response.properties().messaging().endpoints().get("nugj").resourceId());
- Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, response.identity().type());
+ Assertions.assertEquals("wfbkgozxwo", response.location());
+ Assertions.assertEquals("yd", response.tags().get("izqaclnapxbiyg"));
+ Assertions.assertEquals("nnawtqabpxuckpgg",
+ response.properties().messaging().endpoints().get("qmp").endpointType());
+ Assertions.assertEquals("oweyirdhlis", response.properties().messaging().endpoints().get("qmp").address());
+ Assertions.assertEquals("wfl", response.properties().messaging().endpoints().get("qmp").resourceId());
+ Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupWithResponseMockTests.java
index 0e0da6f2adb1..93f8f89cfa88 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesGetByResourceGroupWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class NamespacesGetByResourceGroupWithResponseMockTests {
@Test
public void testGetByResourceGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"clt\",\"messaging\":{\"endpoints\":{\"aivmxyasflvgs\":{\"endpointType\":\"xxmlfmkqscazua\",\"address\":\"xtzx\",\"resourceId\":\"amwabzxrvxcushsp\"},\"ljhlnymzotq\":{\"endpointType\":\"wywa\",\"address\":\"oi\",\"resourceId\":\"nsmjbl\"},\"gsxgnxfyqon\":{\"endpointType\":\"yuzcbmqqvxmvw\",\"address\":\"gtayxonsupeujlz\",\"resourceId\":\"hcvsqltnzoi\"},\"bcblemb\":{\"endpointType\":\"qoxwd\",\"address\":\"fdbxiqxeiiqbim\",\"resourceId\":\"mwwinhehfqpofv\"}}},\"provisioningState\":\"Succeeded\"},\"identity\":{\"principalId\":\"qvxkd\",\"tenantId\":\"qihebw\",\"type\":\"SystemAssigned\"},\"location\":\"bzuwfmdurag\",\"tags\":{\"igkxkbsazga\":\"zvcjfelisdjubggb\",\"apvu\":\"gacyrcmjdmspo\"},\"id\":\"rylniofrzg\",\"name\":\"zjedmstkvnlv\",\"type\":\"bcuiiz\"}";
+ = "{\"properties\":{\"uuid\":\"zkzobgopxlhslnel\",\"messaging\":{\"endpoints\":{\"orq\":{\"endpointType\":\"ynllxe\",\"address\":\"wcrojphslhcaw\",\"resourceId\":\"tifdwfmvi\"},\"tyjedex\":{\"endpointType\":\"ttzhra\",\"address\":\"lkafhonqjuje\",\"resourceId\":\"kpzvcpopmxelnwc\"},\"aivmxyasflvgs\":{\"endpointType\":\"lfmk\",\"address\":\"scazuawxtzxpu\",\"resourceId\":\"wabzxrvxcushsp\"},\"ljhlnymzotq\":{\"endpointType\":\"wywa\",\"address\":\"oi\",\"resourceId\":\"nsmjbl\"}}},\"provisioningState\":\"Canceled\"},\"identity\":{\"principalId\":\"cbm\",\"tenantId\":\"vxmvw\",\"type\":\"SystemAssigned\"},\"location\":\"ayxonsupeujl\",\"tags\":{\"gsxgnxfyqon\":\"hcvsqltnzoi\"},\"id\":\"p\",\"name\":\"ox\",\"type\":\"dofdbxiqx\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,16 +32,14 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Namespace response = manager.namespaces()
- .getByResourceGroupWithResponse("ujeickp", "vcpopmxe", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("dsxwaab", "mifrygznmma", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("bzuwfmdurag", response.location());
- Assertions.assertEquals("zvcjfelisdjubggb", response.tags().get("igkxkbsazga"));
- Assertions.assertEquals("xxmlfmkqscazua",
- response.properties().messaging().endpoints().get("aivmxyasflvgs").endpointType());
- Assertions.assertEquals("xtzx", response.properties().messaging().endpoints().get("aivmxyasflvgs").address());
- Assertions.assertEquals("amwabzxrvxcushsp",
- response.properties().messaging().endpoints().get("aivmxyasflvgs").resourceId());
+ Assertions.assertEquals("ayxonsupeujl", response.location());
+ Assertions.assertEquals("hcvsqltnzoi", response.tags().get("gsxgnxfyqon"));
+ Assertions.assertEquals("ynllxe", response.properties().messaging().endpoints().get("orq").endpointType());
+ Assertions.assertEquals("wcrojphslhcaw", response.properties().messaging().endpoints().get("orq").address());
+ Assertions.assertEquals("tifdwfmvi", response.properties().messaging().endpoints().get("orq").resourceId());
Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupMockTests.java
index 2ea1378e35f5..02e60be0d51d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListByResourceGroupMockTests.java
@@ -23,7 +23,7 @@ public final class NamespacesListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"uuid\":\"v\",\"messaging\":{\"endpoints\":{\"fwlwxjwetnps\":{\"endpointType\":\"ikostbzbkiwbuqny\",\"address\":\"phzfylsgcrp\",\"resourceId\":\"cunezzcezelfw\"},\"fewz\":{\"endpointType\":\"clafzvaylpt\",\"address\":\"sqqw\",\"resourceId\":\"cmwqkchcxwa\"}}},\"provisioningState\":\"Canceled\"},\"identity\":{\"principalId\":\"fdeqvhpsyl\",\"tenantId\":\"shk\",\"type\":\"SystemAssigned\"},\"location\":\"mbmxzjrgywwpgj\",\"tags\":{\"aqutdewemxswvruu\":\"ptfujgicgaaoept\",\"rtixokff\":\"zzjgehkfki\"},\"id\":\"yinljqe\",\"name\":\"qwhix\",\"type\":\"onsts\"}]}";
+ = "{\"value\":[{\"properties\":{\"uuid\":\"mwwinhehfqpofv\",\"messaging\":{\"endpoints\":{\"swbzuwfmdurage\":{\"endpointType\":\"embnkbw\",\"address\":\"qvxkd\",\"resourceId\":\"qihebw\"},\"cmjdmspof\":{\"endpointType\":\"zvcjfelisdjubggb\",\"address\":\"igkxkbsazga\",\"resourceId\":\"acy\"},\"f\":{\"endpointType\":\"vuhrylni\",\"address\":\"frzgbzjed\",\"resourceId\":\"tkvnlvxbcuiiznkt\"},\"ophzfylsgcrp\":{\"endpointType\":\"snvpdibmi\",\"address\":\"ostbzbkiwb\",\"resourceId\":\"n\"}}},\"provisioningState\":\"Accepted\"},\"identity\":{\"principalId\":\"ezzcez\",\"tenantId\":\"fwyfwlwxjwet\",\"type\":\"None\"},\"location\":\"ihclafzv\",\"tags\":{\"sqqw\":\"pt\"},\"id\":\"tcmwqkchc\",\"name\":\"waxfewzjkj\",\"type\":\"xfdeqvhpsyl\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,17 +33,16 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.namespaces().listByResourceGroup("ktwfa", com.azure.core.util.Context.NONE);
+ = manager.namespaces().listByResourceGroup("iiqbi", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("mbmxzjrgywwpgj", response.iterator().next().location());
- Assertions.assertEquals("ptfujgicgaaoept", response.iterator().next().tags().get("aqutdewemxswvruu"));
- Assertions.assertEquals("ikostbzbkiwbuqny",
- response.iterator().next().properties().messaging().endpoints().get("fwlwxjwetnps").endpointType());
- Assertions.assertEquals("phzfylsgcrp",
- response.iterator().next().properties().messaging().endpoints().get("fwlwxjwetnps").address());
- Assertions.assertEquals("cunezzcezelfw",
- response.iterator().next().properties().messaging().endpoints().get("fwlwxjwetnps").resourceId());
- Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED,
- response.iterator().next().identity().type());
+ Assertions.assertEquals("ihclafzv", response.iterator().next().location());
+ Assertions.assertEquals("pt", response.iterator().next().tags().get("sqqw"));
+ Assertions.assertEquals("embnkbw",
+ response.iterator().next().properties().messaging().endpoints().get("swbzuwfmdurage").endpointType());
+ Assertions.assertEquals("qvxkd",
+ response.iterator().next().properties().messaging().endpoints().get("swbzuwfmdurage").address());
+ Assertions.assertEquals("qihebw",
+ response.iterator().next().properties().messaging().endpoints().get("swbzuwfmdurage").resourceId());
+ Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, response.iterator().next().identity().type());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListMockTests.java
index 5763997e65cf..572d9cc1a013 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesListMockTests.java
@@ -23,7 +23,7 @@ public final class NamespacesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"uuid\":\"xgvelfclduccbird\",\"messaging\":{\"endpoints\":{\"tbxqmuluxlxq\":{\"endpointType\":\"o\",\"address\":\"iegstm\",\"resourceId\":\"nwjizcilnghgshej\"},\"ziqgfuh\":{\"endpointType\":\"nersb\",\"address\":\"cucrwnamikze\",\"resourceId\":\"qbsms\"}}},\"provisioningState\":\"Accepted\"},\"identity\":{\"principalId\":\"swhvhczznvfbycj\",\"tenantId\":\"jww\",\"type\":\"None\"},\"location\":\"vumwmxqh\",\"tags\":{\"hflzokxco\":\"noamldsehaohdj\",\"tsxoatftgz\":\"pelnjetag\",\"vefloccsrmozihmi\":\"npbs\"},\"id\":\"g\",\"name\":\"wtxxpkyjcx\",\"type\":\"jxgrytfmp\"}]}";
+ = "{\"value\":[{\"properties\":{\"uuid\":\"hkbffmbm\",\"messaging\":{\"endpoints\":{\"mxswvruunzz\":{\"endpointType\":\"ywwpgjxsnptfuj\",\"address\":\"icgaao\",\"resourceId\":\"ttaqutdew\"},\"xgvelfclduccbird\":{\"endpointType\":\"ehkfkimrtixok\",\"address\":\"fqyinljqepqw\",\"resourceId\":\"xmonstshi\"}}},\"provisioningState\":\"Succeeded\"},\"identity\":{\"principalId\":\"o\",\"tenantId\":\"egstmninwjizci\",\"type\":\"None\"},\"location\":\"hgshe\",\"tags\":{\"uxlxqzvners\":\"bxqmu\",\"qbsms\":\"ycucrwnamikzeb\",\"kzruswh\":\"ziqgfuh\"},\"id\":\"hczznvf\",\"name\":\"ycjsx\",\"type\":\"wwixzvumw\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,14 +34,14 @@ public void testList() throws Exception {
PagedIterable response = manager.namespaces().list(com.azure.core.util.Context.NONE);
- Assertions.assertEquals("vumwmxqh", response.iterator().next().location());
- Assertions.assertEquals("noamldsehaohdj", response.iterator().next().tags().get("hflzokxco"));
- Assertions.assertEquals("o",
- response.iterator().next().properties().messaging().endpoints().get("tbxqmuluxlxq").endpointType());
- Assertions.assertEquals("iegstm",
- response.iterator().next().properties().messaging().endpoints().get("tbxqmuluxlxq").address());
- Assertions.assertEquals("nwjizcilnghgshej",
- response.iterator().next().properties().messaging().endpoints().get("tbxqmuluxlxq").resourceId());
+ Assertions.assertEquals("hgshe", response.iterator().next().location());
+ Assertions.assertEquals("bxqmu", response.iterator().next().tags().get("uxlxqzvners"));
+ Assertions.assertEquals("ywwpgjxsnptfuj",
+ response.iterator().next().properties().messaging().endpoints().get("mxswvruunzz").endpointType());
+ Assertions.assertEquals("icgaao",
+ response.iterator().next().properties().messaging().endpoints().get("mxswvruunzz").address());
+ Assertions.assertEquals("ttaqutdew",
+ response.iterator().next().properties().messaging().endpoints().get("mxswvruunzz").resourceId());
Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, response.iterator().next().identity().type());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateMockTests.java
index 2f8437417d36..cda5b90e34e7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/NamespacesMigrateMockTests.java
@@ -31,8 +31,8 @@ public void testMigrate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.namespaces()
- .migrate("ycilrmcaykggnox", "ztrksxwpndf", new NamespaceMigrateRequest().withScope(Scope.RESOURCES)
- .withResourceIds(Arrays.asList("nthjtwkjaosrxuzv")), com.azure.core.util.Context.NONE);
+ .migrate("xqhndvnoamlds", "haohdjhhflzokxc", new NamespaceMigrateRequest().withScope(Scope.RESOURCES)
+ .withResourceIds(Arrays.asList("nje", "agltsxoa", "ftgz")), com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListMockTests.java
index 2a948ebaa1db..9d8d0f39bf39 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OperationsListMockTests.java
@@ -21,7 +21,7 @@ public final class OperationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"dqzh\",\"isDataAction\":false,\"display\":{\"provider\":\"unqndyfpchrqb\",\"resource\":\"jrcg\",\"operation\":\"ydcwboxjumv\",\"description\":\"olihrra\"},\"origin\":\"user\",\"actionType\":\"Internal\"}]}";
+ = "{\"value\":[{\"name\":\"hheioqaqhvseuf\",\"isDataAction\":true,\"display\":{\"provider\":\"pdlc\",\"resource\":\"lsismjqfrd\",\"operation\":\"amqu\",\"description\":\"os\"},\"origin\":\"user\",\"actionType\":\"Internal\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OutboundEndpointsTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OutboundEndpointsTests.java
index 189b6e8095cb..5a4d58721937 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OutboundEndpointsTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/OutboundEndpointsTests.java
@@ -15,29 +15,27 @@ public final class OutboundEndpointsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
OutboundEndpoints model = BinaryData.fromString(
- "{\"assigned\":{\"osphyoul\":{\"endpointType\":\"enwabfatk\",\"address\":\"ddxbjhwuaanoz\"}},\"unassigned\":{\"tx\":{\"endpointType\":\"xagl\",\"address\":\"vimjwos\"},\"gge\":{\"endpointType\":\"cskfcktqumiekk\",\"address\":\"zzikhlyfjhdg\"},\"a\":{\"endpointType\":\"unygaeqid\",\"address\":\"qfatpxllrxcyjm\"},\"xkgymareqnajxqu\":{\"endpointType\":\"uvarmywdmjsjq\",\"address\":\"jhhyxxrwlycoduhp\"}}}")
+ "{\"assigned\":{\"wmszkk\":{\"endpointType\":\"mfnjh\",\"address\":\"j\"}},\"unassigned\":{\"a\":{\"endpointType\":\"eyfkzikfja\",\"address\":\"n\"},\"lddxbjhwua\":{\"endpointType\":\"xwczelpcire\",\"address\":\"sfeaenwabfat\"}}}")
.toObject(OutboundEndpoints.class);
- Assertions.assertEquals("enwabfatk", model.assigned().get("osphyoul").endpointType());
- Assertions.assertEquals("ddxbjhwuaanoz", model.assigned().get("osphyoul").address());
- Assertions.assertEquals("xagl", model.unassigned().get("tx").endpointType());
- Assertions.assertEquals("vimjwos", model.unassigned().get("tx").address());
+ Assertions.assertEquals("mfnjh", model.assigned().get("wmszkk").endpointType());
+ Assertions.assertEquals("j", model.assigned().get("wmszkk").address());
+ Assertions.assertEquals("eyfkzikfja", model.unassigned().get("a").endpointType());
+ Assertions.assertEquals("n", model.unassigned().get("a").address());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- OutboundEndpoints model = new OutboundEndpoints()
- .withAssigned(mapOf("osphyoul",
- new DeviceMessagingEndpoint().withEndpointType("enwabfatk").withAddress("ddxbjhwuaanoz")))
- .withUnassigned(mapOf("tx", new DeviceMessagingEndpoint().withEndpointType("xagl").withAddress("vimjwos"),
- "gge", new DeviceMessagingEndpoint().withEndpointType("cskfcktqumiekk").withAddress("zzikhlyfjhdg"),
- "a", new DeviceMessagingEndpoint().withEndpointType("unygaeqid").withAddress("qfatpxllrxcyjm"),
- "xkgymareqnajxqu",
- new DeviceMessagingEndpoint().withEndpointType("uvarmywdmjsjq").withAddress("jhhyxxrwlycoduhp")));
+ OutboundEndpoints model
+ = new OutboundEndpoints()
+ .withAssigned(mapOf("wmszkk", new DeviceMessagingEndpoint().withEndpointType("mfnjh").withAddress("j")))
+ .withUnassigned(mapOf("a",
+ new DeviceMessagingEndpoint().withEndpointType("eyfkzikfja").withAddress("n"), "lddxbjhwua",
+ new DeviceMessagingEndpoint().withEndpointType("xwczelpcire").withAddress("sfeaenwabfat")));
model = BinaryData.fromObject(model).toObject(OutboundEndpoints.class);
- Assertions.assertEquals("enwabfatk", model.assigned().get("osphyoul").endpointType());
- Assertions.assertEquals("ddxbjhwuaanoz", model.assigned().get("osphyoul").address());
- Assertions.assertEquals("xagl", model.unassigned().get("tx").endpointType());
- Assertions.assertEquals("vimjwos", model.unassigned().get("tx").address());
+ Assertions.assertEquals("mfnjh", model.assigned().get("wmszkk").endpointType());
+ Assertions.assertEquals("j", model.assigned().get("wmszkk").address());
+ Assertions.assertEquals("eyfkzikfja", model.unassigned().get("a").endpointType());
+ Assertions.assertEquals("n", model.unassigned().get("a").address());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaInnerTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaInnerTests.java
index 7b1659c85ba6..bb9ca79b001a 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaInnerTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaInnerTests.java
@@ -17,29 +17,28 @@ public final class SchemaInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaInner model = BinaryData.fromString(
- "{\"properties\":{\"uuid\":\"disdosfjbjsvgj\",\"displayName\":\"hryvy\",\"description\":\"t\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Accepted\",\"tags\":{\"dhttzaefedxihchr\":\"knfnwmbtmvpdv\",\"crjdqnsdfzpbgtg\":\"hk\",\"utlwxezwzhok\":\"ylkdghrje\",\"ehgpp\":\"bwnhhtql\"}},\"id\":\"ifhpf\",\"name\":\"oajvgcxtxjcs\",\"type\":\"eafidltugsresm\"}")
+ "{\"properties\":{\"uuid\":\"l\",\"displayName\":\"swpchwahfbousn\",\"description\":\"pgfewetwlyx\",\"format\":\"Delta/1.0\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Accepted\",\"tags\":{\"h\":\"hdjhlimmbcx\",\"qizxfpxtgqscjavf\":\"cporxvxcjz\"}},\"id\":\"uhdqazk\",\"name\":\"tgguwpijrajcivmm\",\"type\":\"hfcf\"}")
.toObject(SchemaInner.class);
- Assertions.assertEquals("hryvy", model.properties().displayName());
- Assertions.assertEquals("t", model.properties().description());
- Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, model.properties().format());
+ Assertions.assertEquals("swpchwahfbousn", model.properties().displayName());
+ Assertions.assertEquals("pgfewetwlyx", model.properties().description());
+ Assertions.assertEquals(Format.DELTA_1_0, model.properties().format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, model.properties().schemaType());
- Assertions.assertEquals("knfnwmbtmvpdv", model.properties().tags().get("dhttzaefedxihchr"));
+ Assertions.assertEquals("hdjhlimmbcx", model.properties().tags().get("h"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SchemaInner model = new SchemaInner().withProperties(new SchemaProperties().withDisplayName("hryvy")
- .withDescription("t")
- .withFormat(Format.JSON_SCHEMA_DRAFT7)
+ SchemaInner model = new SchemaInner().withProperties(new SchemaProperties().withDisplayName("swpchwahfbousn")
+ .withDescription("pgfewetwlyx")
+ .withFormat(Format.DELTA_1_0)
.withSchemaType(SchemaType.MESSAGE_SCHEMA)
- .withTags(mapOf("dhttzaefedxihchr", "knfnwmbtmvpdv", "crjdqnsdfzpbgtg", "hk", "utlwxezwzhok", "ylkdghrje",
- "ehgpp", "bwnhhtql")));
+ .withTags(mapOf("h", "hdjhlimmbcx", "qizxfpxtgqscjavf", "cporxvxcjz")));
model = BinaryData.fromObject(model).toObject(SchemaInner.class);
- Assertions.assertEquals("hryvy", model.properties().displayName());
- Assertions.assertEquals("t", model.properties().description());
- Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, model.properties().format());
+ Assertions.assertEquals("swpchwahfbousn", model.properties().displayName());
+ Assertions.assertEquals("pgfewetwlyx", model.properties().description());
+ Assertions.assertEquals(Format.DELTA_1_0, model.properties().format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, model.properties().schemaType());
- Assertions.assertEquals("knfnwmbtmvpdv", model.properties().tags().get("dhttzaefedxihchr"));
+ Assertions.assertEquals("hdjhlimmbcx", model.properties().tags().get("h"));
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaListResultTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaListResultTests.java
index cfac8c704530..bf55a60531be 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaListResultTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaListResultTests.java
@@ -14,13 +14,13 @@ public final class SchemaListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"uuid\":\"guufuzboyjathwtz\",\"displayName\":\"b\",\"description\":\"mwmdxmebwjscjpa\",\"format\":\"Delta/1.0\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Accepted\",\"tags\":{\"xnmwmqtibxyijddt\":\"f\",\"ekpndzaapmudq\":\"qcttadijaeukmrsi\",\"gp\":\"eqw\",\"qwyxebeybpm\":\"bu\"}},\"id\":\"nrtffyaqi\",\"name\":\"mhh\",\"type\":\"ioqaqhvs\"},{\"properties\":{\"uuid\":\"uqyrxpdl\",\"displayName\":\"qlsismjqfrddg\",\"description\":\"quhiosrsjuivf\",\"format\":\"Delta/1.0\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Failed\",\"tags\":{\"rxzbujr\":\"nxzhcze\",\"nlnzonzlrpi\":\"rhqvwrevkh\"}},\"id\":\"wncvjtszcofiz\",\"name\":\"htd\",\"type\":\"gbjkvreljeamur\"}],\"nextLink\":\"mlovuanashcxl\"}")
+ "{\"value\":[{\"properties\":{\"uuid\":\"sasbhu\",\"displayName\":\"pohyuemslynsqyr\",\"description\":\"oobrlttyms\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Accepted\",\"tags\":{\"tilaxh\":\"fwqzdz\",\"ouwivkxoyzunbixx\":\"fhqlyvi\",\"vcpwpgclrc\":\"ti\",\"kenx\":\"vtsoxf\"}},\"id\":\"yyefrpmpdnqqs\",\"name\":\"awaoqvmmbnpqfrt\",\"type\":\"lkzmegnitgvkxl\"},{\"properties\":{\"uuid\":\"drf\",\"displayName\":\"cealzxwh\",\"description\":\"nsymoyqhlwigd\",\"format\":\"Delta/1.0\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Succeeded\",\"tags\":{\"wasqvdaeyyg\":\"omfaj\",\"zkgimsid\":\"xakjsqzhzb\",\"ddyvvjskgfmo\":\"asi\"}},\"id\":\"ah\",\"name\":\"qgatjeaahhvjhhn\",\"type\":\"kzyb\"},{\"properties\":{\"uuid\":\"idjks\",\"displayName\":\"kyxvxevblbjedn\",\"description\":\"lageuaulxun\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Succeeded\",\"tags\":{\"klnsrmffey\":\"pxynenlsvxeizzg\",\"qiekkkzddrt\":\"xcktpiymerteeamm\",\"ojbmxv\":\"g\"}},\"id\":\"refdee\",\"name\":\"vecuijpx\",\"type\":\"xs\"},{\"properties\":{\"uuid\":\"rtujwsawddjibab\",\"displayName\":\"ititvtzeexavoxt\",\"description\":\"lecdmdqbw\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Failed\",\"tags\":{\"vodhtn\":\"fjacbslhhxudb\"}},\"id\":\"rudhzmmesckdl\",\"name\":\"agzrcxfa\",\"type\":\"lc\"}],\"nextLink\":\"wmdboxdfgsftuf\"}")
.toObject(SchemaListResult.class);
- Assertions.assertEquals("b", model.value().get(0).properties().displayName());
- Assertions.assertEquals("mwmdxmebwjscjpa", model.value().get(0).properties().description());
- Assertions.assertEquals(Format.DELTA_1_0, model.value().get(0).properties().format());
+ Assertions.assertEquals("pohyuemslynsqyr", model.value().get(0).properties().displayName());
+ Assertions.assertEquals("oobrlttyms", model.value().get(0).properties().description());
+ Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, model.value().get(0).properties().format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, model.value().get(0).properties().schemaType());
- Assertions.assertEquals("f", model.value().get(0).properties().tags().get("xnmwmqtibxyijddt"));
- Assertions.assertEquals("mlovuanashcxl", model.nextLink());
+ Assertions.assertEquals("fwqzdz", model.value().get(0).properties().tags().get("tilaxh"));
+ Assertions.assertEquals("wmdboxdfgsftuf", model.nextLink());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaPropertiesTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaPropertiesTests.java
index d5f97924dce1..5eb45b2f08f9 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaPropertiesTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaPropertiesTests.java
@@ -16,29 +16,29 @@ public final class SchemaPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaProperties model = BinaryData.fromString(
- "{\"uuid\":\"sjhoiftxfkfwegpr\",\"displayName\":\"tillucbiqtg\",\"description\":\"ohmcwsld\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Canceled\",\"tags\":{\"llibphbqzmizak\":\"bra\",\"jpdn\":\"kan\",\"xprimrsop\":\"zhajoylhjlmuo\",\"stvasylwxdzaumw\":\"eecjmeis\"}}")
+ "{\"uuid\":\"rxgkne\",\"displayName\":\"yinzqodfvpgs\",\"description\":\"xgsg\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Canceled\",\"tags\":{\"zflbqvg\":\"tx\",\"sdtutnwlduyc\":\"qvlgafcqusrdvetn\",\"kuqgsjjxundxgket\":\"uzhyrmewipmvekdx\",\"gpmuneqsxvmhfbuz\":\"zhhzjhfjmhvvmu\"}}")
.toObject(SchemaProperties.class);
- Assertions.assertEquals("tillucbiqtg", model.displayName());
- Assertions.assertEquals("ohmcwsld", model.description());
+ Assertions.assertEquals("yinzqodfvpgs", model.displayName());
+ Assertions.assertEquals("xgsg", model.description());
Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, model.format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, model.schemaType());
- Assertions.assertEquals("bra", model.tags().get("llibphbqzmizak"));
+ Assertions.assertEquals("tx", model.tags().get("zflbqvg"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SchemaProperties model = new SchemaProperties().withDisplayName("tillucbiqtg")
- .withDescription("ohmcwsld")
+ SchemaProperties model = new SchemaProperties().withDisplayName("yinzqodfvpgs")
+ .withDescription("xgsg")
.withFormat(Format.JSON_SCHEMA_DRAFT7)
.withSchemaType(SchemaType.MESSAGE_SCHEMA)
- .withTags(mapOf("llibphbqzmizak", "bra", "jpdn", "kan", "xprimrsop", "zhajoylhjlmuo", "stvasylwxdzaumw",
- "eecjmeis"));
+ .withTags(mapOf("zflbqvg", "tx", "sdtutnwlduyc", "qvlgafcqusrdvetn", "kuqgsjjxundxgket", "uzhyrmewipmvekdx",
+ "gpmuneqsxvmhfbuz", "zhhzjhfjmhvvmu"));
model = BinaryData.fromObject(model).toObject(SchemaProperties.class);
- Assertions.assertEquals("tillucbiqtg", model.displayName());
- Assertions.assertEquals("ohmcwsld", model.description());
+ Assertions.assertEquals("yinzqodfvpgs", model.displayName());
+ Assertions.assertEquals("xgsg", model.description());
Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, model.format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, model.schemaType());
- Assertions.assertEquals("bra", model.tags().get("llibphbqzmizak"));
+ Assertions.assertEquals("tx", model.tags().get("zflbqvg"));
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceMockTests.java
index 6a988af1d22f..2b9b0995b2d2 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesCreateOrReplaceMockTests.java
@@ -26,7 +26,7 @@ public final class SchemaRegistriesCreateOrReplaceMockTests {
@Test
public void testCreateOrReplace() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"hzjkn\",\"namespace\":\"uxgvttxpnr\",\"displayName\":\"zaamrdixtrekid\",\"description\":\"yskbruff\",\"storageAccountContainerUrl\":\"l\",\"provisioningState\":\"Succeeded\"},\"identity\":{\"principalId\":\"tvlxhrpqh\",\"tenantId\":\"blcouqehbhbcdszi\",\"type\":\"None\"},\"location\":\"an\",\"tags\":{\"xldykalsygaolnjp\":\"pmbltoormkfql\",\"mr\":\"nbmjksibjgsjjxxa\",\"yqegx\":\"ad\",\"inbmh\":\"iv\"},\"id\":\"bjijkgqxnh\",\"name\":\"bkezn\",\"type\":\"aujvaa\"}";
+ = "{\"properties\":{\"uuid\":\"ru\",\"namespace\":\"wigsyeipqdsm\",\"displayName\":\"grq\",\"description\":\"gkkileplkcsmkn\",\"storageAccountContainerUrl\":\"wtbbaedorvvmqf\",\"provisioningState\":\"Succeeded\"},\"identity\":{\"principalId\":\"dgwumgxdgdhp\",\"tenantId\":\"gdexjd\",\"type\":\"SystemAssigned\"},\"location\":\"saq\",\"tags\":{\"lsrs\":\"mmwllc\"},\"id\":\"apte\",\"name\":\"hexcgjokj\",\"type\":\"jnhvlqjbekpeeks\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -36,24 +36,24 @@ public void testCreateOrReplace() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
SchemaRegistry response = manager.schemaRegistries()
- .define("uflgbhgauacdixm")
- .withRegion("sgxjc")
- .withExistingResourceGroup("hulrtywikdmhla")
- .withTags(mapOf("qwodiffjx", "rrscubiwsdrnp", "jogjonmc", "jrmmuabwib"))
- .withProperties(new SchemaRegistryProperties().withNamespace("yjq")
- .withDisplayName("kfnozoeoqbvj")
- .withDescription("efgwbmqjc")
- .withStorageAccountContainerUrl("ntasfaymxbu"))
+ .define("dwckygroe")
+ .withRegion("sxkdnwqapfgsdpc")
+ .withExistingResourceGroup("qm")
+ .withTags(mapOf("kva", "smzhhkuuipldqqct", "qyv", "blhtjq", "a", "eh"))
+ .withProperties(new SchemaRegistryProperties().withNamespace("req")
+ .withDisplayName("kceysfaqegplw")
+ .withDescription("shwddkvbxgk")
+ .withStorageAccountContainerUrl("usybwptdaca"))
.withIdentity(new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.NONE))
.create();
- Assertions.assertEquals("an", response.location());
- Assertions.assertEquals("pmbltoormkfql", response.tags().get("xldykalsygaolnjp"));
- Assertions.assertEquals("uxgvttxpnr", response.properties().namespace());
- Assertions.assertEquals("zaamrdixtrekid", response.properties().displayName());
- Assertions.assertEquals("yskbruff", response.properties().description());
- Assertions.assertEquals("l", response.properties().storageAccountContainerUrl());
- Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, response.identity().type());
+ Assertions.assertEquals("saq", response.location());
+ Assertions.assertEquals("mmwllc", response.tags().get("lsrs"));
+ Assertions.assertEquals("wigsyeipqdsm", response.properties().namespace());
+ Assertions.assertEquals("grq", response.properties().displayName());
+ Assertions.assertEquals("gkkileplkcsmkn", response.properties().description());
+ Assertions.assertEquals("wtbbaedorvvmqf", response.properties().storageAccountContainerUrl());
+ Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupWithResponseMockTests.java
index a6ba922b19d0..c58ed453902d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesGetByResourceGroupWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class SchemaRegistriesGetByResourceGroupWithResponseMockTests {
@Test
public void testGetByResourceGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"brlc\",\"namespace\":\"rduczkgofxyfs\",\"displayName\":\"cvcrrp\",\"description\":\"ttbst\",\"storageAccountContainerUrl\":\"jeaq\",\"provisioningState\":\"Deleting\"},\"identity\":{\"principalId\":\"fkoxmlghktuidvr\",\"tenantId\":\"zlpdwwex\",\"type\":\"SystemAssigned\"},\"location\":\"vlazipbhpwvqsgny\",\"tags\":{\"rpmey\":\"ziven\",\"jp\":\"vpkpatlb\",\"olmk\":\"gsksrfhf\",\"ommpvfqaw\":\"bnxwc\"},\"id\":\"fgbrtt\",\"name\":\"iac\",\"type\":\"kiexhajlfnthiq\"}";
+ = "{\"properties\":{\"uuid\":\"vsqxfxjelgcmpzqj\",\"namespace\":\"hhqxuwyvcacoyviv\",\"displayName\":\"izus\",\"description\":\"zlbscmnlziji\",\"storageAccountContainerUrl\":\"fehgmv\",\"provisioningState\":\"Deleting\"},\"identity\":{\"principalId\":\"v\",\"tenantId\":\"xrerlniylylyf\",\"type\":\"SystemAssigned\"},\"location\":\"utgqztwh\",\"tags\":{\"abe\":\"upgxyjtcdxabbujf\",\"e\":\"bbklqpxzuca\"},\"id\":\"dwwnl\",\"name\":\"a\",\"type\":\"wxudgn\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,15 +32,15 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
SchemaRegistry response = manager.schemaRegistries()
- .getByResourceGroupWithResponse("pibkephuu", "erctatoyin", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("ypsjoq", "jenkyh", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("vlazipbhpwvqsgny", response.location());
- Assertions.assertEquals("ziven", response.tags().get("rpmey"));
- Assertions.assertEquals("rduczkgofxyfs", response.properties().namespace());
- Assertions.assertEquals("cvcrrp", response.properties().displayName());
- Assertions.assertEquals("ttbst", response.properties().description());
- Assertions.assertEquals("jeaq", response.properties().storageAccountContainerUrl());
+ Assertions.assertEquals("utgqztwh", response.location());
+ Assertions.assertEquals("upgxyjtcdxabbujf", response.tags().get("abe"));
+ Assertions.assertEquals("hhqxuwyvcacoyviv", response.properties().namespace());
+ Assertions.assertEquals("izus", response.properties().displayName());
+ Assertions.assertEquals("zlbscmnlziji", response.properties().description());
+ Assertions.assertEquals("fehgmv", response.properties().storageAccountContainerUrl());
Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupMockTests.java
index 7a3fa7ff6180..039cee43045f 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListByResourceGroupMockTests.java
@@ -23,7 +23,7 @@ public final class SchemaRegistriesListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"uuid\":\"yctww\",\"namespace\":\"zwxjlm\",\"displayName\":\"vogygzyvneez\",\"description\":\"fg\",\"storageAccountContainerUrl\":\"tmoqqtlffhzb\",\"provisioningState\":\"Failed\"},\"identity\":{\"principalId\":\"javfqn\",\"tenantId\":\"nq\",\"type\":\"SystemAssigned\"},\"location\":\"dogiyetesyp\",\"tags\":{\"etnjuhpsprkz\":\"bztjhqtfbovnynkb\",\"cxnafbwqrooh\":\"aupia\",\"mghihp\":\"uovmaonurjt\"},\"id\":\"ecmslclbl\",\"name\":\"jxl\",\"type\":\"bsjuscvsfx\"}]}";
+ = "{\"value\":[{\"properties\":{\"uuid\":\"bemeluclvd\",\"namespace\":\"jukyrdn\",\"displayName\":\"dxahhxhqfaqnvzo\",\"description\":\"yipemchgavsczuej\",\"storageAccountContainerUrl\":\"txptlghw\",\"provisioningState\":\"Accepted\"},\"identity\":{\"principalId\":\"wjjstliuhqa\",\"tenantId\":\"oaiancznvodrrs\",\"type\":\"None\"},\"location\":\"xydkxrx\",\"tags\":{\"nqkhych\":\"xiwkgfbql\",\"kulehurqlrq\":\"c\",\"rkphyjdxr\":\"fawey\"},\"id\":\"vjuqdbrxmrgchb\",\"name\":\"pxkiyf\",\"type\":\"j\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,15 +33,14 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.schemaRegistries().listByResourceGroup("yuttdiygbpvnwswm", com.azure.core.util.Context.NONE);
+ = manager.schemaRegistries().listByResourceGroup("gookrtalvnb", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("dogiyetesyp", response.iterator().next().location());
- Assertions.assertEquals("bztjhqtfbovnynkb", response.iterator().next().tags().get("etnjuhpsprkz"));
- Assertions.assertEquals("zwxjlm", response.iterator().next().properties().namespace());
- Assertions.assertEquals("vogygzyvneez", response.iterator().next().properties().displayName());
- Assertions.assertEquals("fg", response.iterator().next().properties().description());
- Assertions.assertEquals("tmoqqtlffhzb", response.iterator().next().properties().storageAccountContainerUrl());
- Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED,
- response.iterator().next().identity().type());
+ Assertions.assertEquals("xydkxrx", response.iterator().next().location());
+ Assertions.assertEquals("xiwkgfbql", response.iterator().next().tags().get("nqkhych"));
+ Assertions.assertEquals("jukyrdn", response.iterator().next().properties().namespace());
+ Assertions.assertEquals("dxahhxhqfaqnvzo", response.iterator().next().properties().displayName());
+ Assertions.assertEquals("yipemchgavsczuej", response.iterator().next().properties().description());
+ Assertions.assertEquals("txptlghw", response.iterator().next().properties().storageAccountContainerUrl());
+ Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, response.iterator().next().identity().type());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListMockTests.java
index fb7e20c513f0..220dddd20e8e 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistriesListMockTests.java
@@ -23,7 +23,7 @@ public final class SchemaRegistriesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"uuid\":\"tmgxuupbezqcc\",\"namespace\":\"drtc\",\"displayName\":\"kdqkkyihzt\",\"description\":\"qm\",\"storageAccountContainerUrl\":\"qzgwldoychil\",\"provisioningState\":\"Accepted\"},\"identity\":{\"principalId\":\"ehuwaoa\",\"tenantId\":\"h\",\"type\":\"None\"},\"location\":\"llizs\",\"tags\":{\"weftkwq\":\"sjvh\",\"vssehaepw\":\"jp\",\"euknijduyyes\":\"mcxtczhu\"},\"id\":\"ydjfb\",\"name\":\"c\",\"type\":\"v\"}]}";
+ = "{\"value\":[{\"properties\":{\"uuid\":\"jbuscg\",\"namespace\":\"uusioycblev\",\"displayName\":\"clujyx\",\"description\":\"xlzgsjgkzzl\",\"storageAccountContainerUrl\":\"afhbzf\",\"provisioningState\":\"Failed\"},\"identity\":{\"principalId\":\"bjlzqsczpgvdwn\",\"tenantId\":\"fdqwowftpt\",\"type\":\"None\"},\"location\":\"jtks\",\"tags\":{\"hvyeldotj\":\"cgqyhleseyq\",\"kukjtasb\":\"dkwisw\",\"txfkndlqvt\":\"wispkxk\",\"qaqkuea\":\"knvgmmbugtywat\"},\"id\":\"groeshoyg\",\"name\":\"cbyfqxkf\",\"type\":\"oytehqpuvjm\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,12 +34,12 @@ public void testList() throws Exception {
PagedIterable response = manager.schemaRegistries().list(com.azure.core.util.Context.NONE);
- Assertions.assertEquals("llizs", response.iterator().next().location());
- Assertions.assertEquals("sjvh", response.iterator().next().tags().get("weftkwq"));
- Assertions.assertEquals("drtc", response.iterator().next().properties().namespace());
- Assertions.assertEquals("kdqkkyihzt", response.iterator().next().properties().displayName());
- Assertions.assertEquals("qm", response.iterator().next().properties().description());
- Assertions.assertEquals("qzgwldoychil", response.iterator().next().properties().storageAccountContainerUrl());
+ Assertions.assertEquals("jtks", response.iterator().next().location());
+ Assertions.assertEquals("cgqyhleseyq", response.iterator().next().tags().get("hvyeldotj"));
+ Assertions.assertEquals("uusioycblev", response.iterator().next().properties().namespace());
+ Assertions.assertEquals("clujyx", response.iterator().next().properties().displayName());
+ Assertions.assertEquals("xlzgsjgkzzl", response.iterator().next().properties().description());
+ Assertions.assertEquals("afhbzf", response.iterator().next().properties().storageAccountContainerUrl());
Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, response.iterator().next().identity().type());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryInnerTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryInnerTests.java
index 0b369dd29c92..ca31b8ae3627 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryInnerTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryInnerTests.java
@@ -17,34 +17,34 @@ public final class SchemaRegistryInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaRegistryInner model = BinaryData.fromString(
- "{\"properties\":{\"uuid\":\"xcjzhqizxfpxt\",\"namespace\":\"qscjavftjuh\",\"displayName\":\"azkmtgguwp\",\"description\":\"r\",\"storageAccountContainerUrl\":\"jcivmmg\",\"provisioningState\":\"Deleting\"},\"identity\":{\"principalId\":\"wrxgkneuvy\",\"tenantId\":\"zqodfvpgshox\",\"type\":\"SystemAssigned\"},\"location\":\"bpfgzdj\",\"tags\":{\"qvlgafcqusrdvetn\":\"zflbqvg\",\"uzhyrmewipmvekdx\":\"sdtutnwlduyc\"},\"id\":\"kuqgsjjxundxgket\",\"name\":\"zhhzjhfjmhvvmu\",\"type\":\"gpmuneqsxvmhfbuz\"}")
+ "{\"properties\":{\"uuid\":\"njdgkynscliq\",\"namespace\":\"zvhxnk\",\"displayName\":\"tkubotppn\",\"description\":\"xz\",\"storageAccountContainerUrl\":\"hihfrbbcevqagtlt\",\"provisioningState\":\"Accepted\"},\"identity\":{\"principalId\":\"qojpy\",\"tenantId\":\"gtrd\",\"type\":\"SystemAssigned\"},\"location\":\"fmzzsdymbrny\",\"tags\":{\"rafwgckhocxvdf\":\"m\",\"pavehhr\":\"fwafqrouda\"},\"id\":\"kbunzoz\",\"name\":\"dhcxgkmoy\",\"type\":\"cdyuibhmfdnbzyd\"}")
.toObject(SchemaRegistryInner.class);
- Assertions.assertEquals("bpfgzdj", model.location());
- Assertions.assertEquals("zflbqvg", model.tags().get("qvlgafcqusrdvetn"));
- Assertions.assertEquals("qscjavftjuh", model.properties().namespace());
- Assertions.assertEquals("azkmtgguwp", model.properties().displayName());
- Assertions.assertEquals("r", model.properties().description());
- Assertions.assertEquals("jcivmmg", model.properties().storageAccountContainerUrl());
+ Assertions.assertEquals("fmzzsdymbrny", model.location());
+ Assertions.assertEquals("m", model.tags().get("rafwgckhocxvdf"));
+ Assertions.assertEquals("zvhxnk", model.properties().namespace());
+ Assertions.assertEquals("tkubotppn", model.properties().displayName());
+ Assertions.assertEquals("xz", model.properties().description());
+ Assertions.assertEquals("hihfrbbcevqagtlt", model.properties().storageAccountContainerUrl());
Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SchemaRegistryInner model = new SchemaRegistryInner().withLocation("bpfgzdj")
- .withTags(mapOf("qvlgafcqusrdvetn", "zflbqvg", "uzhyrmewipmvekdx", "sdtutnwlduyc"))
- .withProperties(new SchemaRegistryProperties().withNamespace("qscjavftjuh")
- .withDisplayName("azkmtgguwp")
- .withDescription("r")
- .withStorageAccountContainerUrl("jcivmmg"))
+ SchemaRegistryInner model = new SchemaRegistryInner().withLocation("fmzzsdymbrny")
+ .withTags(mapOf("rafwgckhocxvdf", "m", "pavehhr", "fwafqrouda"))
+ .withProperties(new SchemaRegistryProperties().withNamespace("zvhxnk")
+ .withDisplayName("tkubotppn")
+ .withDescription("xz")
+ .withStorageAccountContainerUrl("hihfrbbcevqagtlt"))
.withIdentity(
new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED));
model = BinaryData.fromObject(model).toObject(SchemaRegistryInner.class);
- Assertions.assertEquals("bpfgzdj", model.location());
- Assertions.assertEquals("zflbqvg", model.tags().get("qvlgafcqusrdvetn"));
- Assertions.assertEquals("qscjavftjuh", model.properties().namespace());
- Assertions.assertEquals("azkmtgguwp", model.properties().displayName());
- Assertions.assertEquals("r", model.properties().description());
- Assertions.assertEquals("jcivmmg", model.properties().storageAccountContainerUrl());
+ Assertions.assertEquals("fmzzsdymbrny", model.location());
+ Assertions.assertEquals("m", model.tags().get("rafwgckhocxvdf"));
+ Assertions.assertEquals("zvhxnk", model.properties().namespace());
+ Assertions.assertEquals("tkubotppn", model.properties().displayName());
+ Assertions.assertEquals("xz", model.properties().description());
+ Assertions.assertEquals("hihfrbbcevqagtlt", model.properties().storageAccountContainerUrl());
Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type());
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryListResultTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryListResultTests.java
index bbfae9891944..a9207f48cae3 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryListResultTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryListResultTests.java
@@ -13,16 +13,15 @@ public final class SchemaRegistryListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaRegistryListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"uuid\":\"alzxwhcan\",\"namespace\":\"ymo\",\"displayName\":\"hlwigdivbkbxg\",\"description\":\"fajuwas\",\"storageAccountContainerUrl\":\"vdaeyyguxakjsq\",\"provisioningState\":\"Canceled\"},\"identity\":{\"principalId\":\"zkgimsid\",\"tenantId\":\"sicddyvv\",\"type\":\"SystemAssigned\"},\"location\":\"gfmo\",\"tags\":{\"hnakzyb\":\"hpqgatjeaahhvj\"},\"id\":\"jjidjk\",\"name\":\"yxkyxvx\",\"type\":\"vblbjednljlageua\"},{\"properties\":{\"uuid\":\"unsmjbnkpp\",\"namespace\":\"ynenlsvxeizz\",\"displayName\":\"klnsrmffey\",\"description\":\"ckt\",\"storageAccountContainerUrl\":\"iymerteeammxqi\",\"provisioningState\":\"Failed\"},\"identity\":{\"principalId\":\"ddrtkgdojb\",\"tenantId\":\"vavrefdees\",\"type\":\"SystemAssigned\"},\"location\":\"uij\",\"tags\":{\"wprtu\":\"xs\"},\"id\":\"wsawddjibabxvi\",\"name\":\"itvtzeexavo\",\"type\":\"tfgle\"},{\"properties\":{\"uuid\":\"dqbwpypqtgsfja\",\"namespace\":\"b\",\"displayName\":\"hhxud\",\"description\":\"vodhtn\",\"storageAccountContainerUrl\":\"irudh\",\"provisioningState\":\"Succeeded\"},\"identity\":{\"principalId\":\"ckdlpag\",\"tenantId\":\"cxfailcfxwmdboxd\",\"type\":\"SystemAssigned\"},\"location\":\"ft\",\"tags\":{\"knh\":\"obrjlnacgcc\"},\"id\":\"kizvytn\",\"name\":\"zvulj\",\"type\":\"aaeranokqgukk\"}],\"nextLink\":\"nvbroylaxx\"}")
+ "{\"value\":[{\"properties\":{\"uuid\":\"e\",\"namespace\":\"owcluqo\",\"displayName\":\"kqvgqouw\",\"description\":\"zmpjwyiv\",\"storageAccountContainerUrl\":\"ikf\",\"provisioningState\":\"Accepted\"},\"identity\":{\"principalId\":\"fsphuagrttikt\",\"tenantId\":\"sqczkvyklxubyj\",\"type\":\"None\"},\"location\":\"mmfblcqcuubgqib\",\"tags\":{\"hrmooi\":\"lmetttwgdslqxi\"},\"id\":\"qseypxiutcxa\",\"name\":\"zhyrpeto\",\"type\":\"e\"},{\"properties\":{\"uuid\":\"xslhvnhlabrqnkk\",\"namespace\":\"jcjbt\",\"displayName\":\"aehvvibrxjjstoq\",\"description\":\"it\",\"storageAccountContainerUrl\":\"kxzt\",\"provisioningState\":\"Failed\"},\"identity\":{\"principalId\":\"lftidgfcwqmpim\",\"tenantId\":\"xzhemjyh\",\"type\":\"SystemAssigned\"},\"location\":\"jswtwkozzwc\",\"tags\":{\"j\":\"bawpfajnjwltlwt\"},\"id\":\"uktalhsnvkcdmxz\",\"name\":\"poaimlnwiaaomyl\",\"type\":\"eazulcs\"}],\"nextLink\":\"hwwn\"}")
.toObject(SchemaRegistryListResult.class);
- Assertions.assertEquals("gfmo", model.value().get(0).location());
- Assertions.assertEquals("hpqgatjeaahhvj", model.value().get(0).tags().get("hnakzyb"));
- Assertions.assertEquals("ymo", model.value().get(0).properties().namespace());
- Assertions.assertEquals("hlwigdivbkbxg", model.value().get(0).properties().displayName());
- Assertions.assertEquals("fajuwas", model.value().get(0).properties().description());
- Assertions.assertEquals("vdaeyyguxakjsq", model.value().get(0).properties().storageAccountContainerUrl());
- Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED,
- model.value().get(0).identity().type());
- Assertions.assertEquals("nvbroylaxx", model.nextLink());
+ Assertions.assertEquals("mmfblcqcuubgqib", model.value().get(0).location());
+ Assertions.assertEquals("lmetttwgdslqxi", model.value().get(0).tags().get("hrmooi"));
+ Assertions.assertEquals("owcluqo", model.value().get(0).properties().namespace());
+ Assertions.assertEquals("kqvgqouw", model.value().get(0).properties().displayName());
+ Assertions.assertEquals("zmpjwyiv", model.value().get(0).properties().description());
+ Assertions.assertEquals("ikf", model.value().get(0).properties().storageAccountContainerUrl());
+ Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, model.value().get(0).identity().type());
+ Assertions.assertEquals("hwwn", model.nextLink());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryPropertiesTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryPropertiesTests.java
index 2086862de57d..a0ab7d297103 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryPropertiesTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryPropertiesTests.java
@@ -12,24 +12,24 @@ public final class SchemaRegistryPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaRegistryProperties model = BinaryData.fromString(
- "{\"uuid\":\"ihsasb\",\"namespace\":\"udypohyuems\",\"displayName\":\"nsqyrpfoobrltt\",\"description\":\"sjnygqdnfwqzdzgt\",\"storageAccountContainerUrl\":\"la\",\"provisioningState\":\"Failed\"}")
+ "{\"uuid\":\"vfcjnaeoisrvhmg\",\"namespace\":\"r\",\"displayName\":\"ukiscvwmzhw\",\"description\":\"efaxvxilc\",\"storageAccountContainerUrl\":\"tg\",\"provisioningState\":\"Canceled\"}")
.toObject(SchemaRegistryProperties.class);
- Assertions.assertEquals("udypohyuems", model.namespace());
- Assertions.assertEquals("nsqyrpfoobrltt", model.displayName());
- Assertions.assertEquals("sjnygqdnfwqzdzgt", model.description());
- Assertions.assertEquals("la", model.storageAccountContainerUrl());
+ Assertions.assertEquals("r", model.namespace());
+ Assertions.assertEquals("ukiscvwmzhw", model.displayName());
+ Assertions.assertEquals("efaxvxilc", model.description());
+ Assertions.assertEquals("tg", model.storageAccountContainerUrl());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SchemaRegistryProperties model = new SchemaRegistryProperties().withNamespace("udypohyuems")
- .withDisplayName("nsqyrpfoobrltt")
- .withDescription("sjnygqdnfwqzdzgt")
- .withStorageAccountContainerUrl("la");
+ SchemaRegistryProperties model = new SchemaRegistryProperties().withNamespace("r")
+ .withDisplayName("ukiscvwmzhw")
+ .withDescription("efaxvxilc")
+ .withStorageAccountContainerUrl("tg");
model = BinaryData.fromObject(model).toObject(SchemaRegistryProperties.class);
- Assertions.assertEquals("udypohyuems", model.namespace());
- Assertions.assertEquals("nsqyrpfoobrltt", model.displayName());
- Assertions.assertEquals("sjnygqdnfwqzdzgt", model.description());
- Assertions.assertEquals("la", model.storageAccountContainerUrl());
+ Assertions.assertEquals("r", model.namespace());
+ Assertions.assertEquals("ukiscvwmzhw", model.displayName());
+ Assertions.assertEquals("efaxvxilc", model.description());
+ Assertions.assertEquals("tg", model.storageAccountContainerUrl());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdatePropertiesTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdatePropertiesTests.java
index fb80c47490c6..b93be99284d7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdatePropertiesTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdatePropertiesTests.java
@@ -12,18 +12,18 @@ public final class SchemaRegistryUpdatePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaRegistryUpdateProperties model
- = BinaryData.fromString("{\"displayName\":\"itgvkx\",\"description\":\"yqdrf\"}")
+ = BinaryData.fromString("{\"displayName\":\"jhf\",\"description\":\"vecactx\"}")
.toObject(SchemaRegistryUpdateProperties.class);
- Assertions.assertEquals("itgvkx", model.displayName());
- Assertions.assertEquals("yqdrf", model.description());
+ Assertions.assertEquals("jhf", model.displayName());
+ Assertions.assertEquals("vecactx", model.description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SchemaRegistryUpdateProperties model
- = new SchemaRegistryUpdateProperties().withDisplayName("itgvkx").withDescription("yqdrf");
+ = new SchemaRegistryUpdateProperties().withDisplayName("jhf").withDescription("vecactx");
model = BinaryData.fromObject(model).toObject(SchemaRegistryUpdateProperties.class);
- Assertions.assertEquals("itgvkx", model.displayName());
- Assertions.assertEquals("yqdrf", model.description());
+ Assertions.assertEquals("jhf", model.displayName());
+ Assertions.assertEquals("vecactx", model.description());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdateTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdateTests.java
index d0d7da339ab8..f5a5e50f0ff2 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdateTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaRegistryUpdateTests.java
@@ -17,26 +17,27 @@ public final class SchemaRegistryUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaRegistryUpdate model = BinaryData.fromString(
- "{\"identity\":{\"principalId\":\"qlyvijo\",\"tenantId\":\"iv\",\"type\":\"SystemAssigned\"},\"tags\":{\"ti\":\"zunbixx\",\"vtsoxf\":\"vcpwpgclrc\",\"m\":\"kenx\",\"ao\":\"yefrpmpdnqqska\"},\"properties\":{\"displayName\":\"mbnpqf\",\"description\":\"qlkzme\"}}")
+ "{\"identity\":{\"principalId\":\"yqxtjjfzql\",\"tenantId\":\"ycavodggxdbees\",\"type\":\"None\"},\"tags\":{\"wqfbylyrfgiagt\":\"nlrariaawiuagy\",\"zjvusfzldmo\":\"ojocqwogf\",\"own\":\"uxylfsbtkadpy\",\"isofieypefojyqd\":\"tgkbugrjqctojc\"},\"properties\":{\"displayName\":\"plcplcwkhi\",\"description\":\"hlhzdsqtzbsrgno\"}}")
.toObject(SchemaRegistryUpdate.class);
- Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type());
- Assertions.assertEquals("zunbixx", model.tags().get("ti"));
- Assertions.assertEquals("mbnpqf", model.properties().displayName());
- Assertions.assertEquals("qlkzme", model.properties().description());
+ Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, model.identity().type());
+ Assertions.assertEquals("nlrariaawiuagy", model.tags().get("wqfbylyrfgiagt"));
+ Assertions.assertEquals("plcplcwkhi", model.properties().displayName());
+ Assertions.assertEquals("hlhzdsqtzbsrgno", model.properties().description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SchemaRegistryUpdate model = new SchemaRegistryUpdate()
- .withIdentity(
- new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED))
- .withTags(mapOf("ti", "zunbixx", "vtsoxf", "vcpwpgclrc", "m", "kenx", "ao", "yefrpmpdnqqska"))
- .withProperties(new SchemaRegistryUpdateProperties().withDisplayName("mbnpqf").withDescription("qlkzme"));
+ .withIdentity(new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.NONE))
+ .withTags(mapOf("wqfbylyrfgiagt", "nlrariaawiuagy", "zjvusfzldmo", "ojocqwogf", "own", "uxylfsbtkadpy",
+ "isofieypefojyqd", "tgkbugrjqctojc"))
+ .withProperties(
+ new SchemaRegistryUpdateProperties().withDisplayName("plcplcwkhi").withDescription("hlhzdsqtzbsrgno"));
model = BinaryData.fromObject(model).toObject(SchemaRegistryUpdate.class);
- Assertions.assertEquals(SystemAssignedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type());
- Assertions.assertEquals("zunbixx", model.tags().get("ti"));
- Assertions.assertEquals("mbnpqf", model.properties().displayName());
- Assertions.assertEquals("qlkzme", model.properties().description());
+ Assertions.assertEquals(SystemAssignedServiceIdentityType.NONE, model.identity().type());
+ Assertions.assertEquals("nlrariaawiuagy", model.tags().get("wqfbylyrfgiagt"));
+ Assertions.assertEquals("plcplcwkhi", model.properties().displayName());
+ Assertions.assertEquals("hlhzdsqtzbsrgno", model.properties().description());
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionInnerTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionInnerTests.java
index c5c9b773f031..c3635d6ae45f 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionInnerTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionInnerTests.java
@@ -13,18 +13,18 @@ public final class SchemaVersionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaVersionInner model = BinaryData.fromString(
- "{\"properties\":{\"uuid\":\"erbdk\",\"description\":\"vidizozsdb\",\"schemaContent\":\"cxjmonfdgnwncyp\",\"hash\":\"w\",\"provisioningState\":\"Canceled\"},\"id\":\"uqj\",\"name\":\"tzenk\",\"type\":\"if\"}")
+ "{\"properties\":{\"uuid\":\"rjlnacgcck\",\"description\":\"hxkizvytnrzv\",\"schemaContent\":\"lj\",\"hash\":\"aeranokqgukkjqnv\",\"provisioningState\":\"Deleting\"},\"id\":\"laxxulc\",\"name\":\"isdos\",\"type\":\"jbjsvgjrwh\"}")
.toObject(SchemaVersionInner.class);
- Assertions.assertEquals("vidizozsdb", model.properties().description());
- Assertions.assertEquals("cxjmonfdgnwncyp", model.properties().schemaContent());
+ Assertions.assertEquals("hxkizvytnrzv", model.properties().description());
+ Assertions.assertEquals("lj", model.properties().schemaContent());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SchemaVersionInner model = new SchemaVersionInner().withProperties(
- new SchemaVersionProperties().withDescription("vidizozsdb").withSchemaContent("cxjmonfdgnwncyp"));
+ SchemaVersionInner model = new SchemaVersionInner()
+ .withProperties(new SchemaVersionProperties().withDescription("hxkizvytnrzv").withSchemaContent("lj"));
model = BinaryData.fromObject(model).toObject(SchemaVersionInner.class);
- Assertions.assertEquals("vidizozsdb", model.properties().description());
- Assertions.assertEquals("cxjmonfdgnwncyp", model.properties().schemaContent());
+ Assertions.assertEquals("hxkizvytnrzv", model.properties().description());
+ Assertions.assertEquals("lj", model.properties().schemaContent());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionListResultTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionListResultTests.java
index 0aafecb50236..c58a842e7c3d 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionListResultTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionListResultTests.java
@@ -12,10 +12,10 @@ public final class SchemaVersionListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaVersionListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"uuid\":\"btuodxeszabbel\",\"description\":\"umuaslzkwrrwoycq\",\"schemaContent\":\"cwyhahno\",\"hash\":\"rkywuhpsvfuu\",\"provisioningState\":\"Failed\"},\"id\":\"we\",\"name\":\"xwlalniexzsrzpg\",\"type\":\"pqtybb\"},{\"properties\":{\"uuid\":\"gdakchz\",\"description\":\"lixqnrkcxkjibn\",\"schemaContent\":\"mysu\",\"hash\":\"wq\",\"provisioningState\":\"Succeeded\"},\"id\":\"lwi\",\"name\":\"psttexoq\",\"type\":\"pwcyyufmhr\"}],\"nextLink\":\"cuwmqsp\"}")
+ "{\"value\":[{\"properties\":{\"uuid\":\"ihchrphkmcrjdqn\",\"description\":\"fzpbgtgkyl\",\"schemaContent\":\"dgh\",\"hash\":\"euutlwxezwzh\",\"provisioningState\":\"Succeeded\"},\"id\":\"wnhhtqlgehgppip\",\"name\":\"fhpfeoajvgcxtx\",\"type\":\"csheafidltugsr\"},{\"properties\":{\"uuid\":\"kssjhoiftxfk\",\"description\":\"egprhptil\",\"schemaContent\":\"ucb\",\"hash\":\"tgdqohmcwsldriz\",\"provisioningState\":\"Failed\"},\"id\":\"bra\",\"name\":\"llibphbqzmizak\",\"type\":\"kan\"},{\"properties\":{\"uuid\":\"dnjzh\",\"description\":\"oylhjlmuoyxprimr\",\"schemaContent\":\"opteecj\",\"hash\":\"islstv\",\"provisioningState\":\"Failed\"},\"id\":\"wxdzaumweoohgu\",\"name\":\"fuzboyjathwtzolb\",\"type\":\"emwmdxmebwjs\"},{\"properties\":{\"uuid\":\"ahlxveabfqxnm\",\"description\":\"qtibxyijddtv\",\"schemaContent\":\"cttadi\",\"hash\":\"eukmr\",\"provisioningState\":\"Succeeded\"},\"id\":\"kpn\",\"name\":\"zaapmudqmeqwi\",\"type\":\"pibudqwyxebeybpm\"}],\"nextLink\":\"nrtffyaqi\"}")
.toObject(SchemaVersionListResult.class);
- Assertions.assertEquals("umuaslzkwrrwoycq", model.value().get(0).properties().description());
- Assertions.assertEquals("cwyhahno", model.value().get(0).properties().schemaContent());
- Assertions.assertEquals("cuwmqsp", model.nextLink());
+ Assertions.assertEquals("fzpbgtgkyl", model.value().get(0).properties().description());
+ Assertions.assertEquals("dgh", model.value().get(0).properties().schemaContent());
+ Assertions.assertEquals("nrtffyaqi", model.nextLink());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionPropertiesTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionPropertiesTests.java
index e23f583ec16b..038509aa7fb5 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionPropertiesTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionPropertiesTests.java
@@ -12,18 +12,18 @@ public final class SchemaVersionPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SchemaVersionProperties model = BinaryData.fromString(
- "{\"uuid\":\"hmkdasvfl\",\"description\":\"bxcudchx\",\"schemaContent\":\"srboldforobw\",\"hash\":\"vizbfhfo\",\"provisioningState\":\"Accepted\"}")
+ "{\"uuid\":\"vyc\",\"description\":\"dclxgc\",\"schemaContent\":\"knfnwmbtmvpdv\",\"hash\":\"httz\",\"provisioningState\":\"Succeeded\"}")
.toObject(SchemaVersionProperties.class);
- Assertions.assertEquals("bxcudchx", model.description());
- Assertions.assertEquals("srboldforobw", model.schemaContent());
+ Assertions.assertEquals("dclxgc", model.description());
+ Assertions.assertEquals("knfnwmbtmvpdv", model.schemaContent());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SchemaVersionProperties model
- = new SchemaVersionProperties().withDescription("bxcudchx").withSchemaContent("srboldforobw");
+ = new SchemaVersionProperties().withDescription("dclxgc").withSchemaContent("knfnwmbtmvpdv");
model = BinaryData.fromObject(model).toObject(SchemaVersionProperties.class);
- Assertions.assertEquals("bxcudchx", model.description());
- Assertions.assertEquals("srboldforobw", model.schemaContent());
+ Assertions.assertEquals("dclxgc", model.description());
+ Assertions.assertEquals("knfnwmbtmvpdv", model.schemaContent());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceWithResponseMockTests.java
index 44fce64f1a09..1fafdf6cad4a 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsCreateOrReplaceWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class SchemaVersionsCreateOrReplaceWithResponseMockTests {
@Test
public void testCreateOrReplaceWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"vvlfntymtp\",\"description\":\"wenaz\",\"schemaContent\":\"r\",\"hash\":\"zrsq\",\"provisioningState\":\"Accepted\"},\"id\":\"kdnwqapfgsdpcve\",\"name\":\"smzhhkuuipldqqct\",\"type\":\"kva\"}";
+ = "{\"properties\":{\"uuid\":\"udawlpjfelqe\",\"description\":\"ptcbgqnzmnh\",\"schemaContent\":\"ilialwcjgc\",\"hash\":\"bcccgzpra\",\"provisioningState\":\"Accepted\"},\"id\":\"uffatsgftipwc\",\"name\":\"byubhiqdxyurnpn\",\"type\":\"hza\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,12 +32,13 @@ public void testCreateOrReplaceWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
SchemaVersion response = manager.schemaVersions()
- .define("uvjmv")
- .withExistingSchema("ueatgroe", "hoygzcbyfq", "kfaoytehq")
- .withProperties(new SchemaVersionProperties().withDescription("ndljdjuskbr").withSchemaContent("eqy"))
+ .define("gyxpqit")
+ .withExistingSchema("rgjfoknubnoi", "pkpztrg", "gxvcoqrasw")
+ .withProperties(
+ new SchemaVersionProperties().withDescription("acaqtyltcoqcu").withSchemaContent("pdsxzakuejkm"))
.create();
- Assertions.assertEquals("wenaz", response.properties().description());
- Assertions.assertEquals("r", response.properties().schemaContent());
+ Assertions.assertEquals("ptcbgqnzmnh", response.properties().description());
+ Assertions.assertEquals("ilialwcjgc", response.properties().schemaContent());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetWithResponseMockTests.java
index 9451735d7f2d..c34d7ed008f7 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class SchemaVersionsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"kphyjdxrav\",\"description\":\"qdbrxmrgc\",\"schemaContent\":\"bapxkiyfjjkb\",\"hash\":\"buscgduus\",\"provisioningState\":\"Canceled\"},\"id\":\"blevpmcluj\",\"name\":\"xkyxlzgs\",\"type\":\"gkzz\"}";
+ = "{\"properties\":{\"uuid\":\"jkpdxphlkksnm\",\"description\":\"vyfijdkzuqnw\",\"schemaContent\":\"it\",\"hash\":\"q\",\"provisioningState\":\"Canceled\"},\"id\":\"hluqwquls\",\"name\":\"trjbhxykfhyq\",\"type\":\"zvqqugdrftbcvexr\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,11 +31,10 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
SchemaVersion response = manager.schemaVersions()
- .getWithResponse("blxydkxr", "vvbxiwkgfbqljnq", "hychocokuleh", "rqlrqffawe",
- com.azure.core.util.Context.NONE)
+ .getWithResponse("ccrmmk", "upijubyqjfkakfq", "rke", "yildudxjascow", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("qdbrxmrgc", response.properties().description());
- Assertions.assertEquals("bapxkiyfjjkb", response.properties().schemaContent());
+ Assertions.assertEquals("vyfijdkzuqnw", response.properties().description());
+ Assertions.assertEquals("it", response.properties().schemaContent());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaMockTests.java
index dbda64571fa0..15c940ee9c72 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemaVersionsListBySchemaMockTests.java
@@ -22,7 +22,7 @@ public final class SchemaVersionsListBySchemaMockTests {
@Test
public void testListBySchema() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"uuid\":\"pfdqwowftptnu\",\"description\":\"tkschgcgqyhl\",\"schemaContent\":\"seyqrhvyeldotjv\",\"hash\":\"wiswskukjtasbvw\",\"provisioningState\":\"Accepted\"},\"id\":\"xkdtxfkndlqvtwkn\",\"name\":\"gmmbu\",\"type\":\"tywatmqaq\"}]}";
+ = "{\"value\":[{\"properties\":{\"uuid\":\"glmep\",\"description\":\"fs\",\"schemaContent\":\"ykgsangpszng\",\"hash\":\"p\",\"provisioningState\":\"Deleting\"},\"id\":\"vecjujcn\",\"name\":\"oady\",\"type\":\"dm\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,10 +31,10 @@ public void testListBySchema() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.schemaVersions().listBySchema("taf", "bzf", "ovwmbjlzqsczpgvd", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.schemaVersions()
+ .listBySchema("uquowtljvfwhr", "agk", "yxvrqtvbczsul", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("tkschgcgqyhl", response.iterator().next().properties().description());
- Assertions.assertEquals("seyqrhvyeldotjv", response.iterator().next().properties().schemaContent());
+ Assertions.assertEquals("fs", response.iterator().next().properties().description());
+ Assertions.assertEquals("ykgsangpszng", response.iterator().next().properties().schemaContent());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceWithResponseMockTests.java
index 8baf5f0dbb7c..35befcae97bd 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasCreateOrReplaceWithResponseMockTests.java
@@ -26,7 +26,7 @@ public final class SchemasCreateOrReplaceWithResponseMockTests {
@Test
public void testCreateOrReplaceWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"wxudgn\",\"displayName\":\"ookrtalvnbw\",\"description\":\"bemeluclvd\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Failed\",\"tags\":{\"aqnvzoqgyipemchg\":\"nqodxahhxhq\",\"czuejdtxptl\":\"v\"}},\"id\":\"wzhomewjjstl\",\"name\":\"uhqawmoaianc\",\"type\":\"nvodrrs\"}";
+ = "{\"properties\":{\"uuid\":\"uwdchozf\",\"displayName\":\"fexl\",\"description\":\"noakiz\",\"format\":\"Delta/1.0\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Accepted\",\"tags\":{\"nuwiguyxlykwph\":\"q\"}},\"id\":\"zc\",\"name\":\"xhmpejtlkex\",\"type\":\"onwivkcqhrxhxkn\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -36,20 +36,20 @@ public void testCreateOrReplaceWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Schema response = manager.schemas()
- .define("bscm")
- .withExistingSchemaRegistry("oyvivbsiz", "sjsz")
- .withProperties(new SchemaProperties().withDisplayName("v")
- .withDescription("xrerlniylylyf")
+ .define("afhlbyl")
+ .withExistingSchemaRegistry("tnhqsycl", "selpkpbaf")
+ .withProperties(new SchemaProperties().withDisplayName("wrso")
+ .withDescription("ltdb")
.withFormat(Format.DELTA_1_0)
.withSchemaType(SchemaType.MESSAGE_SCHEMA)
- .withTags(mapOf("yjtcdxabbujftab", "ztwhghmupg")))
+ .withTags(mapOf("npq", "hfnrac")))
.create();
- Assertions.assertEquals("ookrtalvnbw", response.properties().displayName());
- Assertions.assertEquals("bemeluclvd", response.properties().description());
- Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, response.properties().format());
+ Assertions.assertEquals("fexl", response.properties().displayName());
+ Assertions.assertEquals("noakiz", response.properties().description());
+ Assertions.assertEquals(Format.DELTA_1_0, response.properties().format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, response.properties().schemaType());
- Assertions.assertEquals("nqodxahhxhq", response.properties().tags().get("aqnvzoqgyipemchg"));
+ Assertions.assertEquals("q", response.properties().tags().get("nuwiguyxlykwph"));
}
// Use "Map.of" if available
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetWithResponseMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetWithResponseMockTests.java
index 177f44d0905d..7cad6421dbb3 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetWithResponseMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasGetWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class SchemasGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"uuid\":\"mbzmqk\",\"displayName\":\"tbnxwbjsid\",\"description\":\"rkfpks\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Canceled\",\"tags\":{\"bguzozky\":\"wijymr\",\"zhhh\":\"wnf\",\"mffjkutycyarn\":\"o\"}},\"id\":\"ohguabz\",\"name\":\"ghktdpy\",\"type\":\"z\"}";
+ = "{\"properties\":{\"uuid\":\"nwqjwgokn\",\"displayName\":\"jjjkxybwfdbk\",\"description\":\"ztensvkzykjtj\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Failed\",\"tags\":{\"fbpkuw\":\"shcdpkupnqrmg\"}},\"id\":\"oiojfizfavkjzwfb\",\"name\":\"yay\",\"type\":\"mmfz\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Schema response = manager.schemas()
- .getWithResponse("nggiycwkdtaa", "xw", "ekaum", com.azure.core.util.Context.NONE)
+ .getWithResponse("bksdqhjvyklxesl", "hhus", "cpoq", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("tbnxwbjsid", response.properties().displayName());
- Assertions.assertEquals("rkfpks", response.properties().description());
+ Assertions.assertEquals("jjjkxybwfdbk", response.properties().displayName());
+ Assertions.assertEquals("ztensvkzykjtj", response.properties().description());
Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, response.properties().format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, response.properties().schemaType());
- Assertions.assertEquals("wijymr", response.properties().tags().get("bguzozky"));
+ Assertions.assertEquals("shcdpkupnqrmg", response.properties().tags().get("fbpkuw"));
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistryMockTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistryMockTests.java
index ef016bb2d9a6..1d4aedcaf1f1 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistryMockTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/SchemasListBySchemaRegistryMockTests.java
@@ -24,7 +24,7 @@ public final class SchemasListBySchemaRegistryMockTests {
@Test
public void testListBySchemaRegistry() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"uuid\":\"ttjzcfyjzpt\",\"displayName\":\"lohap\",\"description\":\"nfszpyglqdhmrjz\",\"format\":\"Delta/1.0\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Accepted\",\"tags\":{\"fq\":\"byypsjoqcjenky\"}},\"id\":\"sqxfxjelgcmpz\",\"name\":\"jhhhqxu\",\"type\":\"yvca\"}]}";
+ = "{\"value\":[{\"properties\":{\"uuid\":\"wsrsxkrplbja\",\"displayName\":\"jwwviy\",\"description\":\"ps\",\"format\":\"JsonSchema/draft-07\",\"schemaType\":\"MessageSchema\",\"provisioningState\":\"Accepted\",\"tags\":{\"zycyqiqyhg\":\"jxsqwjhqkbiwetp\"}},\"id\":\"etzlexbsfledynoj\",\"name\":\"ziu\",\"type\":\"fbzkk\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,12 +34,12 @@ public void testListBySchemaRegistry() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.schemas().listBySchemaRegistry("coe", "cnhz", com.azure.core.util.Context.NONE);
+ = manager.schemas().listBySchemaRegistry("bfw", "rzx", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("lohap", response.iterator().next().properties().displayName());
- Assertions.assertEquals("nfszpyglqdhmrjz", response.iterator().next().properties().description());
- Assertions.assertEquals(Format.DELTA_1_0, response.iterator().next().properties().format());
+ Assertions.assertEquals("jwwviy", response.iterator().next().properties().displayName());
+ Assertions.assertEquals("ps", response.iterator().next().properties().description());
+ Assertions.assertEquals(Format.JSON_SCHEMA_DRAFT7, response.iterator().next().properties().format());
Assertions.assertEquals(SchemaType.MESSAGE_SCHEMA, response.iterator().next().properties().schemaType());
- Assertions.assertEquals("byypsjoqcjenky", response.iterator().next().properties().tags().get("fq"));
+ Assertions.assertEquals("jxsqwjhqkbiwetp", response.iterator().next().properties().tags().get("zycyqiqyhg"));
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StorageDestinationConfigurationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StorageDestinationConfigurationTests.java
index 8ceb5fee512c..27e47a825646 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StorageDestinationConfigurationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StorageDestinationConfigurationTests.java
@@ -12,14 +12,14 @@ public final class StorageDestinationConfigurationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
StorageDestinationConfiguration model
- = BinaryData.fromString("{\"path\":\"aloayqcgwrtzju\"}").toObject(StorageDestinationConfiguration.class);
- Assertions.assertEquals("aloayqcgwrtzju", model.path());
+ = BinaryData.fromString("{\"path\":\"tghfgblcgwxzvl\"}").toObject(StorageDestinationConfiguration.class);
+ Assertions.assertEquals("tghfgblcgwxzvl", model.path());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- StorageDestinationConfiguration model = new StorageDestinationConfiguration().withPath("aloayqcgwrtzju");
+ StorageDestinationConfiguration model = new StorageDestinationConfiguration().withPath("tghfgblcgwxzvl");
model = BinaryData.fromObject(model).toObject(StorageDestinationConfiguration.class);
- Assertions.assertEquals("aloayqcgwrtzju", model.path());
+ Assertions.assertEquals("tghfgblcgwxzvl", model.path());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamMqttDestinationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamMqttDestinationTests.java
index 968dbfd4b962..f61dccf0036c 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamMqttDestinationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamMqttDestinationTests.java
@@ -15,25 +15,25 @@ public final class StreamMqttDestinationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
StreamMqttDestination model = BinaryData.fromString(
- "{\"target\":\"Mqtt\",\"configuration\":{\"topic\":\"knftguvriuh\",\"retain\":\"Never\",\"qos\":\"Qos1\",\"ttl\":8091606100814503434}}")
+ "{\"target\":\"Mqtt\",\"configuration\":{\"topic\":\"rtzju\",\"retain\":\"Never\",\"qos\":\"Qos0\",\"ttl\":5304844297296220991}}")
.toObject(StreamMqttDestination.class);
- Assertions.assertEquals("knftguvriuh", model.configuration().topic());
+ Assertions.assertEquals("rtzju", model.configuration().topic());
Assertions.assertEquals(TopicRetainType.NEVER, model.configuration().retain());
- Assertions.assertEquals(MqttDestinationQos.QOS1, model.configuration().qos());
- Assertions.assertEquals(8091606100814503434L, model.configuration().ttl());
+ Assertions.assertEquals(MqttDestinationQos.QOS0, model.configuration().qos());
+ Assertions.assertEquals(5304844297296220991L, model.configuration().ttl());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
StreamMqttDestination model
- = new StreamMqttDestination().withConfiguration(new MqttDestinationConfiguration().withTopic("knftguvriuh")
+ = new StreamMqttDestination().withConfiguration(new MqttDestinationConfiguration().withTopic("rtzju")
.withRetain(TopicRetainType.NEVER)
- .withQos(MqttDestinationQos.QOS1)
- .withTtl(8091606100814503434L));
+ .withQos(MqttDestinationQos.QOS0)
+ .withTtl(5304844297296220991L));
model = BinaryData.fromObject(model).toObject(StreamMqttDestination.class);
- Assertions.assertEquals("knftguvriuh", model.configuration().topic());
+ Assertions.assertEquals("rtzju", model.configuration().topic());
Assertions.assertEquals(TopicRetainType.NEVER, model.configuration().retain());
- Assertions.assertEquals(MqttDestinationQos.QOS1, model.configuration().qos());
- Assertions.assertEquals(8091606100814503434L, model.configuration().ttl());
+ Assertions.assertEquals(MqttDestinationQos.QOS0, model.configuration().qos());
+ Assertions.assertEquals(5304844297296220991L, model.configuration().ttl());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamStorageDestinationTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamStorageDestinationTests.java
index dba22d63716d..f5f23f93d163 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamStorageDestinationTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/StreamStorageDestinationTests.java
@@ -13,16 +13,16 @@ public final class StreamStorageDestinationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
StreamStorageDestination model
- = BinaryData.fromString("{\"target\":\"Storage\",\"configuration\":{\"path\":\"qtayri\"}}")
+ = BinaryData.fromString("{\"target\":\"Storage\",\"configuration\":{\"path\":\"xongmtsavjcbpwxq\"}}")
.toObject(StreamStorageDestination.class);
- Assertions.assertEquals("qtayri", model.configuration().path());
+ Assertions.assertEquals("xongmtsavjcbpwxq", model.configuration().path());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
StreamStorageDestination model = new StreamStorageDestination()
- .withConfiguration(new StorageDestinationConfiguration().withPath("qtayri"));
+ .withConfiguration(new StorageDestinationConfiguration().withPath("xongmtsavjcbpwxq"));
model = BinaryData.fromObject(model).toObject(StreamStorageDestination.class);
- Assertions.assertEquals("qtayri", model.configuration().path());
+ Assertions.assertEquals("xongmtsavjcbpwxq", model.configuration().path());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/TrustSettingsTests.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/TrustSettingsTests.java
index 8d21f50adbdd..e27433d0eb5f 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/TrustSettingsTests.java
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/test/java/com/azure/resourcemanager/deviceregistry/generated/TrustSettingsTests.java
@@ -11,14 +11,14 @@
public final class TrustSettingsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- TrustSettings model = BinaryData.fromString("{\"trustList\":\"irels\"}").toObject(TrustSettings.class);
- Assertions.assertEquals("irels", model.trustList());
+ TrustSettings model = BinaryData.fromString("{\"trustList\":\"ghimdblx\"}").toObject(TrustSettings.class);
+ Assertions.assertEquals("ghimdblx", model.trustList());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- TrustSettings model = new TrustSettings().withTrustList("irels");
+ TrustSettings model = new TrustSettings().withTrustList("ghimdblx");
model = BinaryData.fromObject(model).toObject(TrustSettings.class);
- Assertions.assertEquals("irels", model.trustList());
+ Assertions.assertEquals("ghimdblx", model.trustList());
}
}
diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/tsp-location.yaml b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/tsp-location.yaml
index 974f78b61b46..82c17bdf7d0c 100644
--- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/tsp-location.yaml
+++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/tsp-location.yaml
@@ -1,4 +1,4 @@
directory: specification/deviceregistry/DeviceRegistry.Management
-commit: b562b95b6429f78f6c8629d5751bfeef1be7cacd
+commit: 5038b362fae5e6f54bb6fe7e0a0d18370a946acf
repo: Azure/azure-rest-api-specs
additionalDirectories: