From 09f4641aba3131b93950a345f760f58f35e0898e Mon Sep 17 00:00:00 2001
From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date: Fri, 24 Jan 2025 01:20:17 -0800
Subject: [PATCH] [Automation] Generate Fluent Lite from Swagger
azure-kusto#package-2024-04 (#43919)
---
eng/versioning/version_client.txt | 2 +-
.../azure-resourcemanager-kusto/CHANGELOG.md | 87 +-
.../azure-resourcemanager-kusto/README.md | 4 +-
.../azure-resourcemanager-kusto/SAMPLE.md | 340 ++++++--
sdk/kusto/azure-resourcemanager-kusto/pom.xml | 5 +-
.../resourcemanager/kusto/KustoManager.java | 2 +-
.../kusto/fluent/ClustersClient.java | 179 ++++
.../fluent/models/CalloutPolicyInner.java | 170 ++++
.../kusto/fluent/models/ClusterInner.java | 33 +
.../fluent/models/ClusterProperties.java | 51 ++
.../FollowerDatabaseDefinitionGetInner.java | 166 ++++
.../models/FollowerDatabaseProperties.java | 193 +++++
.../models/SandboxCustomImageInner.java | 33 +-
.../models/SandboxCustomImageProperties.java | 47 +-
.../kusto/fluent/models/ScriptInner.java | 52 ++
.../kusto/fluent/models/ScriptProperties.java | 64 ++
.../implementation/CalloutPolicyImpl.java | 45 +
.../kusto/implementation/ClusterImpl.java | 54 ++
.../implementation/ClustersClientImpl.java | 791 ++++++++++++++++++
.../kusto/implementation/ClustersImpl.java | 53 ++
.../FollowerDatabaseDefinitionGetImpl.java | 50 ++
.../KustoManagementClientImpl.java | 2 +-
.../SandboxCustomImageImpl.java | 9 +
.../kusto/implementation/ScriptImpl.java | 20 +
.../kusto/models/CalloutPoliciesList.java | 127 +++
.../kusto/models/CalloutPolicy.java | 48 ++
.../kusto/models/CalloutPolicyToRemove.java | 93 ++
.../kusto/models/CalloutType.java | 96 +++
.../resourcemanager/kusto/models/Cluster.java | 127 ++-
.../kusto/models/ClusterPrincipalRole.java | 5 +
.../kusto/models/ClusterUpdate.java | 33 +
.../kusto/models/Clusters.java | 103 +++
.../models/FollowerDatabaseDefinitionGet.java | 56 ++
.../models/FollowerDatabaseListResultGet.java | 129 +++
.../models/LanguageExtensionImageName.java | 10 +
.../kusto/models/OutboundAccess.java | 51 ++
.../models/PrincipalPermissionsAction.java | 53 ++
.../kusto/models/SandboxCustomImage.java | 64 +-
.../resourcemanager/kusto/models/Script.java | 83 +-
.../kusto/models/ScriptLevel.java | 51 ++
.../kusto/models/ZoneStatus.java | 56 ++
...gurationsCheckNameAvailabilitySamples.java | 2 +-
...seConfigurationsCreateOrUpdateSamples.java | 2 +-
...edDatabaseConfigurationsDeleteSamples.java | 2 +-
...achedDatabaseConfigurationsGetSamples.java | 2 +-
...aseConfigurationsListByClusterSamples.java | 2 +-
...signmentsCheckNameAvailabilitySamples.java | 2 +-
...cipalAssignmentsCreateOrUpdateSamples.java | 2 +-
...sterPrincipalAssignmentsDeleteSamples.java | 2 +-
...ClusterPrincipalAssignmentsGetSamples.java | 2 +-
...lusterPrincipalAssignmentsListSamples.java | 2 +-
.../ClustersAddCalloutPoliciesSamples.java | 34 +
.../ClustersAddLanguageExtensionsSamples.java | 2 +-
.../ClustersCheckNameAvailabilitySamples.java | 2 +-
.../ClustersCreateOrUpdateSamples.java | 2 +-
.../generated/ClustersDeleteSamples.java | 2 +-
...lustersDetachFollowerDatabasesSamples.java | 2 +-
...ClustersDiagnoseVirtualNetworkSamples.java | 2 +-
.../ClustersGetByResourceGroupSamples.java | 2 +-
.../ClustersListByResourceGroupSamples.java | 2 +-
.../ClustersListCalloutPoliciesSamples.java | 23 +
...ustersListFollowerDatabasesGetSamples.java | 23 +
.../ClustersListFollowerDatabasesSamples.java | 2 +-
...ClustersListLanguageExtensionsSamples.java | 2 +-
...ndNetworkDependenciesEndpointsSamples.java | 2 +-
.../kusto/generated/ClustersListSamples.java | 2 +-
.../ClustersListSkusByResourceSamples.java | 2 +-
.../generated/ClustersListSkusSamples.java | 2 +-
.../generated/ClustersMigrateSamples.java | 2 +-
.../ClustersRemoveCalloutPolicySamples.java | 27 +
...ustersRemoveLanguageExtensionsSamples.java | 2 +-
.../kusto/generated/ClustersStartSamples.java | 2 +-
.../kusto/generated/ClustersStopSamples.java | 2 +-
.../generated/ClustersUpdateSamples.java | 2 +-
...nnectionsCheckNameAvailabilitySamples.java | 2 +-
.../DataConnectionsCreateOrUpdateSamples.java | 8 +-
...ctionsDataConnectionValidationSamples.java | 8 +-
.../DataConnectionsDeleteSamples.java | 2 +-
.../generated/DataConnectionsGetSamples.java | 6 +-
.../DataConnectionsListByDatabaseSamples.java | 2 +-
.../DataConnectionsUpdateSamples.java | 8 +-
...atabaseOperationInviteFollowerSamples.java | 2 +-
...signmentsCheckNameAvailabilitySamples.java | 2 +-
...cipalAssignmentsCreateOrUpdateSamples.java | 2 +-
...basePrincipalAssignmentsDeleteSamples.java | 2 +-
...atabasePrincipalAssignmentsGetSamples.java | 2 +-
...tabasePrincipalAssignmentsListSamples.java | 2 +-
.../DatabasesAddPrincipalsSamples.java | 2 +-
...DatabasesCheckNameAvailabilitySamples.java | 2 +-
.../DatabasesCreateOrUpdateSamples.java | 4 +-
.../generated/DatabasesDeleteSamples.java | 2 +-
.../kusto/generated/DatabasesGetSamples.java | 4 +-
.../DatabasesListByClusterSamples.java | 2 +-
.../DatabasesListPrincipalsSamples.java | 2 +-
.../DatabasesRemovePrincipalsSamples.java | 2 +-
.../generated/DatabasesUpdateSamples.java | 2 +-
...EndpointsCheckNameAvailabilitySamples.java | 2 +-
...PrivateEndpointsCreateOrUpdateSamples.java | 2 +-
.../ManagedPrivateEndpointsDeleteSamples.java | 2 +-
.../ManagedPrivateEndpointsGetSamples.java | 2 +-
.../ManagedPrivateEndpointsListSamples.java | 2 +-
.../ManagedPrivateEndpointsUpdateSamples.java | 2 +-
.../generated/OperationsListSamples.java | 2 +-
.../OperationsResultsGetSamples.java | 2 +-
.../OperationsResultsLocationGetSamples.java | 2 +-
...pointConnectionsCreateOrUpdateSamples.java | 2 +-
...ivateEndpointConnectionsDeleteSamples.java | 2 +-
.../PrivateEndpointConnectionsGetSamples.java | 2 +-
...PrivateEndpointConnectionsListSamples.java | 2 +-
.../PrivateLinkResourcesGetSamples.java | 2 +-
.../PrivateLinkResourcesListSamples.java | 2 +-
...tomImagesCheckNameAvailabilitySamples.java | 2 +-
...dboxCustomImagesCreateOrUpdateSamples.java | 42 +-
.../SandboxCustomImagesDeleteSamples.java | 2 +-
.../SandboxCustomImagesGetSamples.java | 2 +-
...ndboxCustomImagesListByClusterSamples.java | 2 +-
.../SandboxCustomImagesUpdateSamples.java | 2 +-
.../ScriptsCheckNameAvailabilitySamples.java | 2 +-
.../ScriptsCreateOrUpdateSamples.java | 7 +-
.../kusto/generated/ScriptsDeleteSamples.java | 2 +-
.../kusto/generated/ScriptsGetSamples.java | 2 +-
.../ScriptsListByDatabaseSamples.java | 2 +-
.../kusto/generated/ScriptsUpdateSamples.java | 6 +-
.../kusto/generated/SkusListSamples.java | 2 +-
...tachedDatabaseConfigurationInnerTests.java | 82 +-
...dDatabaseConfigurationListResultTests.java | 149 ++--
...dDatabaseConfigurationPropertiesTests.java | 87 +-
...NameAvailabilityWithResponseMockTests.java | 10 +-
...seConfigurationsCheckNameRequestTests.java | 8 +-
...ConfigurationsCreateOrUpdateMockTests.java | 65 +-
...DatabaseConfigurationsDeleteMockTests.java | 3 +-
...onfigurationsGetWithResponseMockTests.java | 35 +-
...eConfigurationsListByClusterMockTests.java | 34 +-
.../kusto/generated/AzureCapacityTests.java | 27 +-
.../generated/AzureResourceSkuInnerTests.java | 50 +-
.../generated/CalloutPoliciesListTests.java | 43 +
.../generated/CalloutPolicyInnerTests.java | 34 +
.../generated/CalloutPolicyToRemoveTests.java | 25 +
.../generated/CheckNameRequestTests.java | 19 +-
.../generated/CheckNameResultInnerTests.java | 15 +-
.../ClusterCheckNameRequestTests.java | 8 +-
.../generated/ClusterMigrateRequestTests.java | 8 +-
...ncipalAssignmentCheckNameRequestTests.java | 8 +-
.../ClusterPrincipalAssignmentInnerTests.java | 26 +-
...terPrincipalAssignmentListResultTests.java | 32 +-
...NameAvailabilityWithResponseMockTests.java | 11 +-
...palAssignmentsCreateOrUpdateMockTests.java | 18 +-
...erPrincipalAssignmentsDeleteMockTests.java | 2 +-
...alAssignmentsGetWithResponseMockTests.java | 12 +-
...sterPrincipalAssignmentsListMockTests.java | 10 +-
.../ClusterPrincipalPropertiesTests.java | 26 +-
.../ClustersAddCalloutPoliciesMockTests.java | 48 ++
...lustersAddLanguageExtensionsMockTests.java | 16 +-
...NameAvailabilityWithResponseMockTests.java | 11 +-
.../generated/ClustersDeleteMockTests.java | 2 +-
...stersDetachFollowerDatabasesMockTests.java | 6 +-
...ustersDiagnoseVirtualNetworkMockTests.java | 8 +-
.../ClustersListCalloutPoliciesMockTests.java | 43 +
...tersListFollowerDatabasesGetMockTests.java | 40 +
...lustersListFollowerDatabasesMockTests.java | 10 +-
...ustersListLanguageExtensionsMockTests.java | 10 +-
...NetworkDependenciesEndpointsMockTests.java | 8 +-
.../ClustersListSkusByResourceMockTests.java | 20 +-
.../generated/ClustersListSkusMockTests.java | 2 +-
.../generated/ClustersMigrateMockTests.java | 2 +-
.../ClustersRemoveCalloutPolicyMockTests.java | 36 +
...tersRemoveLanguageExtensionsMockTests.java | 11 +-
.../generated/ClustersStartMockTests.java | 2 +-
.../generated/ClustersStopMockTests.java | 2 +-
...CosmosDbDataConnectionPropertiesTests.java | 44 +-
.../CosmosDbDataConnectionTests.java | 50 +-
.../DataConnectionCheckNameRequestTests.java | 8 +-
.../generated/DataConnectionInnerTests.java | 8 +-
.../DataConnectionListResultTests.java | 14 +-
.../DataConnectionValidationInnerTests.java | 14 +-
...nectionValidationListResultInnerTests.java | 13 +-
.../DataConnectionValidationResultTests.java | 10 +-
...NameAvailabilityWithResponseMockTests.java | 14 +-
...ataConnectionsCreateOrUpdateMockTests.java | 8 +-
...ionsDataConnectionValidationMockTests.java | 10 +-
.../DataConnectionsDeleteMockTests.java | 4 +-
...taConnectionsGetWithResponseMockTests.java | 6 +-
...ataConnectionsListByDatabaseMockTests.java | 6 +-
.../DataConnectionsUpdateMockTests.java | 8 +-
.../kusto/generated/DatabaseInnerTests.java | 8 +-
.../DatabaseInviteFollowerRequestTests.java | 65 +-
...atabaseInviteFollowerResultInnerTests.java | 9 +-
.../generated/DatabaseListResultTests.java | 19 +-
...nsInviteFollowerWithResponseMockTests.java | 25 +-
...ncipalAssignmentCheckNameRequestTests.java | 10 +-
...DatabasePrincipalAssignmentInnerTests.java | 23 +-
...asePrincipalAssignmentListResultTests.java | 36 +-
...NameAvailabilityWithResponseMockTests.java | 15 +-
...palAssignmentsCreateOrUpdateMockTests.java | 18 +-
...sePrincipalAssignmentsDeleteMockTests.java | 2 +-
...alAssignmentsGetWithResponseMockTests.java | 13 +-
...basePrincipalAssignmentsListMockTests.java | 10 +-
.../DatabasePrincipalInnerTests.java | 26 +-
.../DatabasePrincipalListRequestTests.java | 52 +-
...DatabasePrincipalListResultInnerTests.java | 58 +-
.../DatabasePrincipalPropertiesTests.java | 26 +-
.../generated/DatabaseStatisticsTests.java | 8 +-
...sesAddPrincipalsWithResponseMockTests.java | 26 +-
...NameAvailabilityWithResponseMockTests.java | 12 +-
.../DatabasesCreateOrUpdateMockTests.java | 8 +-
.../generated/DatabasesDeleteMockTests.java | 3 +-
.../DatabasesGetWithResponseMockTests.java | 6 +-
.../DatabasesListByClusterMockTests.java | 6 +-
.../DatabasesListPrincipalsMockTests.java | 16 +-
...RemovePrincipalsWithResponseMockTests.java | 40 +-
.../generated/DatabasesUpdateMockTests.java | 8 +-
...iagnoseVirtualNetworkResultInnerTests.java | 10 +-
.../generated/EndpointDependencyTests.java | 22 +-
.../kusto/generated/EndpointDetailTests.java | 12 +-
.../EventGridConnectionPropertiesTests.java | 62 +-
.../EventGridDataConnectionTests.java | 68 +-
.../EventHubConnectionPropertiesTests.java | 56 +-
.../EventHubDataConnectionTests.java | 62 +-
...llowerDatabaseDefinitionGetInnerTests.java | 30 +
.../FollowerDatabaseDefinitionInnerTests.java | 15 +-
.../FollowerDatabaseListResultGetTests.java | 37 +
.../FollowerDatabaseListResultTests.java | 20 +-
.../FollowerDatabasePropertiesTests.java | 29 +
.../IotHubConnectionPropertiesTests.java | 56 +-
.../generated/IotHubDataConnectionTests.java | 56 +-
.../LanguageExtensionsListTests.java | 10 +-
.../ListResourceSkusResultTests.java | 56 +-
.../ManagedPrivateEndpointInnerTests.java | 27 +-
...ManagedPrivateEndpointListResultTests.java | 26 +-
...ManagedPrivateEndpointPropertiesTests.java | 27 +-
...NameAvailabilityWithResponseMockTests.java | 10 +-
...PrivateEndpointsCheckNameRequestTests.java | 9 +-
...ivateEndpointsCreateOrUpdateMockTests.java | 22 +-
...anagedPrivateEndpointsDeleteMockTests.java | 3 +-
...vateEndpointsGetWithResponseMockTests.java | 12 +-
.../ManagedPrivateEndpointsListMockTests.java | 12 +-
.../MigrationClusterPropertiesTests.java | 2 +-
.../generated/OperationDisplayTests.java | 26 +-
.../kusto/generated/OperationInnerTests.java | 40 +-
.../generated/OperationListResultTests.java | 67 +-
.../OperationResultPropertiesTests.java | 15 +-
.../generated/OperationsListMockTests.java | 14 +-
...ultsLocationsGetWithResponseMockTests.java | 2 +-
...NetworkDependenciesEndpointInnerTests.java | 44 +-
...rkDependenciesEndpointListResultTests.java | 25 +-
...rkDependenciesEndpointPropertiesTests.java | 30 +-
.../PrivateEndpointConnectionInnerTests.java | 17 +-
...vateEndpointConnectionListResultTests.java | 22 +-
...vateEndpointConnectionPropertiesTests.java | 12 +-
...intConnectionsCreateOrUpdateMockTests.java | 12 +-
...ateEndpointConnectionsDeleteMockTests.java | 2 +-
...ntConnectionsGetWithResponseMockTests.java | 8 +-
...ivateEndpointConnectionsListMockTests.java | 8 +-
.../PrivateEndpointPropertyTests.java | 2 +-
.../PrivateLinkResourceInnerTests.java | 2 +-
.../PrivateLinkResourceListResultTests.java | 5 +-
.../PrivateLinkResourcePropertiesTests.java | 2 +-
...LinkResourcesGetWithResponseMockTests.java | 4 +-
.../PrivateLinkResourcesListMockTests.java | 4 +-
...nkServiceConnectionStatePropertyTests.java | 16 +-
...dOnlyFollowingDatabasePropertiesTests.java | 8 +-
.../ReadOnlyFollowingDatabaseTests.java | 14 +-
.../ResourceSkuCapabilitiesTests.java | 3 +-
.../ResourceSkuZoneDetailsTests.java | 2 +-
.../SandboxCustomImageInnerTests.java | 17 +-
.../SandboxCustomImagePropertiesTests.java | 17 +-
...NameAvailabilityWithResponseMockTests.java | 12 +-
...dboxCustomImagesCheckNameRequestTests.java | 8 +-
...oxCustomImagesCreateOrUpdateMockTests.java | 16 +-
.../SandboxCustomImagesDeleteMockTests.java | 2 +-
...xCustomImagesGetWithResponseMockTests.java | 9 +-
...boxCustomImagesListByClusterMockTests.java | 9 +-
.../SandboxCustomImagesListResultTests.java | 32 +-
.../ScriptCheckNameRequestTests.java | 8 +-
...NameAvailabilityWithResponseMockTests.java | 12 +-
.../generated/ScriptsDeleteMockTests.java | 3 +-
.../generated/SkuDescriptionInnerTests.java | 2 +-
.../generated/SkuDescriptionListTests.java | 2 +-
.../generated/SkuLocationInfoItemTests.java | 17 +-
.../kusto/generated/SkusListMockTests.java | 4 +-
.../generated/SuspensionDetailsTests.java | 8 +-
.../TableLevelSharingPropertiesTests.java | 52 +-
282 files changed, 5577 insertions(+), 1676 deletions(-)
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/CalloutPolicyInner.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseDefinitionGetInner.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseProperties.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/CalloutPolicyImpl.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/FollowerDatabaseDefinitionGetImpl.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPoliciesList.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicy.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicyToRemove.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutType.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseDefinitionGet.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseListResultGet.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/OutboundAccess.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/PrincipalPermissionsAction.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ScriptLevel.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ZoneStatus.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesSamples.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesSamples.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetSamples.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicySamples.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPoliciesListTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyInnerTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyToRemoveTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesMockTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesMockTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetMockTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicyMockTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionGetInnerTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultGetTests.java
create mode 100644 sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabasePropertiesTests.java
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 1df60911b6e77..3303c90512913 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -293,7 +293,7 @@ com.azure.resourcemanager:azure-resourcemanager-sqlvirtualmachine;1.0.0-beta.5;1
com.azure.resourcemanager:azure-resourcemanager-relay;1.0.0-beta.3;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-costmanagement;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-recoveryservices;1.4.0;1.5.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-kusto;1.1.0;1.2.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-kusto;1.1.0;1.2.0
com.azure.resourcemanager:azure-resourcemanager-loganalytics;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.1.0;1.2.0-beta.8
com.azure.resourcemanager:azure-resourcemanager-healthbot;1.0.0;1.1.0-beta.1
diff --git a/sdk/kusto/azure-resourcemanager-kusto/CHANGELOG.md b/sdk/kusto/azure-resourcemanager-kusto/CHANGELOG.md
index 8dfc3fdce6886..8b2f1b8ac40e8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/CHANGELOG.md
+++ b/sdk/kusto/azure-resourcemanager-kusto/CHANGELOG.md
@@ -1,14 +1,93 @@
# Release History
-## 1.2.0-beta.1 (Unreleased)
+## 1.2.0 (2025-01-24)
+
+- Azure Resource Manager Kusto client library for Java. This package contains Microsoft Azure SDK for Kusto Management SDK. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2024-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
-### Breaking Changes
+* `models.FollowerDatabaseDefinitionGet` was added
+
+* `models.FollowerDatabaseListResultGet` was added
+
+* `models.ScriptLevel` was added
+
+* `models.ZoneStatus` was added
+
+* `models.CalloutType` was added
+
+* `models.CalloutPolicyToRemove` was added
+
+* `models.PrincipalPermissionsAction` was added
+
+* `models.CalloutPoliciesList` was added
+
+* `models.OutboundAccess` was added
-### Bugs Fixed
+* `models.CalloutPolicy` was added
+
+#### `models.Clusters` was modified
+
+* `listCalloutPolicies(java.lang.String,java.lang.String)` was added
+* `listFollowerDatabasesGet(java.lang.String,java.lang.String)` was added
+* `addCalloutPolicies(java.lang.String,java.lang.String,models.CalloutPoliciesList,com.azure.core.util.Context)` was added
+* `addCalloutPolicies(java.lang.String,java.lang.String,models.CalloutPoliciesList)` was added
+* `listFollowerDatabasesGet(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `removeCalloutPolicy(java.lang.String,java.lang.String,models.CalloutPolicyToRemove)` was added
+* `removeCalloutPolicy(java.lang.String,java.lang.String,models.CalloutPolicyToRemove,com.azure.core.util.Context)` was added
+* `listCalloutPolicies(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.Script$Definition` was modified
+
+* `withScriptLevel(models.ScriptLevel)` was added
+* `withPrincipalPermissionsAction(models.PrincipalPermissionsAction)` was added
+
+#### `models.SandboxCustomImage$Definition` was modified
+
+* `withBaseImageName(java.lang.String)` was added
+
+#### `models.Cluster` was modified
+
+* `calloutPolicies()` was added
+* `listCalloutPolicies()` was added
+* `zoneStatus()` was added
+* `removeCalloutPolicy(models.CalloutPolicyToRemove)` was added
+* `addCalloutPolicies(models.CalloutPoliciesList,com.azure.core.util.Context)` was added
+* `removeCalloutPolicy(models.CalloutPolicyToRemove,com.azure.core.util.Context)` was added
+* `addCalloutPolicies(models.CalloutPoliciesList)` was added
+* `listCalloutPolicies(com.azure.core.util.Context)` was added
+
+#### `models.SandboxCustomImage` was modified
+
+* `baseImageName()` was added
+
+#### `models.Cluster$Definition` was modified
+
+* `withCalloutPolicies(java.util.List)` was added
+
+#### `models.Script` was modified
+
+* `scriptLevel()` was added
+* `principalPermissionsAction()` was added
+
+#### `models.ClusterUpdate` was modified
+
+* `withCalloutPolicies(java.util.List)` was added
+* `zoneStatus()` was added
+* `calloutPolicies()` was added
+
+#### `models.SandboxCustomImage$Update` was modified
+
+* `withBaseImageName(java.lang.String)` was added
+
+#### `models.Cluster$Update` was modified
+
+* `withCalloutPolicies(java.util.List)` was added
+
+#### `models.Script$Update` was modified
-### Other Changes
+* `withScriptLevel(models.ScriptLevel)` was added
+* `withPrincipalPermissionsAction(models.PrincipalPermissionsAction)` was added
## 1.1.0 (2024-12-11)
diff --git a/sdk/kusto/azure-resourcemanager-kusto/README.md b/sdk/kusto/azure-resourcemanager-kusto/README.md
index 4a292e2206be4..bd3abb2b5209c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/README.md
+++ b/sdk/kusto/azure-resourcemanager-kusto/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Kusto client library for Java.
-This package contains Microsoft Azure SDK for Kusto Management SDK. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2023-08. 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 Kusto Management SDK. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2024-04. 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-kusto
- 1.1.0
+ 1.2.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/kusto/azure-resourcemanager-kusto/SAMPLE.md b/sdk/kusto/azure-resourcemanager-kusto/SAMPLE.md
index fabab83c05055..f66944bbf90bf 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/SAMPLE.md
+++ b/sdk/kusto/azure-resourcemanager-kusto/SAMPLE.md
@@ -19,6 +19,7 @@
## Clusters
+- [AddCalloutPolicies](#clusters_addcalloutpolicies)
- [AddLanguageExtensions](#clusters_addlanguageextensions)
- [CheckNameAvailability](#clusters_checknameavailability)
- [CreateOrUpdate](#clusters_createorupdate)
@@ -28,12 +29,15 @@
- [GetByResourceGroup](#clusters_getbyresourcegroup)
- [List](#clusters_list)
- [ListByResourceGroup](#clusters_listbyresourcegroup)
+- [ListCalloutPolicies](#clusters_listcalloutpolicies)
- [ListFollowerDatabases](#clusters_listfollowerdatabases)
+- [ListFollowerDatabasesGet](#clusters_listfollowerdatabasesget)
- [ListLanguageExtensions](#clusters_listlanguageextensions)
- [ListOutboundNetworkDependenciesEndpoints](#clusters_listoutboundnetworkdependenciesendpoints)
- [ListSkus](#clusters_listskus)
- [ListSkusByResource](#clusters_listskusbyresource)
- [Migrate](#clusters_migrate)
+- [RemoveCalloutPolicy](#clusters_removecalloutpolicy)
- [RemoveLanguageExtensions](#clusters_removelanguageextensions)
- [Start](#clusters_start)
- [Stop](#clusters_stop)
@@ -137,7 +141,7 @@ import com.azure.resourcemanager.kusto.models.AttachedDatabaseConfigurationsChec
*/
public final class AttachedDatabaseConfigurationsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationCheckNameAvailability.json
*/
/**
@@ -167,7 +171,7 @@ import java.util.Arrays;
*/
public final class AttachedDatabaseConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsCreateOrUpdate.json
*/
/**
@@ -206,7 +210,7 @@ public final class AttachedDatabaseConfigurationsCreateOrUpdateSamples {
*/
public final class AttachedDatabaseConfigurationsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsDelete.json
*/
/**
@@ -230,7 +234,7 @@ public final class AttachedDatabaseConfigurationsDeleteSamples {
*/
public final class AttachedDatabaseConfigurationsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsGet.json
*/
/**
@@ -254,7 +258,7 @@ public final class AttachedDatabaseConfigurationsGetSamples {
*/
public final class AttachedDatabaseConfigurationsListByClusterSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsListByCluster.json
*/
/**
@@ -280,7 +284,7 @@ import com.azure.resourcemanager.kusto.models.ClusterPrincipalAssignmentCheckNam
*/
public final class ClusterPrincipalAssignmentsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsCheckNameAvailability.json
*/
/**
@@ -309,7 +313,7 @@ import com.azure.resourcemanager.kusto.models.PrincipalType;
*/
public final class ClusterPrincipalAssignmentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsCreateOrUpdate.json
*/
/**
@@ -339,7 +343,7 @@ public final class ClusterPrincipalAssignmentsCreateOrUpdateSamples {
*/
public final class ClusterPrincipalAssignmentsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsDelete.json
*/
/**
@@ -362,7 +366,7 @@ public final class ClusterPrincipalAssignmentsDeleteSamples {
*/
public final class ClusterPrincipalAssignmentsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsGet.json
*/
/**
@@ -385,7 +389,7 @@ public final class ClusterPrincipalAssignmentsGetSamples {
*/
public final class ClusterPrincipalAssignmentsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsList.json
*/
/**
@@ -399,6 +403,39 @@ public final class ClusterPrincipalAssignmentsListSamples {
}
```
+### Clusters_AddCalloutPolicies
+
+```java
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
+import com.azure.resourcemanager.kusto.models.CalloutPoliciesList;
+import com.azure.resourcemanager.kusto.models.CalloutType;
+import com.azure.resourcemanager.kusto.models.OutboundAccess;
+import java.util.Arrays;
+
+/**
+ * Samples for Clusters AddCalloutPolicies.
+ */
+public final class ClustersAddCalloutPoliciesSamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClusterAddCalloutPolicies.json
+ */
+ /**
+ * Sample code: KustoClusterAddCalloutPolicy.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterAddCalloutPolicy(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters()
+ .addCalloutPolicies("kustorptest", "kustoCluster",
+ new CalloutPoliciesList().withValue(Arrays.asList(new CalloutPolicyInner().withCalloutUriRegex("*")
+ .withCalloutType(CalloutType.KUSTO)
+ .withOutboundAccess(OutboundAccess.ALLOW))),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Clusters_AddLanguageExtensions
```java
@@ -412,7 +449,7 @@ import java.util.Arrays;
*/
public final class ClustersAddLanguageExtensionsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterAddLanguageExtensions.json
*/
/**
@@ -441,7 +478,7 @@ import com.azure.resourcemanager.kusto.models.ClusterCheckNameRequest;
*/
public final class ClustersCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersCheckNameAvailability.json
*/
/**
@@ -479,7 +516,7 @@ import java.util.Arrays;
public final class ClustersCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersCreateOrUpdate
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersCreateOrUpdate
* .json
*/
/**
@@ -521,7 +558,7 @@ public final class ClustersCreateOrUpdateSamples {
public final class ClustersDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersDelete.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersDelete.json
*/
/**
* Sample code: KustoClustersDelete.
@@ -544,7 +581,7 @@ import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionI
*/
public final class ClustersDetachFollowerDatabasesSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterDetachFollowerDatabases.json
*/
/**
@@ -571,7 +608,7 @@ public final class ClustersDetachFollowerDatabasesSamples {
*/
public final class ClustersDiagnoseVirtualNetworkSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersDiagnoseVirtualNetwork.json
*/
/**
@@ -594,7 +631,7 @@ public final class ClustersDiagnoseVirtualNetworkSamples {
public final class ClustersGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersGet.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersGet.json
*/
/**
* Sample code: KustoClustersGet.
@@ -617,7 +654,7 @@ public final class ClustersGetByResourceGroupSamples {
public final class ClustersListSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersList.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersList.json
*/
/**
* Sample code: KustoClustersList.
@@ -638,7 +675,7 @@ public final class ClustersListSamples {
*/
public final class ClustersListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersListByResourceGroup.json
*/
/**
@@ -652,6 +689,28 @@ public final class ClustersListByResourceGroupSamples {
}
```
+### Clusters_ListCalloutPolicies
+
+```java
+/**
+ * Samples for Clusters ListCalloutPolicies.
+ */
+public final class ClustersListCalloutPoliciesSamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClustersListCalloutPolicies.json
+ */
+ /**
+ * Sample code: KustoClusterListCalloutPolicies.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterListCalloutPolicies(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters().listCalloutPolicies("kustorptest", "kustoCluster", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Clusters_ListFollowerDatabases
```java
@@ -660,7 +719,7 @@ public final class ClustersListByResourceGroupSamples {
*/
public final class ClustersListFollowerDatabasesSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterListFollowerDatabases.json
*/
/**
@@ -674,6 +733,28 @@ public final class ClustersListFollowerDatabasesSamples {
}
```
+### Clusters_ListFollowerDatabasesGet
+
+```java
+/**
+ * Samples for Clusters ListFollowerDatabasesGet.
+ */
+public final class ClustersListFollowerDatabasesGetSamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClusterListFollowerDatabasesGet.json
+ */
+ /**
+ * Sample code: KustoClusterListFollowerDatabasesGet.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterListFollowerDatabasesGet(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters().listFollowerDatabasesGet("kustorptest", "kustoCluster", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Clusters_ListLanguageExtensions
```java
@@ -682,7 +763,7 @@ public final class ClustersListFollowerDatabasesSamples {
*/
public final class ClustersListLanguageExtensionsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterListLanguageExtensions.json
*/
/**
@@ -704,7 +785,7 @@ public final class ClustersListLanguageExtensionsSamples {
*/
public final class ClustersListOutboundNetworkDependenciesEndpointsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoOutboundNetworkDependenciesList.json
*/
/**
@@ -729,7 +810,7 @@ public final class ClustersListOutboundNetworkDependenciesEndpointsSamples {
public final class ClustersListSkusSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersListSkus.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersListSkus.json
*/
/**
* Sample code: KustoClustersListSkus.
@@ -750,7 +831,7 @@ public final class ClustersListSkusSamples {
*/
public final class ClustersListSkusByResourceSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersListResourceSkus.json
*/
/**
@@ -775,7 +856,7 @@ import com.azure.resourcemanager.kusto.models.ClusterMigrateRequest;
public final class ClustersMigrateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterMigrate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClusterMigrate.json
*/
/**
* Sample code: KustoClusterMigrate.
@@ -791,6 +872,32 @@ public final class ClustersMigrateSamples {
}
```
+### Clusters_RemoveCalloutPolicy
+
+```java
+import com.azure.resourcemanager.kusto.models.CalloutPolicyToRemove;
+
+/**
+ * Samples for Clusters RemoveCalloutPolicy.
+ */
+public final class ClustersRemoveCalloutPolicySamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClusterRemoveCalloutPolicy.json
+ */
+ /**
+ * Sample code: KustoClusterDropCalloutPolicy.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterDropCalloutPolicy(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters()
+ .removeCalloutPolicy("kustorptest", "kustoCluster", new CalloutPolicyToRemove().withCalloutId("*_kusto"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Clusters_RemoveLanguageExtensions
```java
@@ -804,7 +911,7 @@ import java.util.Arrays;
*/
public final class ClustersRemoveLanguageExtensionsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterRemoveLanguageExtensions.json
*/
/**
@@ -832,7 +939,7 @@ public final class ClustersRemoveLanguageExtensionsSamples {
public final class ClustersStartSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersStart.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersStart.json
*/
/**
* Sample code: KustoClustersStart.
@@ -854,7 +961,7 @@ public final class ClustersStartSamples {
public final class ClustersStopSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersStop.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersStop.json
*/
/**
* Sample code: KustoClustersStop.
@@ -878,7 +985,7 @@ import com.azure.resourcemanager.kusto.models.Cluster;
public final class ClustersUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersUpdate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersUpdate.json
*/
/**
* Sample code: KustoClustersUpdate.
@@ -904,7 +1011,7 @@ import com.azure.resourcemanager.kusto.models.DataConnectionCheckNameRequest;
*/
public final class DataConnectionsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCheckNameAvailability.json
*/
/**
@@ -936,7 +1043,7 @@ import java.time.OffsetDateTime;
*/
public final class DataConnectionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsEventGridCreateOrUpdate.json
*/
/**
@@ -958,7 +1065,7 @@ public final class DataConnectionsCreateOrUpdateSamples {
.withConsumerGroup("$Default")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventGridDataFormat.JSON)
+ .withDataFormat(EventGridDataFormat.MULTIJSON)
.withIgnoreFirstRecord(false)
.withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
.withManagedIdentityResourceId(
@@ -968,7 +1075,7 @@ public final class DataConnectionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCosmosDbCreateOrUpdate.json
*/
/**
@@ -994,7 +1101,7 @@ public final class DataConnectionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCreateOrUpdate.json
*/
/**
@@ -1033,7 +1140,7 @@ import com.azure.resourcemanager.kusto.models.EventHubDataFormat;
*/
public final class DataConnectionsDataConnectionValidationSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionValidationAsync.json
*/
/**
@@ -1050,7 +1157,7 @@ public final class DataConnectionsDataConnectionValidationSamples {
.withConsumerGroup("testConsumerGroup1")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventHubDataFormat.JSON)
+ .withDataFormat(EventHubDataFormat.MULTIJSON)
.withCompression(Compression.NONE)
.withManagedIdentityResourceId(
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1")),
@@ -1058,7 +1165,7 @@ public final class DataConnectionsDataConnectionValidationSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionEventGridValidationAsync.json
*/
/**
@@ -1079,7 +1186,7 @@ public final class DataConnectionsDataConnectionValidationSamples {
.withConsumerGroup("$Default")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventGridDataFormat.JSON)
+ .withDataFormat(EventGridDataFormat.MULTIJSON)
.withIgnoreFirstRecord(false)
.withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
.withManagedIdentityResourceId(
@@ -1099,7 +1206,7 @@ public final class DataConnectionsDataConnectionValidationSamples {
public final class DataConnectionsDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsDelete.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDataConnectionsDelete.
* json
*/
/**
@@ -1123,7 +1230,7 @@ public final class DataConnectionsDeleteSamples {
*/
public final class DataConnectionsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsEventGridGet.json
*/
/**
@@ -1138,7 +1245,7 @@ public final class DataConnectionsGetSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCosmosDbGet.json
*/
/**
@@ -1154,7 +1261,7 @@ public final class DataConnectionsGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsGet.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDataConnectionsGet.
* json
*/
/**
@@ -1178,7 +1285,7 @@ public final class DataConnectionsGetSamples {
*/
public final class DataConnectionsListByDatabaseSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsListByDatabase.json
*/
/**
@@ -1209,7 +1316,7 @@ import java.time.OffsetDateTime;
*/
public final class DataConnectionsUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCosmosDbUpdate.json
*/
/**
@@ -1235,7 +1342,7 @@ public final class DataConnectionsUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsUpdate.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDataConnectionsUpdate.
* json
*/
/**
@@ -1256,7 +1363,7 @@ public final class DataConnectionsUpdateSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsEventGridUpdate.json
*/
/**
@@ -1277,7 +1384,7 @@ public final class DataConnectionsUpdateSamples {
.withConsumerGroup("$Default")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventGridDataFormat.JSON)
+ .withDataFormat(EventGridDataFormat.MULTIJSON)
.withIgnoreFirstRecord(false)
.withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
.withManagedIdentityResourceId(
@@ -1300,7 +1407,7 @@ import java.util.Arrays;
public final class DatabaseOperationInviteFollowerSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseInviteFollower
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseInviteFollower
* .json
*/
/**
@@ -1336,7 +1443,7 @@ import com.azure.resourcemanager.kusto.models.DatabasePrincipalAssignmentCheckNa
*/
public final class DatabasePrincipalAssignmentsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsCheckNameAvailability.json
*/
/**
@@ -1364,7 +1471,7 @@ import com.azure.resourcemanager.kusto.models.PrincipalType;
*/
public final class DatabasePrincipalAssignmentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsCreateOrUpdate.json
*/
/**
@@ -1394,7 +1501,7 @@ public final class DatabasePrincipalAssignmentsCreateOrUpdateSamples {
*/
public final class DatabasePrincipalAssignmentsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsDelete.json
*/
/**
@@ -1418,7 +1525,7 @@ public final class DatabasePrincipalAssignmentsDeleteSamples {
*/
public final class DatabasePrincipalAssignmentsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsGet.json
*/
/**
@@ -1442,7 +1549,7 @@ public final class DatabasePrincipalAssignmentsGetSamples {
*/
public final class DatabasePrincipalAssignmentsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsList.json
*/
/**
@@ -1472,7 +1579,7 @@ import java.util.Arrays;
public final class DatabasesAddPrincipalsSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseAddPrincipals.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseAddPrincipals.
* json
*/
/**
@@ -1518,7 +1625,7 @@ import com.azure.resourcemanager.kusto.models.Type;
*/
public final class DatabasesCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasesCheckNameAvailability.json
*/
/**
@@ -1549,7 +1656,7 @@ import java.time.Duration;
public final class DatabasesCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseReadonlyUpdate
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseReadonlyUpdate
* .json
*/
/**
@@ -1565,7 +1672,7 @@ public final class DatabasesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasesCreateOrUpdate.json
*/
/**
@@ -1591,7 +1698,7 @@ public final class DatabasesCreateOrUpdateSamples {
public final class DatabasesDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesDelete.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesDelete.json
*/
/**
* Sample code: KustoDatabasesDelete.
@@ -1613,7 +1720,7 @@ public final class DatabasesDeleteSamples {
public final class DatabasesGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSuspendedDatabasesGet.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoSuspendedDatabasesGet.
* json
*/
/**
@@ -1628,7 +1735,7 @@ public final class DatabasesGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesGet.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesGet.json
*/
/**
* Sample code: KustoDatabasesGet.
@@ -1651,7 +1758,7 @@ public final class DatabasesGetSamples {
public final class DatabasesListByClusterSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesListByCluster
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesListByCluster
* .json
*/
/**
@@ -1674,7 +1781,7 @@ public final class DatabasesListByClusterSamples {
public final class DatabasesListPrincipalsSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseListPrincipals
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseListPrincipals
* .json
*/
/**
@@ -1703,7 +1810,7 @@ import java.util.Arrays;
*/
public final class DatabasesRemovePrincipalsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabaseRemovePrincipals.json
*/
/**
@@ -1750,7 +1857,7 @@ import java.time.Duration;
public final class DatabasesUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesUpdate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesUpdate.json
*/
/**
* Sample code: KustoDatabasesUpdate.
@@ -1776,7 +1883,7 @@ import com.azure.resourcemanager.kusto.models.ManagedPrivateEndpointsCheckNameRe
*/
public final class ManagedPrivateEndpointsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsCheckNameAvailability.json
*/
/**
@@ -1801,7 +1908,7 @@ public final class ManagedPrivateEndpointsCheckNameAvailabilitySamples {
*/
public final class ManagedPrivateEndpointsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsCreateOrUpdate.json
*/
/**
@@ -1831,7 +1938,7 @@ public final class ManagedPrivateEndpointsCreateOrUpdateSamples {
*/
public final class ManagedPrivateEndpointsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsDelete.json
*/
/**
@@ -1854,7 +1961,7 @@ public final class ManagedPrivateEndpointsDeleteSamples {
*/
public final class ManagedPrivateEndpointsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsGet.json
*/
/**
@@ -1878,7 +1985,7 @@ public final class ManagedPrivateEndpointsGetSamples {
*/
public final class ManagedPrivateEndpointsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsList.json
*/
/**
@@ -1902,7 +2009,7 @@ import com.azure.resourcemanager.kusto.models.ManagedPrivateEndpoint;
*/
public final class ManagedPrivateEndpointsUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsUpdate.json
*/
/**
@@ -1934,7 +2041,7 @@ public final class ManagedPrivateEndpointsUpdateSamples {
public final class OperationsListSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoOperationsList.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoOperationsList.json
*/
/**
* Sample code: KustoOperationsList.
@@ -1956,7 +2063,7 @@ public final class OperationsListSamples {
public final class OperationsResultsGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoOperationResultsGet.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoOperationResultsGet.
* json
*/
/**
@@ -1979,7 +2086,7 @@ public final class OperationsResultsGetSamples {
*/
public final class OperationsResultsLocationGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoOperationResultsOperationResultResponseTypeGet.json
*/
/**
@@ -2004,7 +2111,7 @@ import com.azure.resourcemanager.kusto.models.PrivateLinkServiceConnectionStateP
*/
public final class PrivateEndpointConnectionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsCreateOrUpdate.json
*/
/**
@@ -2033,7 +2140,7 @@ public final class PrivateEndpointConnectionsCreateOrUpdateSamples {
*/
public final class PrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsDelete.json
*/
/**
@@ -2057,7 +2164,7 @@ public final class PrivateEndpointConnectionsDeleteSamples {
*/
public final class PrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsGet.json
*/
/**
@@ -2080,7 +2187,7 @@ public final class PrivateEndpointConnectionsGetSamples {
*/
public final class PrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsList.json
*/
/**
@@ -2102,7 +2209,7 @@ public final class PrivateEndpointConnectionsListSamples {
*/
public final class PrivateLinkResourcesGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateLinkResourcesGet.json
*/
/**
@@ -2125,7 +2232,7 @@ public final class PrivateLinkResourcesGetSamples {
*/
public final class PrivateLinkResourcesListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateLinkResourcesList.json
*/
/**
@@ -2149,7 +2256,7 @@ import com.azure.resourcemanager.kusto.models.SandboxCustomImagesCheckNameReques
*/
public final class SandboxCustomImagesCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImagesCheckNameAvailability.json
*/
/**
@@ -2177,7 +2284,7 @@ import com.azure.resourcemanager.kusto.models.Language;
*/
public final class SandboxCustomImagesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImagesCreateOrUpdate.json
*/
/**
@@ -2194,6 +2301,46 @@ public final class SandboxCustomImagesCreateOrUpdateSamples {
.withRequirementsFileContent("Requests")
.create();
}
+
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage.json
+ */
+ /**
+ * Sample code: KustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage(
+ com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.sandboxCustomImages()
+ .define("customImage2")
+ .withExistingCluster("kustorptest", "kustoCluster")
+ .withLanguage(Language.PYTHON)
+ .withBaseImageName("customImage1")
+ .withRequirementsFileContent("Requests")
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage.json
+ */
+ /**
+ * Sample code: KustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage(
+ com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.sandboxCustomImages()
+ .define("customImage2")
+ .withExistingCluster("kustorptest", "kustoCluster")
+ .withLanguage(Language.PYTHON)
+ .withBaseImageName("Python3_10_8")
+ .withRequirementsFileContent("Requests")
+ .create();
+ }
}
```
@@ -2205,7 +2352,7 @@ public final class SandboxCustomImagesCreateOrUpdateSamples {
*/
public final class SandboxCustomImagesDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImageDelete.json
*/
/**
@@ -2229,7 +2376,7 @@ public final class SandboxCustomImagesDeleteSamples {
public final class SandboxCustomImagesGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesGet
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoSandboxCustomImagesGet
* .json
*/
/**
@@ -2252,7 +2399,7 @@ public final class SandboxCustomImagesGetSamples {
*/
public final class SandboxCustomImagesListByClusterSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImagesList.json
*/
/**
@@ -2277,7 +2424,7 @@ import com.azure.resourcemanager.kusto.models.SandboxCustomImage;
*/
public final class SandboxCustomImagesUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImageUpdate.json
*/
/**
@@ -2308,7 +2455,7 @@ import com.azure.resourcemanager.kusto.models.ScriptCheckNameRequest;
*/
public final class ScriptsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoScriptsCheckNameAvailability.json
*/
/**
@@ -2327,13 +2474,16 @@ public final class ScriptsCheckNameAvailabilitySamples {
### Scripts_CreateOrUpdate
```java
+import com.azure.resourcemanager.kusto.models.PrincipalPermissionsAction;
+import com.azure.resourcemanager.kusto.models.ScriptLevel;
+
/**
* Samples for Scripts CreateOrUpdate.
*/
public final class ScriptsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsCreateOrUpdate.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsCreateOrUpdate.
* json
*/
/**
@@ -2350,6 +2500,8 @@ public final class ScriptsCreateOrUpdateSamples {
"?sv=2019-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=********************************")
.withForceUpdateTag("2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe")
.withContinueOnErrors(true)
+ .withScriptLevel(ScriptLevel.DATABASE)
+ .withPrincipalPermissionsAction(PrincipalPermissionsAction.REMOVE_PERMISSION_ON_SCRIPT_COMPLETION)
.create();
}
}
@@ -2364,7 +2516,7 @@ public final class ScriptsCreateOrUpdateSamples {
public final class ScriptsDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsDelete.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsDelete.json
*/
/**
* Sample code: KustoScriptsDelete.
@@ -2387,7 +2539,7 @@ public final class ScriptsDeleteSamples {
public final class ScriptsGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsGet.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsGet.json
*/
/**
* Sample code: KustoScriptsGet.
@@ -2411,7 +2563,7 @@ public final class ScriptsGetSamples {
public final class ScriptsListByDatabaseSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsListByDatabase.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsListByDatabase.
* json
*/
/**
@@ -2429,7 +2581,9 @@ public final class ScriptsListByDatabaseSamples {
### Scripts_Update
```java
+import com.azure.resourcemanager.kusto.models.PrincipalPermissionsAction;
import com.azure.resourcemanager.kusto.models.Script;
+import com.azure.resourcemanager.kusto.models.ScriptLevel;
/**
* Samples for Scripts Update.
@@ -2437,7 +2591,7 @@ import com.azure.resourcemanager.kusto.models.Script;
public final class ScriptsUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsUpdate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsUpdate.json
*/
/**
* Sample code: KustoScriptsUpdate.
@@ -2453,6 +2607,8 @@ public final class ScriptsUpdateSamples {
.withScriptUrl("https://mysa.blob.core.windows.net/container/script.txt")
.withForceUpdateTag("2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe")
.withContinueOnErrors(true)
+ .withScriptLevel(ScriptLevel.DATABASE)
+ .withPrincipalPermissionsAction(PrincipalPermissionsAction.REMOVE_PERMISSION_ON_SCRIPT_COMPLETION)
.apply();
}
}
@@ -2467,7 +2623,7 @@ public final class ScriptsUpdateSamples {
public final class SkusListSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSkus.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoSkus.json
*/
/**
* Sample code: KustoListRegionSkus.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/pom.xml b/sdk/kusto/azure-resourcemanager-kusto/pom.xml
index 1ee89226fd4f4..c555bb9bd6e4b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/pom.xml
+++ b/sdk/kusto/azure-resourcemanager-kusto/pom.xml
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-kusto
- 1.2.0-beta.1
+ 1.2.0
jar
Microsoft Azure SDK for Kusto Management
- This package contains Microsoft Azure SDK for Kusto Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2023-08.
+ This package contains Microsoft Azure SDK for Kusto Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2024-04.
https://github.com/Azure/azure-sdk-for-java
@@ -46,7 +46,6 @@
0
0
false
- true
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/KustoManager.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/KustoManager.java
index c623df6878a6b..ac3207cfe36f6 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/KustoManager.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/KustoManager.java
@@ -266,7 +266,7 @@ public KustoManager authenticate(TokenCredential credential, AzureProfile profil
.append("-")
.append("com.azure.resourcemanager.kusto")
.append("/")
- .append("1.1.0");
+ .append("1.2.0");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/ClustersClient.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/ClustersClient.java
index 30e47fb80f2a6..626210ee9d143 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/ClustersClient.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/ClustersClient.java
@@ -12,13 +12,17 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.kusto.fluent.models.AzureResourceSkuInner;
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
import com.azure.resourcemanager.kusto.fluent.models.CheckNameResultInner;
import com.azure.resourcemanager.kusto.fluent.models.ClusterInner;
import com.azure.resourcemanager.kusto.fluent.models.DiagnoseVirtualNetworkResultInner;
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionInner;
import com.azure.resourcemanager.kusto.fluent.models.LanguageExtensionInner;
import com.azure.resourcemanager.kusto.fluent.models.OutboundNetworkDependenciesEndpointInner;
import com.azure.resourcemanager.kusto.fluent.models.SkuDescriptionInner;
+import com.azure.resourcemanager.kusto.models.CalloutPoliciesList;
+import com.azure.resourcemanager.kusto.models.CalloutPolicyToRemove;
import com.azure.resourcemanager.kusto.models.ClusterCheckNameRequest;
import com.azure.resourcemanager.kusto.models.ClusterMigrateRequest;
import com.azure.resourcemanager.kusto.models.ClusterUpdate;
@@ -405,6 +409,35 @@ SyncPoller, Void> beginMigrate(String resourceGroupName, String
void migrate(String resourceGroupName, String clusterName, ClusterMigrateRequest clusterMigrateRequest,
Context context);
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listFollowerDatabasesGet(String resourceGroupName,
+ String clusterName);
+
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listFollowerDatabasesGet(String resourceGroupName,
+ String clusterName, Context context);
+
/**
* Returns a list of databases that are owned by this cluster and were followed by another cluster.
*
@@ -706,6 +739,152 @@ PagedIterable listSkusByResource(String resourceGroupName
PagedIterable
listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String clusterName, Context context);
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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> beginAddCalloutPolicies(String resourceGroupName, String clusterName,
+ CalloutPoliciesList calloutPolicies);
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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> beginAddCalloutPolicies(String resourceGroupName, String clusterName,
+ CalloutPoliciesList calloutPolicies, Context context);
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies);
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies,
+ Context context);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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> beginRemoveCalloutPolicy(String resourceGroupName, String clusterName,
+ CalloutPolicyToRemove calloutPolicy);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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> beginRemoveCalloutPolicy(String resourceGroupName, String clusterName,
+ CalloutPolicyToRemove calloutPolicy, Context context);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy,
+ Context context);
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName);
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName,
+ Context context);
+
/**
* Returns a list of language extensions that can run within KQL queries.
*
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/CalloutPolicyInner.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/CalloutPolicyInner.java
new file mode 100644
index 0000000000000..27a506bffcc67
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/CalloutPolicyInner.java
@@ -0,0 +1,170 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.fluent.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 com.azure.resourcemanager.kusto.models.CalloutType;
+import com.azure.resourcemanager.kusto.models.OutboundAccess;
+import java.io.IOException;
+
+/**
+ * Configuration for external callout policies, including URI patterns, access types, and service types.
+ */
+@Fluent
+public final class CalloutPolicyInner implements JsonSerializable {
+ /*
+ * Regular expression or FQDN pattern for the callout URI.
+ */
+ private String calloutUriRegex;
+
+ /*
+ * Type of the callout service, specifying the kind of external resource or service being accessed.
+ */
+ private CalloutType calloutType;
+
+ /*
+ * Indicates whether outbound access is permitted for the specified URI pattern.
+ */
+ private OutboundAccess outboundAccess;
+
+ /*
+ * Unique identifier for the callout configuration.
+ */
+ private String calloutId;
+
+ /**
+ * Creates an instance of CalloutPolicyInner class.
+ */
+ public CalloutPolicyInner() {
+ }
+
+ /**
+ * Get the calloutUriRegex property: Regular expression or FQDN pattern for the callout URI.
+ *
+ * @return the calloutUriRegex value.
+ */
+ public String calloutUriRegex() {
+ return this.calloutUriRegex;
+ }
+
+ /**
+ * Set the calloutUriRegex property: Regular expression or FQDN pattern for the callout URI.
+ *
+ * @param calloutUriRegex the calloutUriRegex value to set.
+ * @return the CalloutPolicyInner object itself.
+ */
+ public CalloutPolicyInner withCalloutUriRegex(String calloutUriRegex) {
+ this.calloutUriRegex = calloutUriRegex;
+ return this;
+ }
+
+ /**
+ * Get the calloutType property: Type of the callout service, specifying the kind of external resource or service
+ * being accessed.
+ *
+ * @return the calloutType value.
+ */
+ public CalloutType calloutType() {
+ return this.calloutType;
+ }
+
+ /**
+ * Set the calloutType property: Type of the callout service, specifying the kind of external resource or service
+ * being accessed.
+ *
+ * @param calloutType the calloutType value to set.
+ * @return the CalloutPolicyInner object itself.
+ */
+ public CalloutPolicyInner withCalloutType(CalloutType calloutType) {
+ this.calloutType = calloutType;
+ return this;
+ }
+
+ /**
+ * Get the outboundAccess property: Indicates whether outbound access is permitted for the specified URI pattern.
+ *
+ * @return the outboundAccess value.
+ */
+ public OutboundAccess outboundAccess() {
+ return this.outboundAccess;
+ }
+
+ /**
+ * Set the outboundAccess property: Indicates whether outbound access is permitted for the specified URI pattern.
+ *
+ * @param outboundAccess the outboundAccess value to set.
+ * @return the CalloutPolicyInner object itself.
+ */
+ public CalloutPolicyInner withOutboundAccess(OutboundAccess outboundAccess) {
+ this.outboundAccess = outboundAccess;
+ return this;
+ }
+
+ /**
+ * Get the calloutId property: Unique identifier for the callout configuration.
+ *
+ * @return the calloutId value.
+ */
+ public String calloutId() {
+ return this.calloutId;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("calloutUriRegex", this.calloutUriRegex);
+ jsonWriter.writeStringField("calloutType", this.calloutType == null ? null : this.calloutType.toString());
+ jsonWriter.writeStringField("outboundAccess",
+ this.outboundAccess == null ? null : this.outboundAccess.toString());
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of CalloutPolicyInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of CalloutPolicyInner 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 CalloutPolicyInner.
+ */
+ public static CalloutPolicyInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ CalloutPolicyInner deserializedCalloutPolicyInner = new CalloutPolicyInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("calloutUriRegex".equals(fieldName)) {
+ deserializedCalloutPolicyInner.calloutUriRegex = reader.getString();
+ } else if ("calloutType".equals(fieldName)) {
+ deserializedCalloutPolicyInner.calloutType = CalloutType.fromString(reader.getString());
+ } else if ("outboundAccess".equals(fieldName)) {
+ deserializedCalloutPolicyInner.outboundAccess = OutboundAccess.fromString(reader.getString());
+ } else if ("calloutId".equals(fieldName)) {
+ deserializedCalloutPolicyInner.calloutId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedCalloutPolicyInner;
+ });
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterInner.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterInner.java
index b8207d2b3afc8..29f38ca80ce68 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterInner.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterInner.java
@@ -26,6 +26,7 @@
import com.azure.resourcemanager.kusto.models.State;
import com.azure.resourcemanager.kusto.models.TrustedExternalTenant;
import com.azure.resourcemanager.kusto.models.VirtualNetworkConfiguration;
+import com.azure.resourcemanager.kusto.models.ZoneStatus;
import java.io.IOException;
import java.util.List;
import java.util.Map;
@@ -640,6 +641,29 @@ public ClusterInner withAllowedFqdnList(List allowedFqdnList) {
return this;
}
+ /**
+ * Get the calloutPolicies property: List of callout policies for egress from Cluster.
+ *
+ * @return the calloutPolicies value.
+ */
+ public List calloutPolicies() {
+ return this.innerProperties() == null ? null : this.innerProperties().calloutPolicies();
+ }
+
+ /**
+ * Set the calloutPolicies property: List of callout policies for egress from Cluster.
+ *
+ * @param calloutPolicies the calloutPolicies value to set.
+ * @return the ClusterInner object itself.
+ */
+ public ClusterInner withCalloutPolicies(List calloutPolicies) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ClusterProperties();
+ }
+ this.innerProperties().withCalloutPolicies(calloutPolicies);
+ return this;
+ }
+
/**
* Get the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4
* and IPv6).
@@ -706,6 +730,15 @@ public MigrationClusterProperties migrationCluster() {
return this.innerProperties() == null ? null : this.innerProperties().migrationCluster();
}
+ /**
+ * Get the zoneStatus property: Indicates whether the cluster is zonal or non-zonal.
+ *
+ * @return the zoneStatus value.
+ */
+ public ZoneStatus zoneStatus() {
+ return this.innerProperties() == null ? null : this.innerProperties().zoneStatus();
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterProperties.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterProperties.java
index c9f62706ceda3..3bafba565b30c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterProperties.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/ClusterProperties.java
@@ -22,6 +22,7 @@
import com.azure.resourcemanager.kusto.models.State;
import com.azure.resourcemanager.kusto.models.TrustedExternalTenant;
import com.azure.resourcemanager.kusto.models.VirtualNetworkConfiguration;
+import com.azure.resourcemanager.kusto.models.ZoneStatus;
import java.io.IOException;
import java.util.List;
@@ -138,6 +139,11 @@ public final class ClusterProperties implements JsonSerializable allowedFqdnList;
+ /*
+ * List of callout policies for egress from Cluster.
+ */
+ private List calloutPolicies;
+
/*
* Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6)
*/
@@ -158,6 +164,11 @@ public final class ClusterProperties implements JsonSerializable allowedFqdnList) {
return this;
}
+ /**
+ * Get the calloutPolicies property: List of callout policies for egress from Cluster.
+ *
+ * @return the calloutPolicies value.
+ */
+ public List calloutPolicies() {
+ return this.calloutPolicies;
+ }
+
+ /**
+ * Set the calloutPolicies property: List of callout policies for egress from Cluster.
+ *
+ * @param calloutPolicies the calloutPolicies value to set.
+ * @return the ClusterProperties object itself.
+ */
+ public ClusterProperties withCalloutPolicies(List calloutPolicies) {
+ this.calloutPolicies = calloutPolicies;
+ return this;
+ }
+
/**
* Get the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4
* and IPv6).
@@ -595,6 +626,15 @@ public MigrationClusterProperties migrationCluster() {
return this.migrationCluster;
}
+ /**
+ * Get the zoneStatus property: Indicates whether the cluster is zonal or non-zonal.
+ *
+ * @return the zoneStatus value.
+ */
+ public ZoneStatus zoneStatus() {
+ return this.zoneStatus;
+ }
+
/**
* Validates the instance.
*
@@ -619,6 +659,9 @@ public void validate() {
if (acceptedAudiences() != null) {
acceptedAudiences().forEach(e -> e.validate());
}
+ if (calloutPolicies() != null) {
+ calloutPolicies().forEach(e -> e.validate());
+ }
if (privateEndpointConnections() != null) {
privateEndpointConnections().forEach(e -> e.validate());
}
@@ -655,6 +698,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
this.restrictOutboundNetworkAccess == null ? null : this.restrictOutboundNetworkAccess.toString());
jsonWriter.writeArrayField("allowedFqdnList", this.allowedFqdnList,
(writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("calloutPolicies", this.calloutPolicies,
+ (writer, element) -> writer.writeJson(element));
jsonWriter.writeStringField("publicIPType", this.publicIpType == null ? null : this.publicIpType.toString());
jsonWriter.writeStringField("virtualClusterGraduationProperties", this.virtualClusterGraduationProperties);
return jsonWriter.writeEndObject();
@@ -726,6 +771,10 @@ public static ClusterProperties fromJson(JsonReader jsonReader) throws IOExcepti
} else if ("allowedFqdnList".equals(fieldName)) {
List allowedFqdnList = reader.readArray(reader1 -> reader1.getString());
deserializedClusterProperties.allowedFqdnList = allowedFqdnList;
+ } else if ("calloutPolicies".equals(fieldName)) {
+ List calloutPolicies
+ = reader.readArray(reader1 -> CalloutPolicyInner.fromJson(reader1));
+ deserializedClusterProperties.calloutPolicies = calloutPolicies;
} else if ("publicIPType".equals(fieldName)) {
deserializedClusterProperties.publicIpType = PublicIpType.fromString(reader.getString());
} else if ("virtualClusterGraduationProperties".equals(fieldName)) {
@@ -736,6 +785,8 @@ public static ClusterProperties fromJson(JsonReader jsonReader) throws IOExcepti
deserializedClusterProperties.privateEndpointConnections = privateEndpointConnections;
} else if ("migrationCluster".equals(fieldName)) {
deserializedClusterProperties.migrationCluster = MigrationClusterProperties.fromJson(reader);
+ } else if ("zoneStatus".equals(fieldName)) {
+ deserializedClusterProperties.zoneStatus = ZoneStatus.fromString(reader.getString());
} else {
reader.skipChildren();
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseDefinitionGetInner.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseDefinitionGetInner.java
new file mode 100644
index 0000000000000..fd02d74539897
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseDefinitionGetInner.java
@@ -0,0 +1,166 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.fluent.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 com.azure.resourcemanager.kusto.models.DatabaseShareOrigin;
+import com.azure.resourcemanager.kusto.models.TableLevelSharingProperties;
+import java.io.IOException;
+
+/**
+ * A class representing follower database object.
+ */
+@Fluent
+public final class FollowerDatabaseDefinitionGetInner implements JsonSerializable {
+ /*
+ * Follower database definition.
+ */
+ private FollowerDatabaseProperties innerProperties;
+
+ /**
+ * Creates an instance of FollowerDatabaseDefinitionGetInner class.
+ */
+ public FollowerDatabaseDefinitionGetInner() {
+ }
+
+ /**
+ * Get the innerProperties property: Follower database definition.
+ *
+ * @return the innerProperties value.
+ */
+ private FollowerDatabaseProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.
+ *
+ * @return the clusterResourceId value.
+ */
+ public String clusterResourceId() {
+ return this.innerProperties() == null ? null : this.innerProperties().clusterResourceId();
+ }
+
+ /**
+ * Set the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.
+ *
+ * @param clusterResourceId the clusterResourceId value to set.
+ * @return the FollowerDatabaseDefinitionGetInner object itself.
+ */
+ public FollowerDatabaseDefinitionGetInner withClusterResourceId(String clusterResourceId) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new FollowerDatabaseProperties();
+ }
+ this.innerProperties().withClusterResourceId(clusterResourceId);
+ return this;
+ }
+
+ /**
+ * Get the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the
+ * follower cluster.
+ *
+ * @return the attachedDatabaseConfigurationName value.
+ */
+ public String attachedDatabaseConfigurationName() {
+ return this.innerProperties() == null ? null : this.innerProperties().attachedDatabaseConfigurationName();
+ }
+
+ /**
+ * Set the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the
+ * follower cluster.
+ *
+ * @param attachedDatabaseConfigurationName the attachedDatabaseConfigurationName value to set.
+ * @return the FollowerDatabaseDefinitionGetInner object itself.
+ */
+ public FollowerDatabaseDefinitionGetInner
+ withAttachedDatabaseConfigurationName(String attachedDatabaseConfigurationName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new FollowerDatabaseProperties();
+ }
+ this.innerProperties().withAttachedDatabaseConfigurationName(attachedDatabaseConfigurationName);
+ return this;
+ }
+
+ /**
+ * Get the databaseName property: The database name owned by this cluster that was followed. * in case following all
+ * databases.
+ *
+ * @return the databaseName value.
+ */
+ public String databaseName() {
+ return this.innerProperties() == null ? null : this.innerProperties().databaseName();
+ }
+
+ /**
+ * Get the tableLevelSharingProperties property: Table level sharing specifications.
+ *
+ * @return the tableLevelSharingProperties value.
+ */
+ public TableLevelSharingProperties tableLevelSharingProperties() {
+ return this.innerProperties() == null ? null : this.innerProperties().tableLevelSharingProperties();
+ }
+
+ /**
+ * Get the databaseShareOrigin property: The origin of the following setup.
+ *
+ * @return the databaseShareOrigin value.
+ */
+ public DatabaseShareOrigin databaseShareOrigin() {
+ return this.innerProperties() == null ? null : this.innerProperties().databaseShareOrigin();
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.innerProperties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FollowerDatabaseDefinitionGetInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FollowerDatabaseDefinitionGetInner 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 FollowerDatabaseDefinitionGetInner.
+ */
+ public static FollowerDatabaseDefinitionGetInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FollowerDatabaseDefinitionGetInner deserializedFollowerDatabaseDefinitionGetInner
+ = new FollowerDatabaseDefinitionGetInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("properties".equals(fieldName)) {
+ deserializedFollowerDatabaseDefinitionGetInner.innerProperties
+ = FollowerDatabaseProperties.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFollowerDatabaseDefinitionGetInner;
+ });
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseProperties.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseProperties.java
new file mode 100644
index 0000000000000..1aa322b7c8315
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/FollowerDatabaseProperties.java
@@ -0,0 +1,193 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.kusto.models.DatabaseShareOrigin;
+import com.azure.resourcemanager.kusto.models.TableLevelSharingProperties;
+import java.io.IOException;
+
+/**
+ * A class representing the properties of a follower database object.
+ */
+@Fluent
+public final class FollowerDatabaseProperties implements JsonSerializable {
+ /*
+ * Resource id of the cluster that follows a database owned by this cluster.
+ */
+ private String clusterResourceId;
+
+ /*
+ * Resource name of the attached database configuration in the follower cluster.
+ */
+ private String attachedDatabaseConfigurationName;
+
+ /*
+ * The database name owned by this cluster that was followed. * in case following all databases.
+ */
+ private String databaseName;
+
+ /*
+ * Table level sharing specifications
+ */
+ private TableLevelSharingProperties tableLevelSharingProperties;
+
+ /*
+ * The origin of the following setup.
+ */
+ private DatabaseShareOrigin databaseShareOrigin;
+
+ /**
+ * Creates an instance of FollowerDatabaseProperties class.
+ */
+ public FollowerDatabaseProperties() {
+ }
+
+ /**
+ * Get the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.
+ *
+ * @return the clusterResourceId value.
+ */
+ public String clusterResourceId() {
+ return this.clusterResourceId;
+ }
+
+ /**
+ * Set the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.
+ *
+ * @param clusterResourceId the clusterResourceId value to set.
+ * @return the FollowerDatabaseProperties object itself.
+ */
+ public FollowerDatabaseProperties withClusterResourceId(String clusterResourceId) {
+ this.clusterResourceId = clusterResourceId;
+ return this;
+ }
+
+ /**
+ * Get the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the
+ * follower cluster.
+ *
+ * @return the attachedDatabaseConfigurationName value.
+ */
+ public String attachedDatabaseConfigurationName() {
+ return this.attachedDatabaseConfigurationName;
+ }
+
+ /**
+ * Set the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the
+ * follower cluster.
+ *
+ * @param attachedDatabaseConfigurationName the attachedDatabaseConfigurationName value to set.
+ * @return the FollowerDatabaseProperties object itself.
+ */
+ public FollowerDatabaseProperties withAttachedDatabaseConfigurationName(String attachedDatabaseConfigurationName) {
+ this.attachedDatabaseConfigurationName = attachedDatabaseConfigurationName;
+ return this;
+ }
+
+ /**
+ * Get the databaseName property: The database name owned by this cluster that was followed. * in case following all
+ * databases.
+ *
+ * @return the databaseName value.
+ */
+ public String databaseName() {
+ return this.databaseName;
+ }
+
+ /**
+ * Get the tableLevelSharingProperties property: Table level sharing specifications.
+ *
+ * @return the tableLevelSharingProperties value.
+ */
+ public TableLevelSharingProperties tableLevelSharingProperties() {
+ return this.tableLevelSharingProperties;
+ }
+
+ /**
+ * Get the databaseShareOrigin property: The origin of the following setup.
+ *
+ * @return the databaseShareOrigin value.
+ */
+ public DatabaseShareOrigin databaseShareOrigin() {
+ return this.databaseShareOrigin;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (clusterResourceId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property clusterResourceId in model FollowerDatabaseProperties"));
+ }
+ if (attachedDatabaseConfigurationName() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property attachedDatabaseConfigurationName in model FollowerDatabaseProperties"));
+ }
+ if (tableLevelSharingProperties() != null) {
+ tableLevelSharingProperties().validate();
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(FollowerDatabaseProperties.class);
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("clusterResourceId", this.clusterResourceId);
+ jsonWriter.writeStringField("attachedDatabaseConfigurationName", this.attachedDatabaseConfigurationName);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FollowerDatabaseProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FollowerDatabaseProperties 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 FollowerDatabaseProperties.
+ */
+ public static FollowerDatabaseProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FollowerDatabaseProperties deserializedFollowerDatabaseProperties = new FollowerDatabaseProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("clusterResourceId".equals(fieldName)) {
+ deserializedFollowerDatabaseProperties.clusterResourceId = reader.getString();
+ } else if ("attachedDatabaseConfigurationName".equals(fieldName)) {
+ deserializedFollowerDatabaseProperties.attachedDatabaseConfigurationName = reader.getString();
+ } else if ("databaseName".equals(fieldName)) {
+ deserializedFollowerDatabaseProperties.databaseName = reader.getString();
+ } else if ("tableLevelSharingProperties".equals(fieldName)) {
+ deserializedFollowerDatabaseProperties.tableLevelSharingProperties
+ = TableLevelSharingProperties.fromJson(reader);
+ } else if ("databaseShareOrigin".equals(fieldName)) {
+ deserializedFollowerDatabaseProperties.databaseShareOrigin
+ = DatabaseShareOrigin.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFollowerDatabaseProperties;
+ });
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageInner.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageInner.java
index 00d758ba43304..8b80a23f8ada4 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageInner.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageInner.java
@@ -107,7 +107,8 @@ public SandboxCustomImageInner withLanguage(Language language) {
}
/**
- * Get the languageVersion property: The version of the language.
+ * Get the languageVersion property: The version of the language. Either this property or baseImageName should be
+ * specified.
*
* @return the languageVersion value.
*/
@@ -116,7 +117,8 @@ public String languageVersion() {
}
/**
- * Set the languageVersion property: The version of the language.
+ * Set the languageVersion property: The version of the language. Either this property or baseImageName should be
+ * specified.
*
* @param languageVersion the languageVersion value to set.
* @return the SandboxCustomImageInner object itself.
@@ -129,6 +131,33 @@ public SandboxCustomImageInner withLanguageVersion(String languageVersion) {
return this;
}
+ /**
+ * Get the baseImageName property: The base image name on which the custom image is built on top of. It can be one
+ * of the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of an existing custom
+ * image. Either this property or languageVersion should be specified.
+ *
+ * @return the baseImageName value.
+ */
+ public String baseImageName() {
+ return this.innerProperties() == null ? null : this.innerProperties().baseImageName();
+ }
+
+ /**
+ * Set the baseImageName property: The base image name on which the custom image is built on top of. It can be one
+ * of the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of an existing custom
+ * image. Either this property or languageVersion should be specified.
+ *
+ * @param baseImageName the baseImageName value to set.
+ * @return the SandboxCustomImageInner object itself.
+ */
+ public SandboxCustomImageInner withBaseImageName(String baseImageName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SandboxCustomImageProperties();
+ }
+ this.innerProperties().withBaseImageName(baseImageName);
+ return this;
+ }
+
/**
* Get the requirementsFileContent property: The requirements file content.
*
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageProperties.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageProperties.java
index 1f1818436850b..8b17a676cf7f0 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageProperties.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/fluent/models/SandboxCustomImageProperties.java
@@ -25,10 +25,17 @@ public final class SandboxCustomImageProperties implements JsonSerializable allowedFqdnList() {
}
}
+ public List calloutPolicies() {
+ List inner = this.innerModel().calloutPolicies();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner.stream()
+ .map(inner1 -> new CalloutPolicyImpl(inner1, this.manager()))
+ .collect(Collectors.toList()));
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
public PublicIpType publicIpType() {
return this.innerModel().publicIpType();
}
@@ -220,6 +236,10 @@ public MigrationClusterProperties migrationCluster() {
return this.innerModel().migrationCluster();
}
+ public ZoneStatus zoneStatus() {
+ return this.innerModel().zoneStatus();
+ }
+
public Region region() {
return Region.fromName(this.regionName());
}
@@ -373,6 +393,30 @@ public DiagnoseVirtualNetworkResult diagnoseVirtualNetwork(Context context) {
return serviceManager.clusters().diagnoseVirtualNetwork(resourceGroupName, clusterName, context);
}
+ public void addCalloutPolicies(CalloutPoliciesList calloutPolicies) {
+ serviceManager.clusters().addCalloutPolicies(resourceGroupName, clusterName, calloutPolicies);
+ }
+
+ public void addCalloutPolicies(CalloutPoliciesList calloutPolicies, Context context) {
+ serviceManager.clusters().addCalloutPolicies(resourceGroupName, clusterName, calloutPolicies, context);
+ }
+
+ public void removeCalloutPolicy(CalloutPolicyToRemove calloutPolicy) {
+ serviceManager.clusters().removeCalloutPolicy(resourceGroupName, clusterName, calloutPolicy);
+ }
+
+ public void removeCalloutPolicy(CalloutPolicyToRemove calloutPolicy, Context context) {
+ serviceManager.clusters().removeCalloutPolicy(resourceGroupName, clusterName, calloutPolicy, context);
+ }
+
+ public PagedIterable listCalloutPolicies() {
+ return serviceManager.clusters().listCalloutPolicies(resourceGroupName, clusterName);
+ }
+
+ public PagedIterable listCalloutPolicies(Context context) {
+ return serviceManager.clusters().listCalloutPolicies(resourceGroupName, clusterName, context);
+ }
+
public PagedIterable listLanguageExtensions() {
return serviceManager.clusters().listLanguageExtensions(resourceGroupName, clusterName);
}
@@ -609,6 +653,16 @@ public ClusterImpl withAllowedFqdnList(List allowedFqdnList) {
}
}
+ public ClusterImpl withCalloutPolicies(List calloutPolicies) {
+ if (isInCreateMode()) {
+ this.innerModel().withCalloutPolicies(calloutPolicies);
+ return this;
+ } else {
+ this.updateParameters.withCalloutPolicies(calloutPolicies);
+ return this;
+ }
+ }
+
public ClusterImpl withPublicIpType(PublicIpType publicIpType) {
if (isInCreateMode()) {
this.innerModel().withPublicIpType(publicIpType);
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersClientImpl.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersClientImpl.java
index 757f9194bd9a9..eb27d1270d71a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersClientImpl.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersClientImpl.java
@@ -35,18 +35,23 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.kusto.fluent.ClustersClient;
import com.azure.resourcemanager.kusto.fluent.models.AzureResourceSkuInner;
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
import com.azure.resourcemanager.kusto.fluent.models.CheckNameResultInner;
import com.azure.resourcemanager.kusto.fluent.models.ClusterInner;
import com.azure.resourcemanager.kusto.fluent.models.DiagnoseVirtualNetworkResultInner;
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionInner;
import com.azure.resourcemanager.kusto.fluent.models.LanguageExtensionInner;
import com.azure.resourcemanager.kusto.fluent.models.OutboundNetworkDependenciesEndpointInner;
import com.azure.resourcemanager.kusto.fluent.models.SkuDescriptionInner;
+import com.azure.resourcemanager.kusto.models.CalloutPoliciesList;
+import com.azure.resourcemanager.kusto.models.CalloutPolicyToRemove;
import com.azure.resourcemanager.kusto.models.ClusterCheckNameRequest;
import com.azure.resourcemanager.kusto.models.ClusterListResult;
import com.azure.resourcemanager.kusto.models.ClusterMigrateRequest;
import com.azure.resourcemanager.kusto.models.ClusterUpdate;
import com.azure.resourcemanager.kusto.models.FollowerDatabaseListResult;
+import com.azure.resourcemanager.kusto.models.FollowerDatabaseListResultGet;
import com.azure.resourcemanager.kusto.models.LanguageExtensionsList;
import com.azure.resourcemanager.kusto.models.ListResourceSkusResult;
import com.azure.resourcemanager.kusto.models.OutboundNetworkDependenciesEndpointListResult;
@@ -153,6 +158,15 @@ Mono>> migrate(@HostParam("$host") String endpoint,
@BodyParam("application/json") ClusterMigrateRequest clusterMigrateRequest,
@HeaderParam("Accept") String accept, Context context);
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listFollowerDatabasesGet(@HostParam("$host") String endpoint,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion,
+ @HeaderParam("Accept") String accept, Context context);
+
@Headers({ "Content-Type: application/json" })
@Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases")
@ExpectedResponses({ 200 })
@@ -233,6 +247,37 @@ Mono> listOutboundNetwor
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
@QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context);
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/addCalloutPolicies")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> addCalloutPolicies(@HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @QueryParam("api-version") String apiVersion,
+ @BodyParam("application/json") CalloutPoliciesList calloutPolicies, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/removeCalloutPolicy")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> removeCalloutPolicy(@HostParam("$host") String endpoint,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @QueryParam("api-version") String apiVersion,
+ @BodyParam("application/json") CalloutPolicyToRemove calloutPolicy, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listCalloutPolicies")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listCalloutPolicies(@HostParam("$host") String endpoint,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Accept") String accept, Context context);
+
@Headers({ "Content-Type: application/json" })
@Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listLanguageExtensions")
@ExpectedResponses({ 200 })
@@ -1816,6 +1861,149 @@ public void migrate(String resourceGroupName, String clusterName, ClusterMigrate
migrateAsync(resourceGroupName, clusterName, clusterMigrateRequest, context).block();
}
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listFollowerDatabasesGetSinglePageAsync(String resourceGroupName, String clusterName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listFollowerDatabasesGet(this.client.getEndpoint(), resourceGroupName,
+ clusterName, this.client.getSubscriptionId(), this.client.getApiVersion(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listFollowerDatabasesGetSinglePageAsync(String resourceGroupName, String clusterName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listFollowerDatabasesGet(this.client.getEndpoint(), resourceGroupName, clusterName,
+ this.client.getSubscriptionId(), this.client.getApiVersion(), accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), null, null));
+ }
+
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listFollowerDatabasesGetAsync(String resourceGroupName,
+ String clusterName) {
+ return new PagedFlux<>(() -> listFollowerDatabasesGetSinglePageAsync(resourceGroupName, clusterName));
+ }
+
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listFollowerDatabasesGetAsync(String resourceGroupName,
+ String clusterName, Context context) {
+ return new PagedFlux<>(() -> listFollowerDatabasesGetSinglePageAsync(resourceGroupName, clusterName, context));
+ }
+
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listFollowerDatabasesGet(String resourceGroupName,
+ String clusterName) {
+ return new PagedIterable<>(listFollowerDatabasesGetAsync(resourceGroupName, clusterName));
+ }
+
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listFollowerDatabasesGet(String resourceGroupName,
+ String clusterName, Context context) {
+ return new PagedIterable<>(listFollowerDatabasesGetAsync(resourceGroupName, clusterName, context));
+ }
+
/**
* Returns a list of databases that are owned by this cluster and were followed by another cluster.
*
@@ -3166,6 +3354,609 @@ public PagedIterable listSkusByResource(String resourceGr
listOutboundNetworkDependenciesEndpointsAsync(resourceGroupName, clusterName, context));
}
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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>> addCalloutPoliciesWithResponseAsync(String resourceGroupName,
+ String clusterName, CalloutPoliciesList calloutPolicies) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (calloutPolicies == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter calloutPolicies is required and cannot be null."));
+ } else {
+ calloutPolicies.validate();
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.addCalloutPolicies(this.client.getEndpoint(), this.client.getSubscriptionId(),
+ resourceGroupName, clusterName, this.client.getApiVersion(), calloutPolicies, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> addCalloutPoliciesWithResponseAsync(String resourceGroupName,
+ String clusterName, CalloutPoliciesList calloutPolicies, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (calloutPolicies == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter calloutPolicies is required and cannot be null."));
+ } else {
+ calloutPolicies.validate();
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service.addCalloutPolicies(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName,
+ clusterName, this.client.getApiVersion(), calloutPolicies, accept, context);
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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> beginAddCalloutPoliciesAsync(String resourceGroupName,
+ String clusterName, CalloutPoliciesList calloutPolicies) {
+ Mono>> mono
+ = addCalloutPoliciesWithResponseAsync(resourceGroupName, clusterName, calloutPolicies);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginAddCalloutPoliciesAsync(String resourceGroupName,
+ String clusterName, CalloutPoliciesList calloutPolicies, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono
+ = addCalloutPoliciesWithResponseAsync(resourceGroupName, clusterName, calloutPolicies, context);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ context);
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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> beginAddCalloutPolicies(String resourceGroupName, String clusterName,
+ CalloutPoliciesList calloutPolicies) {
+ return this.beginAddCalloutPoliciesAsync(resourceGroupName, clusterName, calloutPolicies).getSyncPoller();
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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> beginAddCalloutPolicies(String resourceGroupName, String clusterName,
+ CalloutPoliciesList calloutPolicies, Context context) {
+ return this.beginAddCalloutPoliciesAsync(resourceGroupName, clusterName, calloutPolicies, context)
+ .getSyncPoller();
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPoliciesAsync(String resourceGroupName, String clusterName,
+ CalloutPoliciesList calloutPolicies) {
+ return beginAddCalloutPoliciesAsync(resourceGroupName, clusterName, calloutPolicies).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono addCalloutPoliciesAsync(String resourceGroupName, String clusterName,
+ CalloutPoliciesList calloutPolicies, Context context) {
+ return beginAddCalloutPoliciesAsync(resourceGroupName, clusterName, calloutPolicies, context).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies) {
+ addCalloutPoliciesAsync(resourceGroupName, clusterName, calloutPolicies).block();
+ }
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies,
+ Context context) {
+ addCalloutPoliciesAsync(resourceGroupName, clusterName, calloutPolicies, context).block();
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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>> removeCalloutPolicyWithResponseAsync(String resourceGroupName,
+ String clusterName, CalloutPolicyToRemove calloutPolicy) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (calloutPolicy == null) {
+ return Mono.error(new IllegalArgumentException("Parameter calloutPolicy is required and cannot be null."));
+ } else {
+ calloutPolicy.validate();
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.removeCalloutPolicy(this.client.getEndpoint(), this.client.getSubscriptionId(),
+ resourceGroupName, clusterName, this.client.getApiVersion(), calloutPolicy, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> removeCalloutPolicyWithResponseAsync(String resourceGroupName,
+ String clusterName, CalloutPolicyToRemove calloutPolicy, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (calloutPolicy == null) {
+ return Mono.error(new IllegalArgumentException("Parameter calloutPolicy is required and cannot be null."));
+ } else {
+ calloutPolicy.validate();
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service.removeCalloutPolicy(this.client.getEndpoint(), this.client.getSubscriptionId(),
+ resourceGroupName, clusterName, this.client.getApiVersion(), calloutPolicy, accept, context);
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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> beginRemoveCalloutPolicyAsync(String resourceGroupName,
+ String clusterName, CalloutPolicyToRemove calloutPolicy) {
+ Mono>> mono
+ = removeCalloutPolicyWithResponseAsync(resourceGroupName, clusterName, calloutPolicy);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginRemoveCalloutPolicyAsync(String resourceGroupName,
+ String clusterName, CalloutPolicyToRemove calloutPolicy, Context context) {
+ context = this.client.mergeContext(context);
+ Mono>> mono
+ = removeCalloutPolicyWithResponseAsync(resourceGroupName, clusterName, calloutPolicy, context);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ context);
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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> beginRemoveCalloutPolicy(String resourceGroupName, String clusterName,
+ CalloutPolicyToRemove calloutPolicy) {
+ return this.beginRemoveCalloutPolicyAsync(resourceGroupName, clusterName, calloutPolicy).getSyncPoller();
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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> beginRemoveCalloutPolicy(String resourceGroupName, String clusterName,
+ CalloutPolicyToRemove calloutPolicy, Context context) {
+ return this.beginRemoveCalloutPolicyAsync(resourceGroupName, clusterName, calloutPolicy, context)
+ .getSyncPoller();
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicyAsync(String resourceGroupName, String clusterName,
+ CalloutPolicyToRemove calloutPolicy) {
+ return beginRemoveCalloutPolicyAsync(resourceGroupName, clusterName, calloutPolicy).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono removeCalloutPolicyAsync(String resourceGroupName, String clusterName,
+ CalloutPolicyToRemove calloutPolicy, Context context) {
+ return beginRemoveCalloutPolicyAsync(resourceGroupName, clusterName, calloutPolicy, context).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy) {
+ removeCalloutPolicyAsync(resourceGroupName, clusterName, calloutPolicy).block();
+ }
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy,
+ Context context) {
+ removeCalloutPolicyAsync(resourceGroupName, clusterName, calloutPolicy, context).block();
+ }
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list of the service's callout policy objects along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listCalloutPoliciesSinglePageAsync(String resourceGroupName,
+ String clusterName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listCalloutPolicies(this.client.getEndpoint(), resourceGroupName,
+ clusterName, this.client.getApiVersion(), this.client.getSubscriptionId(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 a list of the service's callout policy objects along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listCalloutPoliciesSinglePageAsync(String resourceGroupName,
+ String clusterName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (clusterName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter clusterName is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listCalloutPolicies(this.client.getEndpoint(), resourceGroupName, clusterName, this.client.getApiVersion(),
+ this.client.getSubscriptionId(), accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), null, null));
+ }
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list of the service's callout policy objects as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listCalloutPoliciesAsync(String resourceGroupName, String clusterName) {
+ return new PagedFlux<>(() -> listCalloutPoliciesSinglePageAsync(resourceGroupName, clusterName));
+ }
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listCalloutPoliciesAsync(String resourceGroupName, String clusterName,
+ Context context) {
+ return new PagedFlux<>(() -> listCalloutPoliciesSinglePageAsync(resourceGroupName, clusterName, context));
+ }
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName) {
+ return new PagedIterable<>(listCalloutPoliciesAsync(resourceGroupName, clusterName));
+ }
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName,
+ Context context) {
+ return new PagedIterable<>(listCalloutPoliciesAsync(resourceGroupName, clusterName, context));
+ }
+
/**
* Returns a list of language extensions that can run within KQL queries.
*
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersImpl.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersImpl.java
index 2b2a4bee6c02e..842a5c2646b91 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersImpl.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ClustersImpl.java
@@ -11,14 +11,19 @@
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.kusto.fluent.ClustersClient;
import com.azure.resourcemanager.kusto.fluent.models.AzureResourceSkuInner;
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
import com.azure.resourcemanager.kusto.fluent.models.CheckNameResultInner;
import com.azure.resourcemanager.kusto.fluent.models.ClusterInner;
import com.azure.resourcemanager.kusto.fluent.models.DiagnoseVirtualNetworkResultInner;
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionInner;
import com.azure.resourcemanager.kusto.fluent.models.LanguageExtensionInner;
import com.azure.resourcemanager.kusto.fluent.models.OutboundNetworkDependenciesEndpointInner;
import com.azure.resourcemanager.kusto.fluent.models.SkuDescriptionInner;
import com.azure.resourcemanager.kusto.models.AzureResourceSku;
+import com.azure.resourcemanager.kusto.models.CalloutPoliciesList;
+import com.azure.resourcemanager.kusto.models.CalloutPolicy;
+import com.azure.resourcemanager.kusto.models.CalloutPolicyToRemove;
import com.azure.resourcemanager.kusto.models.CheckNameResult;
import com.azure.resourcemanager.kusto.models.Cluster;
import com.azure.resourcemanager.kusto.models.ClusterCheckNameRequest;
@@ -26,6 +31,7 @@
import com.azure.resourcemanager.kusto.models.Clusters;
import com.azure.resourcemanager.kusto.models.DiagnoseVirtualNetworkResult;
import com.azure.resourcemanager.kusto.models.FollowerDatabaseDefinition;
+import com.azure.resourcemanager.kusto.models.FollowerDatabaseDefinitionGet;
import com.azure.resourcemanager.kusto.models.LanguageExtension;
import com.azure.resourcemanager.kusto.models.LanguageExtensionsList;
import com.azure.resourcemanager.kusto.models.OutboundNetworkDependenciesEndpoint;
@@ -97,6 +103,22 @@ public void migrate(String resourceGroupName, String clusterName, ClusterMigrate
this.serviceClient().migrate(resourceGroupName, clusterName, clusterMigrateRequest, context);
}
+ public PagedIterable listFollowerDatabasesGet(String resourceGroupName,
+ String clusterName) {
+ PagedIterable inner
+ = this.serviceClient().listFollowerDatabasesGet(resourceGroupName, clusterName);
+ return ResourceManagerUtils.mapPage(inner,
+ inner1 -> new FollowerDatabaseDefinitionGetImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listFollowerDatabasesGet(String resourceGroupName,
+ String clusterName, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listFollowerDatabasesGet(resourceGroupName, clusterName, context);
+ return ResourceManagerUtils.mapPage(inner,
+ inner1 -> new FollowerDatabaseDefinitionGetImpl(inner1, this.manager()));
+ }
+
public PagedIterable listFollowerDatabases(String resourceGroupName,
String clusterName) {
PagedIterable inner
@@ -224,6 +246,37 @@ public PagedIterable listSkusByResource(String resourceGroupNa
inner1 -> new OutboundNetworkDependenciesEndpointImpl(inner1, this.manager()));
}
+ public void addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies) {
+ this.serviceClient().addCalloutPolicies(resourceGroupName, clusterName, calloutPolicies);
+ }
+
+ public void addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies,
+ Context context) {
+ this.serviceClient().addCalloutPolicies(resourceGroupName, clusterName, calloutPolicies, context);
+ }
+
+ public void removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy) {
+ this.serviceClient().removeCalloutPolicy(resourceGroupName, clusterName, calloutPolicy);
+ }
+
+ public void removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy,
+ Context context) {
+ this.serviceClient().removeCalloutPolicy(resourceGroupName, clusterName, calloutPolicy, context);
+ }
+
+ public PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName) {
+ PagedIterable inner
+ = this.serviceClient().listCalloutPolicies(resourceGroupName, clusterName);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new CalloutPolicyImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName,
+ Context context) {
+ PagedIterable inner
+ = this.serviceClient().listCalloutPolicies(resourceGroupName, clusterName, context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new CalloutPolicyImpl(inner1, this.manager()));
+ }
+
public PagedIterable listLanguageExtensions(String resourceGroupName, String clusterName) {
PagedIterable inner
= this.serviceClient().listLanguageExtensions(resourceGroupName, clusterName);
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/FollowerDatabaseDefinitionGetImpl.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/FollowerDatabaseDefinitionGetImpl.java
new file mode 100644
index 0000000000000..1f074a68f8fd2
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/FollowerDatabaseDefinitionGetImpl.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.implementation;
+
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
+import com.azure.resourcemanager.kusto.models.DatabaseShareOrigin;
+import com.azure.resourcemanager.kusto.models.FollowerDatabaseDefinitionGet;
+import com.azure.resourcemanager.kusto.models.TableLevelSharingProperties;
+
+public final class FollowerDatabaseDefinitionGetImpl implements FollowerDatabaseDefinitionGet {
+ private FollowerDatabaseDefinitionGetInner innerObject;
+
+ private final com.azure.resourcemanager.kusto.KustoManager serviceManager;
+
+ FollowerDatabaseDefinitionGetImpl(FollowerDatabaseDefinitionGetInner innerObject,
+ com.azure.resourcemanager.kusto.KustoManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public String clusterResourceId() {
+ return this.innerModel().clusterResourceId();
+ }
+
+ public String attachedDatabaseConfigurationName() {
+ return this.innerModel().attachedDatabaseConfigurationName();
+ }
+
+ public String databaseName() {
+ return this.innerModel().databaseName();
+ }
+
+ public TableLevelSharingProperties tableLevelSharingProperties() {
+ return this.innerModel().tableLevelSharingProperties();
+ }
+
+ public DatabaseShareOrigin databaseShareOrigin() {
+ return this.innerModel().databaseShareOrigin();
+ }
+
+ public FollowerDatabaseDefinitionGetInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.kusto.KustoManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/KustoManagementClientImpl.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/KustoManagementClientImpl.java
index 50bca9bbd7f8e..dbb11cbaa2878 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/KustoManagementClientImpl.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/KustoManagementClientImpl.java
@@ -379,7 +379,7 @@ public OperationsResultsLocationsClient getOperationsResultsLocations() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2023-08-15";
+ this.apiVersion = "2024-04-13";
this.clusters = new ClustersClientImpl(this);
this.clusterPrincipalAssignments = new ClusterPrincipalAssignmentsClientImpl(this);
this.skus = new SkusClientImpl(this);
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/SandboxCustomImageImpl.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/SandboxCustomImageImpl.java
index 273cb429d1e67..bede99f51e0a9 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/SandboxCustomImageImpl.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/SandboxCustomImageImpl.java
@@ -36,6 +36,10 @@ public String languageVersion() {
return this.innerModel().languageVersion();
}
+ public String baseImageName() {
+ return this.innerModel().baseImageName();
+ }
+
public String requirementsFileContent() {
return this.innerModel().requirementsFileContent();
}
@@ -142,6 +146,11 @@ public SandboxCustomImageImpl withLanguageVersion(String languageVersion) {
return this;
}
+ public SandboxCustomImageImpl withBaseImageName(String baseImageName) {
+ this.innerModel().withBaseImageName(baseImageName);
+ return this;
+ }
+
public SandboxCustomImageImpl withRequirementsFileContent(String requirementsFileContent) {
this.innerModel().withRequirementsFileContent(requirementsFileContent);
return this;
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ScriptImpl.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ScriptImpl.java
index 0e7db2579d456..0681fc8d0e19c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ScriptImpl.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/implementation/ScriptImpl.java
@@ -7,8 +7,10 @@
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.kusto.fluent.models.ScriptInner;
+import com.azure.resourcemanager.kusto.models.PrincipalPermissionsAction;
import com.azure.resourcemanager.kusto.models.ProvisioningState;
import com.azure.resourcemanager.kusto.models.Script;
+import com.azure.resourcemanager.kusto.models.ScriptLevel;
public final class ScriptImpl implements Script, Script.Definition, Script.Update {
private ScriptInner innerObject;
@@ -55,6 +57,14 @@ public ProvisioningState provisioningState() {
return this.innerModel().provisioningState();
}
+ public ScriptLevel scriptLevel() {
+ return this.innerModel().scriptLevel();
+ }
+
+ public PrincipalPermissionsAction principalPermissionsAction() {
+ return this.innerModel().principalPermissionsAction();
+ }
+
public String resourceGroupName() {
return resourceGroupName;
}
@@ -169,4 +179,14 @@ public ScriptImpl withContinueOnErrors(Boolean continueOnErrors) {
this.innerModel().withContinueOnErrors(continueOnErrors);
return this;
}
+
+ public ScriptImpl withScriptLevel(ScriptLevel scriptLevel) {
+ this.innerModel().withScriptLevel(scriptLevel);
+ return this;
+ }
+
+ public ScriptImpl withPrincipalPermissionsAction(PrincipalPermissionsAction principalPermissionsAction) {
+ this.innerModel().withPrincipalPermissionsAction(principalPermissionsAction);
+ return this;
+ }
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPoliciesList.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPoliciesList.java
new file mode 100644
index 0000000000000..9f825d4408d97
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPoliciesList.java
@@ -0,0 +1,127 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.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 com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * A list of the service's callout policy objects.
+ */
+@Fluent
+public final class CalloutPoliciesList implements JsonSerializable {
+ /*
+ * A list of the service's callout policies.
+ */
+ private List value;
+
+ /*
+ * The URL to get the next set of callout policies list results if there are any.
+ */
+ private String nextLink;
+
+ /**
+ * Creates an instance of CalloutPoliciesList class.
+ */
+ public CalloutPoliciesList() {
+ }
+
+ /**
+ * Get the value property: A list of the service's callout policies.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: A list of the service's callout policies.
+ *
+ * @param value the value value to set.
+ * @return the CalloutPoliciesList object itself.
+ */
+ public CalloutPoliciesList withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the nextLink property: The URL to get the next set of callout policies list results if there are any.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Set the nextLink property: The URL to get the next set of callout policies list results if there are any.
+ *
+ * @param nextLink the nextLink value to set.
+ * @return the CalloutPoliciesList object itself.
+ */
+ public CalloutPoliciesList withNextLink(String nextLink) {
+ this.nextLink = nextLink;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeStringField("nextLink", this.nextLink);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of CalloutPoliciesList from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of CalloutPoliciesList 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 CalloutPoliciesList.
+ */
+ public static CalloutPoliciesList fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ CalloutPoliciesList deserializedCalloutPoliciesList = new CalloutPoliciesList();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("value".equals(fieldName)) {
+ List value = reader.readArray(reader1 -> CalloutPolicyInner.fromJson(reader1));
+ deserializedCalloutPoliciesList.value = value;
+ } else if ("nextLink".equals(fieldName)) {
+ deserializedCalloutPoliciesList.nextLink = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedCalloutPoliciesList;
+ });
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicy.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicy.java
new file mode 100644
index 0000000000000..42f84121d88f9
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicy.java
@@ -0,0 +1,48 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.models;
+
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
+
+/**
+ * An immutable client-side representation of CalloutPolicy.
+ */
+public interface CalloutPolicy {
+ /**
+ * Gets the calloutUriRegex property: Regular expression or FQDN pattern for the callout URI.
+ *
+ * @return the calloutUriRegex value.
+ */
+ String calloutUriRegex();
+
+ /**
+ * Gets the calloutType property: Type of the callout service, specifying the kind of external resource or service
+ * being accessed.
+ *
+ * @return the calloutType value.
+ */
+ CalloutType calloutType();
+
+ /**
+ * Gets the outboundAccess property: Indicates whether outbound access is permitted for the specified URI pattern.
+ *
+ * @return the outboundAccess value.
+ */
+ OutboundAccess outboundAccess();
+
+ /**
+ * Gets the calloutId property: Unique identifier for the callout configuration.
+ *
+ * @return the calloutId value.
+ */
+ String calloutId();
+
+ /**
+ * Gets the inner com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner object.
+ *
+ * @return the inner object.
+ */
+ CalloutPolicyInner innerModel();
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicyToRemove.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicyToRemove.java
new file mode 100644
index 0000000000000..f302850c7d11e
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutPolicyToRemove.java
@@ -0,0 +1,93 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.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 an external callout policy to remove.
+ */
+@Fluent
+public final class CalloutPolicyToRemove implements JsonSerializable {
+ /*
+ * Unique identifier for the callout configuration.
+ */
+ private String calloutId;
+
+ /**
+ * Creates an instance of CalloutPolicyToRemove class.
+ */
+ public CalloutPolicyToRemove() {
+ }
+
+ /**
+ * Get the calloutId property: Unique identifier for the callout configuration.
+ *
+ * @return the calloutId value.
+ */
+ public String calloutId() {
+ return this.calloutId;
+ }
+
+ /**
+ * Set the calloutId property: Unique identifier for the callout configuration.
+ *
+ * @param calloutId the calloutId value to set.
+ * @return the CalloutPolicyToRemove object itself.
+ */
+ public CalloutPolicyToRemove withCalloutId(String calloutId) {
+ this.calloutId = calloutId;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("calloutId", this.calloutId);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of CalloutPolicyToRemove from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of CalloutPolicyToRemove 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 CalloutPolicyToRemove.
+ */
+ public static CalloutPolicyToRemove fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ CalloutPolicyToRemove deserializedCalloutPolicyToRemove = new CalloutPolicyToRemove();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("calloutId".equals(fieldName)) {
+ deserializedCalloutPolicyToRemove.calloutId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedCalloutPolicyToRemove;
+ });
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutType.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutType.java
new file mode 100644
index 0000000000000..4a3dfd5105dfd
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/CalloutType.java
@@ -0,0 +1,96 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Type of the callout service, specifying the kind of external resource or service being accessed.
+ */
+public final class CalloutType extends ExpandableStringEnum {
+ /**
+ * Static value kusto for CalloutType.
+ */
+ public static final CalloutType KUSTO = fromString("kusto");
+
+ /**
+ * Static value sql for CalloutType.
+ */
+ public static final CalloutType SQL = fromString("sql");
+
+ /**
+ * Static value cosmosdb for CalloutType.
+ */
+ public static final CalloutType COSMOSDB = fromString("cosmosdb");
+
+ /**
+ * Static value external_data for CalloutType.
+ */
+ public static final CalloutType EXTERNAL_DATA = fromString("external_data");
+
+ /**
+ * Static value azure_digital_twins for CalloutType.
+ */
+ public static final CalloutType AZURE_DIGITAL_TWINS = fromString("azure_digital_twins");
+
+ /**
+ * Static value sandbox_artifacts for CalloutType.
+ */
+ public static final CalloutType SANDBOX_ARTIFACTS = fromString("sandbox_artifacts");
+
+ /**
+ * Static value webapi for CalloutType.
+ */
+ public static final CalloutType WEBAPI = fromString("webapi");
+
+ /**
+ * Static value mysql for CalloutType.
+ */
+ public static final CalloutType MYSQL = fromString("mysql");
+
+ /**
+ * Static value postgresql for CalloutType.
+ */
+ public static final CalloutType POSTGRESQL = fromString("postgresql");
+
+ /**
+ * Static value genevametrics for CalloutType.
+ */
+ public static final CalloutType GENEVAMETRICS = fromString("genevametrics");
+
+ /**
+ * Static value azure_openai for CalloutType.
+ */
+ public static final CalloutType AZURE_OPENAI = fromString("azure_openai");
+
+ /**
+ * Creates a new instance of CalloutType value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public CalloutType() {
+ }
+
+ /**
+ * Creates or finds a CalloutType from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding CalloutType.
+ */
+ public static CalloutType fromString(String name) {
+ return fromString(name, CalloutType.class);
+ }
+
+ /**
+ * Gets known CalloutType values.
+ *
+ * @return known CalloutType values.
+ */
+ public static Collection values() {
+ return values(CalloutType.class);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Cluster.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Cluster.java
index 61fa774e324d4..2b978f36e62b6 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Cluster.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Cluster.java
@@ -8,6 +8,7 @@
import com.azure.core.management.Region;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
import com.azure.resourcemanager.kusto.fluent.models.ClusterInner;
import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionInner;
import java.util.List;
@@ -237,6 +238,13 @@ public interface Cluster {
*/
List allowedFqdnList();
+ /**
+ * Gets the calloutPolicies property: List of callout policies for egress from Cluster.
+ *
+ * @return the calloutPolicies value.
+ */
+ List calloutPolicies();
+
/**
* Gets the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4
* and IPv6).
@@ -266,6 +274,13 @@ public interface Cluster {
*/
MigrationClusterProperties migrationCluster();
+ /**
+ * Gets the zoneStatus property: Indicates whether the cluster is zonal or non-zonal.
+ *
+ * @return the zoneStatus value.
+ */
+ ZoneStatus zoneStatus();
+
/**
* Gets the region of the resource.
*
@@ -362,16 +377,16 @@ interface WithSku {
* The stage of the Cluster 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.WithZones, DefinitionStages.WithIdentity,
- DefinitionStages.WithTrustedExternalTenants, DefinitionStages.WithOptimizedAutoscale,
- DefinitionStages.WithEnableDiskEncryption, DefinitionStages.WithEnableStreamingIngest,
- DefinitionStages.WithVirtualNetworkConfiguration, DefinitionStages.WithKeyVaultProperties,
- DefinitionStages.WithEnablePurge, DefinitionStages.WithLanguageExtensions,
- DefinitionStages.WithEnableDoubleEncryption, DefinitionStages.WithPublicNetworkAccess,
- DefinitionStages.WithAllowedIpRangeList, DefinitionStages.WithEngineType,
- DefinitionStages.WithAcceptedAudiences, DefinitionStages.WithEnableAutoStop,
- DefinitionStages.WithRestrictOutboundNetworkAccess, DefinitionStages.WithAllowedFqdnList,
+ interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithZones,
+ DefinitionStages.WithIdentity, DefinitionStages.WithTrustedExternalTenants,
+ DefinitionStages.WithOptimizedAutoscale, DefinitionStages.WithEnableDiskEncryption,
+ DefinitionStages.WithEnableStreamingIngest, DefinitionStages.WithVirtualNetworkConfiguration,
+ DefinitionStages.WithKeyVaultProperties, DefinitionStages.WithEnablePurge,
+ DefinitionStages.WithLanguageExtensions, DefinitionStages.WithEnableDoubleEncryption,
+ DefinitionStages.WithPublicNetworkAccess, DefinitionStages.WithAllowedIpRangeList,
+ DefinitionStages.WithEngineType, DefinitionStages.WithAcceptedAudiences,
+ DefinitionStages.WithEnableAutoStop, DefinitionStages.WithRestrictOutboundNetworkAccess,
+ DefinitionStages.WithAllowedFqdnList, DefinitionStages.WithCalloutPolicies,
DefinitionStages.WithPublicIpType, DefinitionStages.WithVirtualClusterGraduationProperties,
DefinitionStages.WithIfMatch, DefinitionStages.WithIfNoneMatch {
/**
@@ -648,6 +663,19 @@ interface WithAllowedFqdnList {
WithCreate withAllowedFqdnList(List allowedFqdnList);
}
+ /**
+ * The stage of the Cluster definition allowing to specify calloutPolicies.
+ */
+ interface WithCalloutPolicies {
+ /**
+ * Specifies the calloutPolicies property: List of callout policies for egress from Cluster..
+ *
+ * @param calloutPolicies List of callout policies for egress from Cluster.
+ * @return the next definition stage.
+ */
+ WithCreate withCalloutPolicies(List calloutPolicies);
+ }
+
/**
* The stage of the Cluster definition allowing to specify publicIpType.
*/
@@ -724,8 +752,8 @@ interface Update extends UpdateStages.WithTags, UpdateStages.WithSku, UpdateStag
UpdateStages.WithLanguageExtensions, UpdateStages.WithEnableDoubleEncryption,
UpdateStages.WithPublicNetworkAccess, UpdateStages.WithAllowedIpRangeList, UpdateStages.WithEngineType,
UpdateStages.WithAcceptedAudiences, UpdateStages.WithEnableAutoStop,
- UpdateStages.WithRestrictOutboundNetworkAccess, UpdateStages.WithAllowedFqdnList, UpdateStages.WithPublicIpType,
- UpdateStages.WithIfMatch {
+ UpdateStages.WithRestrictOutboundNetworkAccess, UpdateStages.WithAllowedFqdnList,
+ UpdateStages.WithCalloutPolicies, UpdateStages.WithPublicIpType, UpdateStages.WithIfMatch {
/**
* Executes the update request.
*
@@ -1017,6 +1045,19 @@ interface WithAllowedFqdnList {
Update withAllowedFqdnList(List allowedFqdnList);
}
+ /**
+ * The stage of the Cluster update allowing to specify calloutPolicies.
+ */
+ interface WithCalloutPolicies {
+ /**
+ * Specifies the calloutPolicies property: List of callout policies for egress from Cluster..
+ *
+ * @param calloutPolicies List of callout policies for egress from Cluster.
+ * @return the next definition stage.
+ */
+ Update withCalloutPolicies(List calloutPolicies);
+ }
+
/**
* The stage of the Cluster update allowing to specify publicIpType.
*/
@@ -1181,6 +1222,68 @@ interface WithIfMatch {
*/
DiagnoseVirtualNetworkResult diagnoseVirtualNetwork(Context context);
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(CalloutPoliciesList calloutPolicies);
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(CalloutPoliciesList calloutPolicies, Context context);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(CalloutPolicyToRemove calloutPolicy);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(CalloutPolicyToRemove calloutPolicy, Context context);
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listCalloutPolicies();
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listCalloutPolicies(Context context);
+
/**
* Returns a list of language extensions that can run within KQL queries.
*
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ClusterPrincipalRole.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ClusterPrincipalRole.java
index 3a9c332f3d1c4..4aecaa2ad1c7f 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ClusterPrincipalRole.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ClusterPrincipalRole.java
@@ -21,6 +21,11 @@ public final class ClusterPrincipalRole extends ExpandableStringEnum allowedFqdnList) {
return this;
}
+ /**
+ * Get the calloutPolicies property: List of callout policies for egress from Cluster.
+ *
+ * @return the calloutPolicies value.
+ */
+ public List calloutPolicies() {
+ return this.innerProperties() == null ? null : this.innerProperties().calloutPolicies();
+ }
+
+ /**
+ * Set the calloutPolicies property: List of callout policies for egress from Cluster.
+ *
+ * @param calloutPolicies the calloutPolicies value to set.
+ * @return the ClusterUpdate object itself.
+ */
+ public ClusterUpdate withCalloutPolicies(List calloutPolicies) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ClusterProperties();
+ }
+ this.innerProperties().withCalloutPolicies(calloutPolicies);
+ return this;
+ }
+
/**
* Get the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4
* and IPv6).
@@ -695,6 +719,15 @@ public MigrationClusterProperties migrationCluster() {
return this.innerProperties() == null ? null : this.innerProperties().migrationCluster();
}
+ /**
+ * Get the zoneStatus property: Indicates whether the cluster is zonal or non-zonal.
+ *
+ * @return the zoneStatus value.
+ */
+ public ZoneStatus zoneStatus() {
+ return this.innerProperties() == null ? null : this.innerProperties().zoneStatus();
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Clusters.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Clusters.java
index c611cb845f3f6..e907e8d427bad 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Clusters.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Clusters.java
@@ -133,6 +133,32 @@ public interface Clusters {
void migrate(String resourceGroupName, String clusterName, ClusterMigrateRequest clusterMigrateRequest,
Context context);
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFollowerDatabasesGet(String resourceGroupName, String clusterName);
+
+ /**
+ * Returns a list of databases that are owned by this cluster and were followed by another cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 list Kusto database principals operation response as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFollowerDatabasesGet(String resourceGroupName, String clusterName,
+ Context context);
+
/**
* Returns a list of databases that are owned by this cluster and were followed by another cluster.
*
@@ -354,6 +380,83 @@ Response checkNameAvailabilityWithResponse(String location, Clu
PagedIterable
listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String clusterName, Context context);
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies);
+
+ /**
+ * Adds a list of callout policies for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicies The callout policies to add.
+ * @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 addCalloutPolicies(String resourceGroupName, String clusterName, CalloutPoliciesList calloutPolicies,
+ Context context);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy);
+
+ /**
+ * Removes callout policy for engine services.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @param calloutPolicy The callout policies to remove.
+ * @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 removeCalloutPolicy(String resourceGroupName, String clusterName, CalloutPolicyToRemove calloutPolicy,
+ Context context);
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName);
+
+ /**
+ * Returns the allowed callout policies for the specified service.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the Kusto cluster.
+ * @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 a list of the service's callout policy objects as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listCalloutPolicies(String resourceGroupName, String clusterName, Context context);
+
/**
* Returns a list of language extensions that can run within KQL queries.
*
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseDefinitionGet.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseDefinitionGet.java
new file mode 100644
index 0000000000000..d5063c80e671b
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseDefinitionGet.java
@@ -0,0 +1,56 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.models;
+
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
+
+/**
+ * An immutable client-side representation of FollowerDatabaseDefinitionGet.
+ */
+public interface FollowerDatabaseDefinitionGet {
+ /**
+ * Gets the clusterResourceId property: Resource id of the cluster that follows a database owned by this cluster.
+ *
+ * @return the clusterResourceId value.
+ */
+ String clusterResourceId();
+
+ /**
+ * Gets the attachedDatabaseConfigurationName property: Resource name of the attached database configuration in the
+ * follower cluster.
+ *
+ * @return the attachedDatabaseConfigurationName value.
+ */
+ String attachedDatabaseConfigurationName();
+
+ /**
+ * Gets the databaseName property: The database name owned by this cluster that was followed. * in case following
+ * all databases.
+ *
+ * @return the databaseName value.
+ */
+ String databaseName();
+
+ /**
+ * Gets the tableLevelSharingProperties property: Table level sharing specifications.
+ *
+ * @return the tableLevelSharingProperties value.
+ */
+ TableLevelSharingProperties tableLevelSharingProperties();
+
+ /**
+ * Gets the databaseShareOrigin property: The origin of the following setup.
+ *
+ * @return the databaseShareOrigin value.
+ */
+ DatabaseShareOrigin databaseShareOrigin();
+
+ /**
+ * Gets the inner com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner object.
+ *
+ * @return the inner object.
+ */
+ FollowerDatabaseDefinitionGetInner innerModel();
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseListResultGet.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseListResultGet.java
new file mode 100644
index 0000000000000..6e10bcbedded0
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/FollowerDatabaseListResultGet.java
@@ -0,0 +1,129 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.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 com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * The list Kusto database principals operation response.
+ */
+@Fluent
+public final class FollowerDatabaseListResultGet implements JsonSerializable {
+ /*
+ * The list of follower database result.
+ */
+ private List value;
+
+ /*
+ * The URL to get the next set of follower databases list results if there are any.
+ */
+ private String nextLink;
+
+ /**
+ * Creates an instance of FollowerDatabaseListResultGet class.
+ */
+ public FollowerDatabaseListResultGet() {
+ }
+
+ /**
+ * Get the value property: The list of follower database result.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: The list of follower database result.
+ *
+ * @param value the value value to set.
+ * @return the FollowerDatabaseListResultGet object itself.
+ */
+ public FollowerDatabaseListResultGet withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the nextLink property: The URL to get the next set of follower databases list results if there are any.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Set the nextLink property: The URL to get the next set of follower databases list results if there are any.
+ *
+ * @param nextLink the nextLink value to set.
+ * @return the FollowerDatabaseListResultGet object itself.
+ */
+ public FollowerDatabaseListResultGet withNextLink(String nextLink) {
+ this.nextLink = nextLink;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeStringField("nextLink", this.nextLink);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FollowerDatabaseListResultGet from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FollowerDatabaseListResultGet 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 FollowerDatabaseListResultGet.
+ */
+ public static FollowerDatabaseListResultGet fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FollowerDatabaseListResultGet deserializedFollowerDatabaseListResultGet
+ = new FollowerDatabaseListResultGet();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("value".equals(fieldName)) {
+ List value
+ = reader.readArray(reader1 -> FollowerDatabaseDefinitionGetInner.fromJson(reader1));
+ deserializedFollowerDatabaseListResultGet.value = value;
+ } else if ("nextLink".equals(fieldName)) {
+ deserializedFollowerDatabaseListResultGet.nextLink = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFollowerDatabaseListResultGet;
+ });
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/LanguageExtensionImageName.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/LanguageExtensionImageName.java
index be8735b967877..4359fb1f5c86b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/LanguageExtensionImageName.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/LanguageExtensionImageName.java
@@ -36,6 +36,16 @@ public final class LanguageExtensionImageName extends ExpandableStringEnum {
+ /**
+ * Static value Allow for OutboundAccess.
+ */
+ public static final OutboundAccess ALLOW = fromString("Allow");
+
+ /**
+ * Static value Deny for OutboundAccess.
+ */
+ public static final OutboundAccess DENY = fromString("Deny");
+
+ /**
+ * Creates a new instance of OutboundAccess value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public OutboundAccess() {
+ }
+
+ /**
+ * Creates or finds a OutboundAccess from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding OutboundAccess.
+ */
+ public static OutboundAccess fromString(String name) {
+ return fromString(name, OutboundAccess.class);
+ }
+
+ /**
+ * Gets known OutboundAccess values.
+ *
+ * @return known OutboundAccess values.
+ */
+ public static Collection values() {
+ return values(OutboundAccess.class);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/PrincipalPermissionsAction.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/PrincipalPermissionsAction.java
new file mode 100644
index 0000000000000..55582a1036610
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/PrincipalPermissionsAction.java
@@ -0,0 +1,53 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Indicates if the permissions for the script caller are kept following completion of the script.
+ */
+public final class PrincipalPermissionsAction extends ExpandableStringEnum {
+ /**
+ * Static value RetainPermissionOnScriptCompletion for PrincipalPermissionsAction.
+ */
+ public static final PrincipalPermissionsAction RETAIN_PERMISSION_ON_SCRIPT_COMPLETION
+ = fromString("RetainPermissionOnScriptCompletion");
+
+ /**
+ * Static value RemovePermissionOnScriptCompletion for PrincipalPermissionsAction.
+ */
+ public static final PrincipalPermissionsAction REMOVE_PERMISSION_ON_SCRIPT_COMPLETION
+ = fromString("RemovePermissionOnScriptCompletion");
+
+ /**
+ * Creates a new instance of PrincipalPermissionsAction value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public PrincipalPermissionsAction() {
+ }
+
+ /**
+ * Creates or finds a PrincipalPermissionsAction from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding PrincipalPermissionsAction.
+ */
+ public static PrincipalPermissionsAction fromString(String name) {
+ return fromString(name, PrincipalPermissionsAction.class);
+ }
+
+ /**
+ * Gets known PrincipalPermissionsAction values.
+ *
+ * @return known PrincipalPermissionsAction values.
+ */
+ public static Collection values() {
+ return values(PrincipalPermissionsAction.class);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/SandboxCustomImage.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/SandboxCustomImage.java
index b664326edce08..3f7c4823abeed 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/SandboxCustomImage.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/SandboxCustomImage.java
@@ -40,12 +40,22 @@ public interface SandboxCustomImage {
Language language();
/**
- * Gets the languageVersion property: The version of the language.
+ * Gets the languageVersion property: The version of the language. Either this property or baseImageName should be
+ * specified.
*
* @return the languageVersion value.
*/
String languageVersion();
+ /**
+ * Gets the baseImageName property: The base image name on which the custom image is built on top of. It can be one
+ * of the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of an existing custom
+ * image. Either this property or languageVersion should be specified.
+ *
+ * @return the baseImageName value.
+ */
+ String baseImageName();
+
/**
* Gets the requirementsFileContent property: The requirements file content.
*
@@ -110,7 +120,7 @@ interface WithParentResource {
* resource to be created, but also allows for any other optional properties to be specified.
*/
interface WithCreate extends DefinitionStages.WithLanguage, DefinitionStages.WithLanguageVersion,
- DefinitionStages.WithRequirementsFileContent {
+ DefinitionStages.WithBaseImageName, DefinitionStages.WithRequirementsFileContent {
/**
* Executes the create request.
*
@@ -145,14 +155,33 @@ interface WithLanguage {
*/
interface WithLanguageVersion {
/**
- * Specifies the languageVersion property: The version of the language..
+ * Specifies the languageVersion property: The version of the language. Either this property or
+ * baseImageName should be specified..
*
- * @param languageVersion The version of the language.
+ * @param languageVersion The version of the language. Either this property or baseImageName should be
+ * specified.
* @return the next definition stage.
*/
WithCreate withLanguageVersion(String languageVersion);
}
+ /**
+ * The stage of the SandboxCustomImage definition allowing to specify baseImageName.
+ */
+ interface WithBaseImageName {
+ /**
+ * Specifies the baseImageName property: The base image name on which the custom image is built on top of.
+ * It can be one of the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of
+ * an existing custom image. Either this property or languageVersion should be specified..
+ *
+ * @param baseImageName The base image name on which the custom image is built on top of. It can be one of
+ * the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of an existing
+ * custom image. Either this property or languageVersion should be specified.
+ * @return the next definition stage.
+ */
+ WithCreate withBaseImageName(String baseImageName);
+ }
+
/**
* The stage of the SandboxCustomImage definition allowing to specify requirementsFileContent.
*/
@@ -177,8 +206,8 @@ interface WithRequirementsFileContent {
/**
* The template for SandboxCustomImage update.
*/
- interface Update
- extends UpdateStages.WithLanguage, UpdateStages.WithLanguageVersion, UpdateStages.WithRequirementsFileContent {
+ interface Update extends UpdateStages.WithLanguage, UpdateStages.WithLanguageVersion,
+ UpdateStages.WithBaseImageName, UpdateStages.WithRequirementsFileContent {
/**
* Executes the update request.
*
@@ -217,14 +246,33 @@ interface WithLanguage {
*/
interface WithLanguageVersion {
/**
- * Specifies the languageVersion property: The version of the language..
+ * Specifies the languageVersion property: The version of the language. Either this property or
+ * baseImageName should be specified..
*
- * @param languageVersion The version of the language.
+ * @param languageVersion The version of the language. Either this property or baseImageName should be
+ * specified.
* @return the next definition stage.
*/
Update withLanguageVersion(String languageVersion);
}
+ /**
+ * The stage of the SandboxCustomImage update allowing to specify baseImageName.
+ */
+ interface WithBaseImageName {
+ /**
+ * Specifies the baseImageName property: The base image name on which the custom image is built on top of.
+ * It can be one of the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of
+ * an existing custom image. Either this property or languageVersion should be specified..
+ *
+ * @param baseImageName The base image name on which the custom image is built on top of. It can be one of
+ * the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of an existing
+ * custom image. Either this property or languageVersion should be specified.
+ * @return the next definition stage.
+ */
+ Update withBaseImageName(String baseImageName);
+ }
+
/**
* The stage of the SandboxCustomImage update allowing to specify requirementsFileContent.
*/
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Script.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Script.java
index a15859c2ddf25..8f0d3e4a47bfe 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Script.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/Script.java
@@ -85,6 +85,22 @@ public interface Script {
*/
ProvisioningState provisioningState();
+ /**
+ * Gets the scriptLevel property: Differentiates between the type of script commands included - Database or Cluster.
+ * The default is Database.
+ *
+ * @return the scriptLevel value.
+ */
+ ScriptLevel scriptLevel();
+
+ /**
+ * Gets the principalPermissionsAction property: Indicates if the permissions for the script caller are kept
+ * following completion of the script.
+ *
+ * @return the principalPermissionsAction value.
+ */
+ PrincipalPermissionsAction principalPermissionsAction();
+
/**
* Gets the name of the resource group.
*
@@ -137,7 +153,8 @@ interface WithParentResource {
*/
interface WithCreate extends DefinitionStages.WithScriptUrl, DefinitionStages.WithScriptUrlSasToken,
DefinitionStages.WithScriptContent, DefinitionStages.WithForceUpdateTag,
- DefinitionStages.WithContinueOnErrors {
+ DefinitionStages.WithContinueOnErrors, DefinitionStages.WithScriptLevel,
+ DefinitionStages.WithPrincipalPermissionsAction {
/**
* Executes the create request.
*
@@ -226,6 +243,36 @@ interface WithContinueOnErrors {
*/
WithCreate withContinueOnErrors(Boolean continueOnErrors);
}
+
+ /**
+ * The stage of the Script definition allowing to specify scriptLevel.
+ */
+ interface WithScriptLevel {
+ /**
+ * Specifies the scriptLevel property: Differentiates between the type of script commands included -
+ * Database or Cluster. The default is Database..
+ *
+ * @param scriptLevel Differentiates between the type of script commands included - Database or Cluster. The
+ * default is Database.
+ * @return the next definition stage.
+ */
+ WithCreate withScriptLevel(ScriptLevel scriptLevel);
+ }
+
+ /**
+ * The stage of the Script definition allowing to specify principalPermissionsAction.
+ */
+ interface WithPrincipalPermissionsAction {
+ /**
+ * Specifies the principalPermissionsAction property: Indicates if the permissions for the script caller are
+ * kept following completion of the script..
+ *
+ * @param principalPermissionsAction Indicates if the permissions for the script caller are kept following
+ * completion of the script.
+ * @return the next definition stage.
+ */
+ WithCreate withPrincipalPermissionsAction(PrincipalPermissionsAction principalPermissionsAction);
+ }
}
/**
@@ -238,8 +285,8 @@ interface WithContinueOnErrors {
/**
* The template for Script update.
*/
- interface Update
- extends UpdateStages.WithScriptUrl, UpdateStages.WithForceUpdateTag, UpdateStages.WithContinueOnErrors {
+ interface Update extends UpdateStages.WithScriptUrl, UpdateStages.WithForceUpdateTag,
+ UpdateStages.WithContinueOnErrors, UpdateStages.WithScriptLevel, UpdateStages.WithPrincipalPermissionsAction {
/**
* Executes the update request.
*
@@ -301,6 +348,36 @@ interface WithContinueOnErrors {
*/
Update withContinueOnErrors(Boolean continueOnErrors);
}
+
+ /**
+ * The stage of the Script update allowing to specify scriptLevel.
+ */
+ interface WithScriptLevel {
+ /**
+ * Specifies the scriptLevel property: Differentiates between the type of script commands included -
+ * Database or Cluster. The default is Database..
+ *
+ * @param scriptLevel Differentiates between the type of script commands included - Database or Cluster. The
+ * default is Database.
+ * @return the next definition stage.
+ */
+ Update withScriptLevel(ScriptLevel scriptLevel);
+ }
+
+ /**
+ * The stage of the Script update allowing to specify principalPermissionsAction.
+ */
+ interface WithPrincipalPermissionsAction {
+ /**
+ * Specifies the principalPermissionsAction property: Indicates if the permissions for the script caller are
+ * kept following completion of the script..
+ *
+ * @param principalPermissionsAction Indicates if the permissions for the script caller are kept following
+ * completion of the script.
+ * @return the next definition stage.
+ */
+ Update withPrincipalPermissionsAction(PrincipalPermissionsAction principalPermissionsAction);
+ }
}
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ScriptLevel.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ScriptLevel.java
new file mode 100644
index 0000000000000..851de25989561
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ScriptLevel.java
@@ -0,0 +1,51 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Differentiates between the type of script commands included - Database or Cluster. The default is Database.
+ */
+public final class ScriptLevel extends ExpandableStringEnum {
+ /**
+ * Static value Database for ScriptLevel.
+ */
+ public static final ScriptLevel DATABASE = fromString("Database");
+
+ /**
+ * Static value Cluster for ScriptLevel.
+ */
+ public static final ScriptLevel CLUSTER = fromString("Cluster");
+
+ /**
+ * Creates a new instance of ScriptLevel value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ScriptLevel() {
+ }
+
+ /**
+ * Creates or finds a ScriptLevel from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ScriptLevel.
+ */
+ public static ScriptLevel fromString(String name) {
+ return fromString(name, ScriptLevel.class);
+ }
+
+ /**
+ * Gets known ScriptLevel values.
+ *
+ * @return known ScriptLevel values.
+ */
+ public static Collection values() {
+ return values(ScriptLevel.class);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ZoneStatus.java b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ZoneStatus.java
new file mode 100644
index 0000000000000..d87548b4e3113
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/main/java/com/azure/resourcemanager/kusto/models/ZoneStatus.java
@@ -0,0 +1,56 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Indicates whether the cluster is zonal or non-zonal.
+ */
+public final class ZoneStatus extends ExpandableStringEnum {
+ /**
+ * Static value NonZonal for ZoneStatus.
+ */
+ public static final ZoneStatus NON_ZONAL = fromString("NonZonal");
+
+ /**
+ * Static value ZonalInconsistency for ZoneStatus.
+ */
+ public static final ZoneStatus ZONAL_INCONSISTENCY = fromString("ZonalInconsistency");
+
+ /**
+ * Static value Zonal for ZoneStatus.
+ */
+ public static final ZoneStatus ZONAL = fromString("Zonal");
+
+ /**
+ * Creates a new instance of ZoneStatus value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ZoneStatus() {
+ }
+
+ /**
+ * Creates or finds a ZoneStatus from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ZoneStatus.
+ */
+ public static ZoneStatus fromString(String name) {
+ return fromString(name, ZoneStatus.class);
+ }
+
+ /**
+ * Gets known ZoneStatus values.
+ *
+ * @return known ZoneStatus values.
+ */
+ public static Collection values() {
+ return values(ZoneStatus.class);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilitySamples.java
index 920aa1c8551c0..4ac6ad03e1d88 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class AttachedDatabaseConfigurationsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateSamples.java
index 50b967b8b0697..19a7a9e85ad9d 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class AttachedDatabaseConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsCreateOrUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteSamples.java
index 456f0a97e8714..0a7a154e6fe68 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class AttachedDatabaseConfigurationsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsDelete.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetSamples.java
index bbd23a3138ffd..906e38b32db22 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class AttachedDatabaseConfigurationsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsGet.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterSamples.java
index 4d213f2cd2ec4..663cede4db2a8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterSamples.java
@@ -9,7 +9,7 @@
*/
public final class AttachedDatabaseConfigurationsListByClusterSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoAttachedDatabaseConfigurationsListByCluster.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilitySamples.java
index 282e280c3c5f0..3896f00655f50 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class ClusterPrincipalAssignmentsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateSamples.java
index 0c1d9ec64687e..490f06a3767ea 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateSamples.java
@@ -12,7 +12,7 @@
*/
public final class ClusterPrincipalAssignmentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsCreateOrUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteSamples.java
index 63ba72f131b12..6145db7948351 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClusterPrincipalAssignmentsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsDelete.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetSamples.java
index 2c272f74f9a1b..3042fdcc69e2f 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClusterPrincipalAssignmentsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsGet.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListSamples.java
index c68d4272c6d01..a82a70c5ab637 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClusterPrincipalAssignmentsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterPrincipalAssignmentsList.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesSamples.java
new file mode 100644
index 0000000000000..78d5bc8523b41
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesSamples.java
@@ -0,0 +1,34 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
+import com.azure.resourcemanager.kusto.models.CalloutPoliciesList;
+import com.azure.resourcemanager.kusto.models.CalloutType;
+import com.azure.resourcemanager.kusto.models.OutboundAccess;
+import java.util.Arrays;
+
+/**
+ * Samples for Clusters AddCalloutPolicies.
+ */
+public final class ClustersAddCalloutPoliciesSamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClusterAddCalloutPolicies.json
+ */
+ /**
+ * Sample code: KustoClusterAddCalloutPolicy.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterAddCalloutPolicy(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters()
+ .addCalloutPolicies("kustorptest", "kustoCluster",
+ new CalloutPoliciesList().withValue(Arrays.asList(new CalloutPolicyInner().withCalloutUriRegex("*")
+ .withCalloutType(CalloutType.KUSTO)
+ .withOutboundAccess(OutboundAccess.ALLOW))),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsSamples.java
index ccf7250ed209f..64de6fe793683 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsSamples.java
@@ -14,7 +14,7 @@
*/
public final class ClustersAddLanguageExtensionsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterAddLanguageExtensions.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilitySamples.java
index 5a5e38d3b774b..5d9e4486379be 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class ClustersCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCreateOrUpdateSamples.java
index 0e09f97537a8e..bd9c17dbb3ecf 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersCreateOrUpdateSamples.java
@@ -23,7 +23,7 @@
public final class ClustersCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersCreateOrUpdate
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersCreateOrUpdate
* .json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteSamples.java
index 45d556920dfd5..ba46bfd96afb9 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteSamples.java
@@ -10,7 +10,7 @@
public final class ClustersDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersDelete.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersDelete.json
*/
/**
* Sample code: KustoClustersDelete.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesSamples.java
index 6983878bf7399..e00bcdedc7b3a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesSamples.java
@@ -11,7 +11,7 @@
*/
public final class ClustersDetachFollowerDatabasesSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterDetachFollowerDatabases.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkSamples.java
index dbc603158e0c8..9d0178f6f8e53 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClustersDiagnoseVirtualNetworkSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersDiagnoseVirtualNetwork.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersGetByResourceGroupSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersGetByResourceGroupSamples.java
index 1d18c7092ec29..62111d80d4181 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersGetByResourceGroupSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersGetByResourceGroupSamples.java
@@ -10,7 +10,7 @@
public final class ClustersGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersGet.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersGet.json
*/
/**
* Sample code: KustoClustersGet.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListByResourceGroupSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListByResourceGroupSamples.java
index 55e131b446667..af7e2669dc8c0 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListByResourceGroupSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClustersListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersListByResourceGroup.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesSamples.java
new file mode 100644
index 0000000000000..eb31812422331
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesSamples.java
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+/**
+ * Samples for Clusters ListCalloutPolicies.
+ */
+public final class ClustersListCalloutPoliciesSamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClustersListCalloutPolicies.json
+ */
+ /**
+ * Sample code: KustoClusterListCalloutPolicies.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterListCalloutPolicies(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters().listCalloutPolicies("kustorptest", "kustoCluster", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetSamples.java
new file mode 100644
index 0000000000000..a0e842fd79985
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetSamples.java
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+/**
+ * Samples for Clusters ListFollowerDatabasesGet.
+ */
+public final class ClustersListFollowerDatabasesGetSamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClusterListFollowerDatabasesGet.json
+ */
+ /**
+ * Sample code: KustoClusterListFollowerDatabasesGet.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterListFollowerDatabasesGet(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters().listFollowerDatabasesGet("kustorptest", "kustoCluster", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesSamples.java
index ab7aef9065af9..786b42b457392 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClustersListFollowerDatabasesSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterListFollowerDatabases.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsSamples.java
index 4ac44a9baaeca..b9e8d9da74a4a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClustersListLanguageExtensionsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterListLanguageExtensions.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsSamples.java
index be09bd43e4216..4a8a4a59c8390 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClustersListOutboundNetworkDependenciesEndpointsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoOutboundNetworkDependenciesList.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSamples.java
index 069ed4bb1f8d2..d9caa40daa552 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSamples.java
@@ -10,7 +10,7 @@
public final class ClustersListSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersList.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersList.json
*/
/**
* Sample code: KustoClustersList.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceSamples.java
index 0cc3f726ea878..93788cd54f826 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceSamples.java
@@ -9,7 +9,7 @@
*/
public final class ClustersListSkusByResourceSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClustersListResourceSkus.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusSamples.java
index f37ebcd4e36b2..77b342190b672 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusSamples.java
@@ -10,7 +10,7 @@
public final class ClustersListSkusSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersListSkus.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersListSkus.json
*/
/**
* Sample code: KustoClustersListSkus.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateSamples.java
index 73b45c03a3c35..cd2fae45913ae 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateSamples.java
@@ -12,7 +12,7 @@
public final class ClustersMigrateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterMigrate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClusterMigrate.json
*/
/**
* Sample code: KustoClusterMigrate.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicySamples.java
new file mode 100644
index 0000000000000..dc89b88c50341
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicySamples.java
@@ -0,0 +1,27 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.resourcemanager.kusto.models.CalloutPolicyToRemove;
+
+/**
+ * Samples for Clusters RemoveCalloutPolicy.
+ */
+public final class ClustersRemoveCalloutPolicySamples {
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoClusterRemoveCalloutPolicy.json
+ */
+ /**
+ * Sample code: KustoClusterDropCalloutPolicy.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoClusterDropCalloutPolicy(com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.clusters()
+ .removeCalloutPolicy("kustorptest", "kustoCluster", new CalloutPolicyToRemove().withCalloutId("*_kusto"),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsSamples.java
index aa4074c57fea4..431029325d1c9 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsSamples.java
@@ -14,7 +14,7 @@
*/
public final class ClustersRemoveLanguageExtensionsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoClusterRemoveLanguageExtensions.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStartSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStartSamples.java
index af6069c550d2d..43364e5bd97d0 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStartSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStartSamples.java
@@ -10,7 +10,7 @@
public final class ClustersStartSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersStart.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersStart.json
*/
/**
* Sample code: KustoClustersStart.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStopSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStopSamples.java
index d0f74063c4e33..3ff521da8a6f7 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStopSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersStopSamples.java
@@ -10,7 +10,7 @@
public final class ClustersStopSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersStop.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersStop.json
*/
/**
* Sample code: KustoClustersStop.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersUpdateSamples.java
index d1fae7a1793e3..df210ad7658e7 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ClustersUpdateSamples.java
@@ -12,7 +12,7 @@
public final class ClustersUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersUpdate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoClustersUpdate.json
*/
/**
* Sample code: KustoClustersUpdate.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilitySamples.java
index 608d5ae036142..7da718cfcc648 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class DataConnectionsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateSamples.java
index faeadffe0362f..34b85f0553f9e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateSamples.java
@@ -17,7 +17,7 @@
*/
public final class DataConnectionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsEventGridCreateOrUpdate.json
*/
/**
@@ -39,7 +39,7 @@ public final class DataConnectionsCreateOrUpdateSamples {
.withConsumerGroup("$Default")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventGridDataFormat.JSON)
+ .withDataFormat(EventGridDataFormat.MULTIJSON)
.withIgnoreFirstRecord(false)
.withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
.withManagedIdentityResourceId(
@@ -49,7 +49,7 @@ public final class DataConnectionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCosmosDbCreateOrUpdate.json
*/
/**
@@ -75,7 +75,7 @@ public final class DataConnectionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCreateOrUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationSamples.java
index 0e61f1eb29868..59192bc42a637 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationSamples.java
@@ -18,7 +18,7 @@
*/
public final class DataConnectionsDataConnectionValidationSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionValidationAsync.json
*/
/**
@@ -35,7 +35,7 @@ public static void kustoDataConnectionValidation(com.azure.resourcemanager.kusto
.withConsumerGroup("testConsumerGroup1")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventHubDataFormat.JSON)
+ .withDataFormat(EventHubDataFormat.MULTIJSON)
.withCompression(Compression.NONE)
.withManagedIdentityResourceId(
"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1")),
@@ -43,7 +43,7 @@ public static void kustoDataConnectionValidation(com.azure.resourcemanager.kusto
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionEventGridValidationAsync.json
*/
/**
@@ -64,7 +64,7 @@ public static void kustoDataConnectionEventGridValidation(com.azure.resourcemana
.withConsumerGroup("$Default")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventGridDataFormat.JSON)
+ .withDataFormat(EventGridDataFormat.MULTIJSON)
.withIgnoreFirstRecord(false)
.withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
.withManagedIdentityResourceId(
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteSamples.java
index 00557400d98de..996e0373eb2b8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteSamples.java
@@ -10,7 +10,7 @@
public final class DataConnectionsDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsDelete.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDataConnectionsDelete.
* json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetSamples.java
index 5fa91b47b6df8..ebe23027a4e1e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class DataConnectionsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsEventGridGet.json
*/
/**
@@ -24,7 +24,7 @@ public static void kustoDataConnectionsEventGridGet(com.azure.resourcemanager.ku
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCosmosDbGet.json
*/
/**
@@ -40,7 +40,7 @@ public static void kustoDataConnectionsCosmosDbGet(com.azure.resourcemanager.kus
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsGet.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDataConnectionsGet.
* json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseSamples.java
index 07a1bc33d35f2..b9145713a1a17 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseSamples.java
@@ -9,7 +9,7 @@
*/
public final class DataConnectionsListByDatabaseSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsListByDatabase.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateSamples.java
index a86dfbc2c0236..f64793be5c201 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateSamples.java
@@ -17,7 +17,7 @@
*/
public final class DataConnectionsUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsCosmosDbUpdate.json
*/
/**
@@ -43,7 +43,7 @@ public static void kustoDataConnectionsCosmosDbUpdate(com.azure.resourcemanager.
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsUpdate.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDataConnectionsUpdate.
* json
*/
/**
@@ -64,7 +64,7 @@ public static void kustoDataConnectionsUpdate(com.azure.resourcemanager.kusto.Ku
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDataConnectionsEventGridUpdate.json
*/
/**
@@ -85,7 +85,7 @@ public static void kustoDataConnectionsEventGridUpdate(com.azure.resourcemanager
.withConsumerGroup("$Default")
.withTableName("TestTable")
.withMappingRuleName("TestMapping")
- .withDataFormat(EventGridDataFormat.JSON)
+ .withDataFormat(EventGridDataFormat.MULTIJSON)
.withIgnoreFirstRecord(false)
.withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
.withManagedIdentityResourceId(
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationInviteFollowerSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationInviteFollowerSamples.java
index c3d638b327523..d03ff0fb34eb3 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationInviteFollowerSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationInviteFollowerSamples.java
@@ -14,7 +14,7 @@
public final class DatabaseOperationInviteFollowerSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseInviteFollower
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseInviteFollower
* .json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilitySamples.java
index 9dfe6ba180316..467e67493cacd 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class DatabasePrincipalAssignmentsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateSamples.java
index 5e9c9e95032be..bbb27572e0327 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateSamples.java
@@ -12,7 +12,7 @@
*/
public final class DatabasePrincipalAssignmentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsCreateOrUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteSamples.java
index e8762f8770bc5..169c971f11b5a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class DatabasePrincipalAssignmentsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsDelete.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetSamples.java
index dc0df7c556d2e..200722a7dca7a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class DatabasePrincipalAssignmentsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsGet.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListSamples.java
index 09d13f8131bac..334aec650dbe3 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class DatabasePrincipalAssignmentsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasePrincipalAssignmentsList.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsSamples.java
index da19decf41820..a1e3965be8504 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsSamples.java
@@ -16,7 +16,7 @@
public final class DatabasesAddPrincipalsSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseAddPrincipals.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseAddPrincipals.
* json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilitySamples.java
index 74b787cfbee62..a71c7064340cb 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilitySamples.java
@@ -12,7 +12,7 @@
*/
public final class DatabasesCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasesCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateSamples.java
index 0e901295d91db..feb0f87b62318 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateSamples.java
@@ -15,7 +15,7 @@
public final class DatabasesCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseReadonlyUpdate
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseReadonlyUpdate
* .json
*/
/**
@@ -31,7 +31,7 @@ public static void kustoReadOnlyDatabaseUpdate(com.azure.resourcemanager.kusto.K
}
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabasesCreateOrUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteSamples.java
index 690b0c7e472f2..2b6e4b5a4a4ff 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteSamples.java
@@ -10,7 +10,7 @@
public final class DatabasesDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesDelete.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesDelete.json
*/
/**
* Sample code: KustoDatabasesDelete.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesGetSamples.java
index 8e0b12ebd51c1..030fa9a64e9ad 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesGetSamples.java
@@ -10,7 +10,7 @@
public final class DatabasesGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSuspendedDatabasesGet.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoSuspendedDatabasesGet.
* json
*/
/**
@@ -25,7 +25,7 @@ public static void kustoSuspendedDatabasesGet(com.azure.resourcemanager.kusto.Ku
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesGet.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesGet.json
*/
/**
* Sample code: KustoDatabasesGet.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterSamples.java
index ee079c6c96b45..aba6a5bfdc6a1 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterSamples.java
@@ -10,7 +10,7 @@
public final class DatabasesListByClusterSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesListByCluster
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesListByCluster
* .json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsSamples.java
index ee4df5e555e5e..11fa11f49d04a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsSamples.java
@@ -10,7 +10,7 @@
public final class DatabasesListPrincipalsSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseListPrincipals
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabaseListPrincipals
* .json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsSamples.java
index 014091451f616..004d64d1456d0 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsSamples.java
@@ -15,7 +15,7 @@
*/
public final class DatabasesRemovePrincipalsSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoDatabaseRemovePrincipals.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateSamples.java
index 4a18afab16201..221efa8bd426f 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateSamples.java
@@ -13,7 +13,7 @@
public final class DatabasesUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesUpdate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoDatabasesUpdate.json
*/
/**
* Sample code: KustoDatabasesUpdate.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilitySamples.java
index 599f0d7f36a1f..f47700661ca39 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class ManagedPrivateEndpointsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateSamples.java
index 5af128d6c7327..cb81083d99d5a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedPrivateEndpointsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsCreateOrUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteSamples.java
index 02fbcd440bfb3..26672ed3115f6 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedPrivateEndpointsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsDelete.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetSamples.java
index e400e43c36370..420824716ff6d 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedPrivateEndpointsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsGet.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListSamples.java
index 53a169ba2278c..5305d0f3d5c74 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedPrivateEndpointsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsList.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsUpdateSamples.java
index ab6f333683a30..4f061f769139e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsUpdateSamples.java
@@ -11,7 +11,7 @@
*/
public final class ManagedPrivateEndpointsUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoManagedPrivateEndpointsUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsListSamples.java
index 2d9ce0ddb0e81..4f573bc340c25 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsListSamples.java
@@ -10,7 +10,7 @@
public final class OperationsListSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoOperationsList.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoOperationsList.json
*/
/**
* Sample code: KustoOperationsList.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsGetSamples.java
index ed10e94d6dfdc..1179cc96ccbba 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsGetSamples.java
@@ -10,7 +10,7 @@
public final class OperationsResultsGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoOperationResultsGet.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoOperationResultsGet.
* json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationGetSamples.java
index 4efd0f54d680c..d4a249052b995 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationsResultsLocationGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoOperationResultsOperationResultResponseTypeGet.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java
index 06d3109132131..e60f6db32aecb 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java
@@ -11,7 +11,7 @@
*/
public final class PrivateEndpointConnectionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsCreateOrUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteSamples.java
index 1addbab017702..1259cc6165067 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsDelete.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetSamples.java
index 345bf78e1e4e5..09ef29e069ada 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsGet.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListSamples.java
index ae54e1ce0cab3..da20cb8b18068 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateEndpointConnectionsList.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetSamples.java
index 10c5fa0c78f03..c3215a1490502 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateLinkResourcesGetSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateLinkResourcesGet.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListSamples.java
index 38e6d92f14078..542a5944d7c79 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateLinkResourcesListSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoPrivateLinkResourcesList.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilitySamples.java
index 8e29d5717bf29..a475e267309c4 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class SandboxCustomImagesCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImagesCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateSamples.java
index 3b83f59a28a20..b70a683d40b5c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateSamples.java
@@ -11,7 +11,7 @@
*/
public final class SandboxCustomImagesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImagesCreateOrUpdate.json
*/
/**
@@ -28,4 +28,44 @@ public static void kustoSandboxCustomImagesCreateOrUpdate(com.azure.resourcemana
.withRequirementsFileContent("Requests")
.create();
}
+
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage.json
+ */
+ /**
+ * Sample code: KustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage(
+ com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.sandboxCustomImages()
+ .define("customImage2")
+ .withExistingCluster("kustorptest", "kustoCluster")
+ .withLanguage(Language.PYTHON)
+ .withBaseImageName("customImage1")
+ .withRequirementsFileContent("Requests")
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
+ * KustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage.json
+ */
+ /**
+ * Sample code: KustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage.
+ *
+ * @param manager Entry point to KustoManager.
+ */
+ public static void kustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage(
+ com.azure.resourcemanager.kusto.KustoManager manager) {
+ manager.sandboxCustomImages()
+ .define("customImage2")
+ .withExistingCluster("kustorptest", "kustoCluster")
+ .withLanguage(Language.PYTHON)
+ .withBaseImageName("Python3_10_8")
+ .withRequirementsFileContent("Requests")
+ .create();
+ }
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteSamples.java
index e2448dd00911c..51689ae558f89 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class SandboxCustomImagesDeleteSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImageDelete.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetSamples.java
index afec39aabcd69..fac824b0fb519 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetSamples.java
@@ -10,7 +10,7 @@
public final class SandboxCustomImagesGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesGet
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoSandboxCustomImagesGet
* .json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterSamples.java
index efd4f9239430b..3a53389a4ddf9 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterSamples.java
@@ -9,7 +9,7 @@
*/
public final class SandboxCustomImagesListByClusterSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImagesList.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesUpdateSamples.java
index 1ae28841604cf..c21013dc6f3bc 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesUpdateSamples.java
@@ -12,7 +12,7 @@
*/
public final class SandboxCustomImagesUpdateSamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoSandboxCustomImageUpdate.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilitySamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilitySamples.java
index c7d74a84523b9..496de298ccf8c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilitySamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class ScriptsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/
+ * x-ms-original-file: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/
* KustoScriptsCheckNameAvailability.json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCreateOrUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCreateOrUpdateSamples.java
index bfb449968768d..a0d82784e486a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCreateOrUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsCreateOrUpdateSamples.java
@@ -4,13 +4,16 @@
package com.azure.resourcemanager.kusto.generated;
+import com.azure.resourcemanager.kusto.models.PrincipalPermissionsAction;
+import com.azure.resourcemanager.kusto.models.ScriptLevel;
+
/**
* Samples for Scripts CreateOrUpdate.
*/
public final class ScriptsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsCreateOrUpdate.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsCreateOrUpdate.
* json
*/
/**
@@ -27,6 +30,8 @@ public static void kustoScriptsCreateOrUpdate(com.azure.resourcemanager.kusto.Ku
"?sv=2019-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=********************************")
.withForceUpdateTag("2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe")
.withContinueOnErrors(true)
+ .withScriptLevel(ScriptLevel.DATABASE)
+ .withPrincipalPermissionsAction(PrincipalPermissionsAction.REMOVE_PERMISSION_ON_SCRIPT_COMPLETION)
.create();
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteSamples.java
index 084953a29a04c..0b17b1352d569 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteSamples.java
@@ -10,7 +10,7 @@
public final class ScriptsDeleteSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsDelete.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsDelete.json
*/
/**
* Sample code: KustoScriptsDelete.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsGetSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsGetSamples.java
index f18f6f55c913d..015252ee18761 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsGetSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsGetSamples.java
@@ -10,7 +10,7 @@
public final class ScriptsGetSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsGet.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsGet.json
*/
/**
* Sample code: KustoScriptsGet.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsListByDatabaseSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsListByDatabaseSamples.java
index 883147474b086..657fbfdd5f019 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsListByDatabaseSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsListByDatabaseSamples.java
@@ -10,7 +10,7 @@
public final class ScriptsListByDatabaseSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsListByDatabase.
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsListByDatabase.
* json
*/
/**
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsUpdateSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsUpdateSamples.java
index 23f17e4acac21..60d7fe6f44acd 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsUpdateSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/ScriptsUpdateSamples.java
@@ -4,7 +4,9 @@
package com.azure.resourcemanager.kusto.generated;
+import com.azure.resourcemanager.kusto.models.PrincipalPermissionsAction;
import com.azure.resourcemanager.kusto.models.Script;
+import com.azure.resourcemanager.kusto.models.ScriptLevel;
/**
* Samples for Scripts Update.
@@ -12,7 +14,7 @@
public final class ScriptsUpdateSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsUpdate.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoScriptsUpdate.json
*/
/**
* Sample code: KustoScriptsUpdate.
@@ -28,6 +30,8 @@ public static void kustoScriptsUpdate(com.azure.resourcemanager.kusto.KustoManag
.withScriptUrl("https://mysa.blob.core.windows.net/container/script.txt")
.withForceUpdateTag("2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe")
.withContinueOnErrors(true)
+ .withScriptLevel(ScriptLevel.DATABASE)
+ .withPrincipalPermissionsAction(PrincipalPermissionsAction.REMOVE_PERMISSION_ON_SCRIPT_COMPLETION)
.apply();
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SkusListSamples.java b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SkusListSamples.java
index 34daf8ee1ba76..e55e2d4e2b867 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SkusListSamples.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/samples/java/com/azure/resourcemanager/kusto/generated/SkusListSamples.java
@@ -10,7 +10,7 @@
public final class SkusListSamples {
/*
* x-ms-original-file:
- * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSkus.json
+ * specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/examples/KustoSkus.json
*/
/**
* Sample code: KustoListRegionSkus.
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationInnerTests.java
index c431ec5add800..810630f969988 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationInnerTests.java
@@ -15,55 +15,55 @@ public final class AttachedDatabaseConfigurationInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
AttachedDatabaseConfigurationInner model = BinaryData.fromString(
- "{\"location\":\"ronasxift\",\"properties\":{\"provisioningState\":\"Moving\",\"databaseName\":\"zh\",\"clusterResourceId\":\"tw\",\"attachedDatabaseNames\":[\"ogczhonnxkrlg\",\"yhmossxkkg\",\"h\",\"rghxjb\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"cx\",\"frpdsofbshrns\",\"buswdvzyy\",\"ycnunvjsrtk\"],\"tablesToExclude\":[\"nopqgikyzirtx\",\"yuxzejntpsewgi\",\"ilqu\",\"rydxtqm\"],\"externalTablesToInclude\":[\"xorgg\"],\"externalTablesToExclude\":[\"yaomtb\",\"hhavgrvkffovjz\",\"pjbi\",\"gjmfxumvfcl\"],\"materializedViewsToInclude\":[\"vwxnbkfe\",\"zxscyhwzdgirujb\",\"bomvzzbtdcqv\",\"niyujv\"],\"materializedViewsToExclude\":[\"wdsh\"],\"functionsToInclude\":[\"n\",\"bgye\",\"rymsgaojfmw\",\"cotmr\"],\"functionsToExclude\":[\"rctym\",\"xoftpipiwyczu\",\"xacpqjli\",\"hyus\"]},\"databaseNameOverride\":\"kasdvlm\",\"databaseNamePrefix\":\"dgzxulucvpamrsr\"},\"id\":\"uzvx\",\"name\":\"risjnhnytxifqjz\",\"type\":\"xmrhu\"}")
+ "{\"location\":\"vjzhpjbib\",\"properties\":{\"provisioningState\":\"Moving\",\"databaseName\":\"xumvfcluyovw\",\"clusterResourceId\":\"nbkfezzxscy\",\"attachedDatabaseNames\":[\"dgirujbzbom\",\"zzbtdcqvpniyujvi\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"hfssnrb\",\"ye\",\"rymsgaojfmw\"],\"tablesToExclude\":[\"tmr\",\"hirctymoxoftpipi\"],\"externalTablesToInclude\":[\"zuhx\",\"cpqjlihhyu\",\"pskasdvlmfwdg\",\"x\"],\"externalTablesToExclude\":[\"cvpa\",\"rsre\"],\"materializedViewsToInclude\":[\"xurisjnhnyt\",\"ifqjz\",\"xmrhu\",\"lw\"],\"materializedViewsToExclude\":[\"sutrgjup\",\"uutpwoqhih\",\"jqgwzp\",\"fqntcyp\"],\"functionsToInclude\":[\"vfoimwksli\"],\"functionsToExclude\":[\"zjxvydfcea\"]},\"databaseNameOverride\":\"lhvygdyftu\",\"databaseNamePrefix\":\"twnawjslbiwkojgc\"},\"id\":\"ztsfmznbaeqp\",\"name\":\"chqnrnrpxehuwry\",\"type\":\"qgaifmviklbydv\"}")
.toObject(AttachedDatabaseConfigurationInner.class);
- Assertions.assertEquals("ronasxift", model.location());
- Assertions.assertEquals("zh", model.databaseName());
- Assertions.assertEquals("tw", model.clusterResourceId());
+ Assertions.assertEquals("vjzhpjbib", model.location());
+ Assertions.assertEquals("xumvfcluyovw", model.databaseName());
+ Assertions.assertEquals("nbkfezzxscy", model.clusterResourceId());
Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE, model.defaultPrincipalsModificationKind());
- Assertions.assertEquals("cx", model.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("nopqgikyzirtx", model.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("xorgg", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("yaomtb", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("vwxnbkfe", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("wdsh", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("n", model.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("rctym", model.tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("kasdvlm", model.databaseNameOverride());
- Assertions.assertEquals("dgzxulucvpamrsr", model.databaseNamePrefix());
+ Assertions.assertEquals("hfssnrb", model.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("tmr", model.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("zuhx", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("cvpa", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("xurisjnhnyt", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
+ Assertions.assertEquals("sutrgjup", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("vfoimwksli", model.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("zjxvydfcea", model.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("lhvygdyftu", model.databaseNameOverride());
+ Assertions.assertEquals("twnawjslbiwkojgc", model.databaseNamePrefix());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- AttachedDatabaseConfigurationInner model = new AttachedDatabaseConfigurationInner().withLocation("ronasxift")
- .withDatabaseName("zh")
- .withClusterResourceId("tw")
+ AttachedDatabaseConfigurationInner model = new AttachedDatabaseConfigurationInner().withLocation("vjzhpjbib")
+ .withDatabaseName("xumvfcluyovw")
+ .withClusterResourceId("nbkfezzxscy")
.withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.NONE)
- .withTableLevelSharingProperties(new TableLevelSharingProperties()
- .withTablesToInclude(Arrays.asList("cx", "frpdsofbshrns", "buswdvzyy", "ycnunvjsrtk"))
- .withTablesToExclude(Arrays.asList("nopqgikyzirtx", "yuxzejntpsewgi", "ilqu", "rydxtqm"))
- .withExternalTablesToInclude(Arrays.asList("xorgg"))
- .withExternalTablesToExclude(Arrays.asList("yaomtb", "hhavgrvkffovjz", "pjbi", "gjmfxumvfcl"))
- .withMaterializedViewsToInclude(Arrays.asList("vwxnbkfe", "zxscyhwzdgirujb", "bomvzzbtdcqv", "niyujv"))
- .withMaterializedViewsToExclude(Arrays.asList("wdsh"))
- .withFunctionsToInclude(Arrays.asList("n", "bgye", "rymsgaojfmw", "cotmr"))
- .withFunctionsToExclude(Arrays.asList("rctym", "xoftpipiwyczu", "xacpqjli", "hyus")))
- .withDatabaseNameOverride("kasdvlm")
- .withDatabaseNamePrefix("dgzxulucvpamrsr");
+ .withTableLevelSharingProperties(
+ new TableLevelSharingProperties().withTablesToInclude(Arrays.asList("hfssnrb", "ye", "rymsgaojfmw"))
+ .withTablesToExclude(Arrays.asList("tmr", "hirctymoxoftpipi"))
+ .withExternalTablesToInclude(Arrays.asList("zuhx", "cpqjlihhyu", "pskasdvlmfwdg", "x"))
+ .withExternalTablesToExclude(Arrays.asList("cvpa", "rsre"))
+ .withMaterializedViewsToInclude(Arrays.asList("xurisjnhnyt", "ifqjz", "xmrhu", "lw"))
+ .withMaterializedViewsToExclude(Arrays.asList("sutrgjup", "uutpwoqhih", "jqgwzp", "fqntcyp"))
+ .withFunctionsToInclude(Arrays.asList("vfoimwksli"))
+ .withFunctionsToExclude(Arrays.asList("zjxvydfcea")))
+ .withDatabaseNameOverride("lhvygdyftu")
+ .withDatabaseNamePrefix("twnawjslbiwkojgc");
model = BinaryData.fromObject(model).toObject(AttachedDatabaseConfigurationInner.class);
- Assertions.assertEquals("ronasxift", model.location());
- Assertions.assertEquals("zh", model.databaseName());
- Assertions.assertEquals("tw", model.clusterResourceId());
+ Assertions.assertEquals("vjzhpjbib", model.location());
+ Assertions.assertEquals("xumvfcluyovw", model.databaseName());
+ Assertions.assertEquals("nbkfezzxscy", model.clusterResourceId());
Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE, model.defaultPrincipalsModificationKind());
- Assertions.assertEquals("cx", model.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("nopqgikyzirtx", model.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("xorgg", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("yaomtb", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("vwxnbkfe", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("wdsh", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("n", model.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("rctym", model.tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("kasdvlm", model.databaseNameOverride());
- Assertions.assertEquals("dgzxulucvpamrsr", model.databaseNamePrefix());
+ Assertions.assertEquals("hfssnrb", model.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("tmr", model.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("zuhx", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("cvpa", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("xurisjnhnyt", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
+ Assertions.assertEquals("sutrgjup", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("vfoimwksli", model.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("zjxvydfcea", model.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("lhvygdyftu", model.databaseNameOverride());
+ Assertions.assertEquals("twnawjslbiwkojgc", model.databaseNamePrefix());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationListResultTests.java
index c1c9aa7e5b9bd..305b0084c052e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationListResultTests.java
@@ -16,109 +16,88 @@ public final class AttachedDatabaseConfigurationListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
AttachedDatabaseConfigurationListResult model = BinaryData.fromString(
- "{\"value\":[{\"location\":\"sexso\",\"properties\":{\"provisioningState\":\"Deleting\",\"databaseName\":\"uqhhahhxvrh\",\"clusterResourceId\":\"zkw\",\"attachedDatabaseNames\":[\"wws\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"tqs\",\"hqxujxukndxdi\",\"rjguufzdmsyqtf\",\"hwhbotzingamv\"],\"tablesToExclude\":[\"o\"],\"externalTablesToInclude\":[\"zudphqamvdkfw\",\"nwcvtbvkayhmtnv\"],\"externalTablesToExclude\":[\"atkzwpcnpw\",\"cjaesgvvs\",\"cyajguqf\"],\"materializedViewsToInclude\":[\"gzlvdnkfxu\"],\"materializedViewsToExclude\":[\"dwzrmuh\",\"pfcqdp\",\"qxqvpsvuoymgc\",\"elvezrypq\"],\"functionsToInclude\":[\"eokerqwkyhkobopg\"],\"functionsToExclude\":[\"k\"]},\"databaseNameOverride\":\"epbqpcrfkbw\",\"databaseNamePrefix\":\"snjvcdwxlpqekftn\"},\"id\":\"htjsying\",\"name\":\"fq\",\"type\":\"tmtdhtmdvypgik\"},{\"location\":\"szywkbirryu\",\"properties\":{\"provisioningState\":\"Creating\",\"databaseName\":\"kj\",\"clusterResourceId\":\"qrvqq\",\"attachedDatabaseNames\":[\"jinrvgoupmfiibfg\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"lvrwxkvtkk\",\"llqwjygvjayvblmh\"],\"tablesToExclude\":[\"uhbxvvy\",\"gsopbyrqufegxu\",\"wz\",\"bnhlmc\"],\"externalTablesToInclude\":[\"dn\"],\"externalTablesToExclude\":[\"vgbmhr\",\"xkw\",\"yijejvegrhbpnaix\",\"xccbdreaxhcex\"],\"materializedViewsToInclude\":[\"vqahqkghtpwi\",\"nhyjsv\",\"ycxzbfvoo\",\"vrvmtgjqppyost\"],\"materializedViewsToExclude\":[\"zm\"],\"functionsToInclude\":[\"fipns\",\"kmcwaekrrjreafx\"],\"functionsToExclude\":[\"umh\",\"glikkxwslolb\",\"pvuzlmv\",\"elfk\"]},\"databaseNameOverride\":\"plcrpwjxeznoig\",\"databaseNamePrefix\":\"njwmwkpnbsazejj\"},\"id\":\"qkagfhsxt\",\"name\":\"augzxnfaazpxdtn\",\"type\":\"dm\"},{\"location\":\"j\",\"properties\":{\"provisioningState\":\"Deleting\",\"databaseName\":\"envrkpyouaibrebq\",\"clusterResourceId\":\"aysjkixqtnqttez\",\"attachedDatabaseNames\":[\"ffiakp\",\"pqqmted\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"ihyeozphvw\"],\"tablesToExclude\":[\"qncygupkvi\"],\"externalTablesToInclude\":[\"scw\",\"qupevzh\",\"stotxh\",\"jujbypelmcuvhixb\"],\"externalTablesToExclude\":[\"fw\",\"yl\"],\"materializedViewsToInclude\":[\"o\"],\"materializedViewsToExclude\":[\"tpkiwkkbnujry\",\"vtylbfpncu\",\"doiwi\",\"thtywub\"],\"functionsToInclude\":[\"ihwqknfdntwjchr\",\"goihx\",\"mwctondzjluudfd\"],\"functionsToExclude\":[\"gytsbwtovv\"]},\"databaseNameOverride\":\"seinqfiuf\",\"databaseNamePrefix\":\"knpirgnepttwq\"},\"id\":\"sniffc\",\"name\":\"mqnrojlpijnkr\",\"type\":\"frddhcrati\"}]}")
+ "{\"value\":[{\"location\":\"svfycxzbfv\",\"properties\":{\"provisioningState\":\"Moving\",\"databaseName\":\"rvmtgjq\",\"clusterResourceId\":\"pyostronzmyhgfi\",\"attachedDatabaseNames\":[\"xkmcwaekrrjre\"],\"defaultPrincipalsModificationKind\":\"Replace\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"gumhjglikkxws\",\"olbq\",\"vuzlm\",\"felfktg\"],\"tablesToExclude\":[\"rpw\"],\"externalTablesToInclude\":[\"znoigbrn\",\"w\"],\"externalTablesToExclude\":[\"pn\"],\"materializedViewsToInclude\":[\"zejjoqk\"],\"materializedViewsToExclude\":[\"hsxttaugzxnf\",\"azpxdtnkdmkqjjl\",\"uenvrkp\"],\"functionsToInclude\":[\"aibrebqaaysjkixq\",\"nqttezl\",\"fffiak\",\"jpqqmted\"],\"functionsToExclude\":[\"mjihyeozphv\"]},\"databaseNameOverride\":\"uyqncygupkvipmd\",\"databaseNamePrefix\":\"wx\"},\"id\":\"upev\",\"name\":\"hfstotxhojujbyp\",\"type\":\"lmcuvhixb\"},{\"location\":\"yfwnylr\",\"properties\":{\"provisioningState\":\"Running\",\"databaseName\":\"sttp\",\"clusterResourceId\":\"iwkkbn\",\"attachedDatabaseNames\":[\"ywvtylbfpnc\",\"rd\",\"iwii\"],\"defaultPrincipalsModificationKind\":\"Replace\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"ubxcbihw\",\"knfd\"],\"tablesToExclude\":[\"jchrdgoihxumw\",\"ton\"],\"externalTablesToInclude\":[\"luudfdlwggytsb\"],\"externalTablesToExclude\":[\"vvt\",\"seinqfiuf\",\"qknp\",\"rgnepttwqmsniffc\"],\"materializedViewsToInclude\":[\"nrojlpijnkr\",\"frddhcrati\",\"zronasxift\",\"zq\"],\"materializedViewsToExclude\":[\"f\",\"wesgogczh\",\"nnxk\"],\"functionsToInclude\":[\"nyhmossxkkgthr\",\"gh\",\"jbdhqxvc\"],\"functionsToExclude\":[\"rpdsof\",\"shrnsvbuswdvz\",\"ybycnunvj\",\"rtkfawnopq\"]},\"databaseNameOverride\":\"kyzirtxdyux\",\"databaseNamePrefix\":\"jntpsewgioilqu\"},\"id\":\"rydxtqm\",\"name\":\"eoxorggufhyao\",\"type\":\"tbghhavgrvkf\"}]}")
.toObject(AttachedDatabaseConfigurationListResult.class);
- Assertions.assertEquals("sexso", model.value().get(0).location());
- Assertions.assertEquals("uqhhahhxvrh", model.value().get(0).databaseName());
- Assertions.assertEquals("zkw", model.value().get(0).clusterResourceId());
- Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE,
+ Assertions.assertEquals("svfycxzbfv", model.value().get(0).location());
+ Assertions.assertEquals("rvmtgjq", model.value().get(0).databaseName());
+ Assertions.assertEquals("pyostronzmyhgfi", model.value().get(0).clusterResourceId());
+ Assertions.assertEquals(DefaultPrincipalsModificationKind.REPLACE,
model.value().get(0).defaultPrincipalsModificationKind());
- Assertions.assertEquals("tqs", model.value().get(0).tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("o", model.value().get(0).tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("zudphqamvdkfw",
+ Assertions.assertEquals("gumhjglikkxws",
+ model.value().get(0).tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("rpw", model.value().get(0).tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("znoigbrn",
model.value().get(0).tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("atkzwpcnpw",
+ Assertions.assertEquals("pn",
model.value().get(0).tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("gzlvdnkfxu",
+ Assertions.assertEquals("zejjoqk",
model.value().get(0).tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("dwzrmuh",
+ Assertions.assertEquals("hsxttaugzxnf",
model.value().get(0).tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("eokerqwkyhkobopg",
+ Assertions.assertEquals("aibrebqaaysjkixq",
model.value().get(0).tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("k", model.value().get(0).tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("epbqpcrfkbw", model.value().get(0).databaseNameOverride());
- Assertions.assertEquals("snjvcdwxlpqekftn", model.value().get(0).databaseNamePrefix());
+ Assertions.assertEquals("mjihyeozphv",
+ model.value().get(0).tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("uyqncygupkvipmd", model.value().get(0).databaseNameOverride());
+ Assertions.assertEquals("wx", model.value().get(0).databaseNamePrefix());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
AttachedDatabaseConfigurationListResult model
- = new AttachedDatabaseConfigurationListResult()
- .withValue(
- Arrays
- .asList(
- new AttachedDatabaseConfigurationInner().withLocation("sexso")
- .withDatabaseName("uqhhahhxvrh")
- .withClusterResourceId("zkw")
- .withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.NONE)
- .withTableLevelSharingProperties(new TableLevelSharingProperties()
- .withTablesToInclude(
- Arrays.asList("tqs", "hqxujxukndxdi", "rjguufzdmsyqtf", "hwhbotzingamv"))
- .withTablesToExclude(Arrays.asList("o"))
- .withExternalTablesToInclude(Arrays.asList("zudphqamvdkfw", "nwcvtbvkayhmtnv"))
- .withExternalTablesToExclude(Arrays.asList("atkzwpcnpw", "cjaesgvvs", "cyajguqf"))
- .withMaterializedViewsToInclude(Arrays.asList("gzlvdnkfxu"))
- .withMaterializedViewsToExclude(
- Arrays.asList("dwzrmuh", "pfcqdp", "qxqvpsvuoymgc", "elvezrypq"))
- .withFunctionsToInclude(Arrays.asList("eokerqwkyhkobopg"))
- .withFunctionsToExclude(Arrays.asList("k")))
- .withDatabaseNameOverride("epbqpcrfkbw")
- .withDatabaseNamePrefix("snjvcdwxlpqekftn"),
- new AttachedDatabaseConfigurationInner().withLocation("szywkbirryu")
- .withDatabaseName("kj")
- .withClusterResourceId("qrvqq")
- .withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.UNION)
- .withTableLevelSharingProperties(new TableLevelSharingProperties()
- .withTablesToInclude(Arrays.asList("lvrwxkvtkk", "llqwjygvjayvblmh"))
- .withTablesToExclude(Arrays.asList("uhbxvvy", "gsopbyrqufegxu", "wz", "bnhlmc"))
- .withExternalTablesToInclude(Arrays.asList("dn"))
- .withExternalTablesToExclude(
- Arrays.asList("vgbmhr", "xkw", "yijejvegrhbpnaix", "xccbdreaxhcex"))
- .withMaterializedViewsToInclude(
- Arrays.asList("vqahqkghtpwi", "nhyjsv", "ycxzbfvoo", "vrvmtgjqppyost"))
- .withMaterializedViewsToExclude(Arrays.asList("zm"))
- .withFunctionsToInclude(Arrays.asList("fipns", "kmcwaekrrjreafx"))
- .withFunctionsToExclude(Arrays.asList("umh", "glikkxwslolb", "pvuzlmv", "elfk")))
- .withDatabaseNameOverride("plcrpwjxeznoig")
- .withDatabaseNamePrefix("njwmwkpnbsazejj"),
- new AttachedDatabaseConfigurationInner().withLocation("j")
- .withDatabaseName("envrkpyouaibrebq")
- .withClusterResourceId("aysjkixqtnqttez")
- .withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.NONE)
- .withTableLevelSharingProperties(
- new TableLevelSharingProperties().withTablesToInclude(Arrays.asList("ihyeozphvw"))
- .withTablesToExclude(Arrays.asList("qncygupkvi"))
- .withExternalTablesToInclude(
- Arrays.asList("scw", "qupevzh", "stotxh", "jujbypelmcuvhixb"))
- .withExternalTablesToExclude(Arrays.asList("fw", "yl"))
- .withMaterializedViewsToInclude(Arrays.asList("o"))
- .withMaterializedViewsToExclude(
- Arrays.asList("tpkiwkkbnujry", "vtylbfpncu", "doiwi", "thtywub"))
- .withFunctionsToInclude(
- Arrays.asList("ihwqknfdntwjchr", "goihx", "mwctondzjluudfd"))
- .withFunctionsToExclude(Arrays.asList("gytsbwtovv")))
- .withDatabaseNameOverride("seinqfiuf")
- .withDatabaseNamePrefix("knpirgnepttwq")));
+ = new AttachedDatabaseConfigurationListResult().withValue(Arrays.asList(
+ new AttachedDatabaseConfigurationInner().withLocation("svfycxzbfv")
+ .withDatabaseName("rvmtgjq")
+ .withClusterResourceId("pyostronzmyhgfi")
+ .withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.REPLACE)
+ .withTableLevelSharingProperties(new TableLevelSharingProperties()
+ .withTablesToInclude(Arrays.asList("gumhjglikkxws", "olbq", "vuzlm", "felfktg"))
+ .withTablesToExclude(Arrays.asList("rpw"))
+ .withExternalTablesToInclude(Arrays.asList("znoigbrn", "w"))
+ .withExternalTablesToExclude(Arrays.asList("pn"))
+ .withMaterializedViewsToInclude(Arrays.asList("zejjoqk"))
+ .withMaterializedViewsToExclude(Arrays.asList("hsxttaugzxnf", "azpxdtnkdmkqjjl", "uenvrkp"))
+ .withFunctionsToInclude(Arrays.asList("aibrebqaaysjkixq", "nqttezl", "fffiak", "jpqqmted"))
+ .withFunctionsToExclude(Arrays.asList("mjihyeozphv")))
+ .withDatabaseNameOverride("uyqncygupkvipmd")
+ .withDatabaseNamePrefix("wx"),
+ new AttachedDatabaseConfigurationInner().withLocation("yfwnylr")
+ .withDatabaseName("sttp")
+ .withClusterResourceId("iwkkbn")
+ .withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.REPLACE)
+ .withTableLevelSharingProperties(new TableLevelSharingProperties()
+ .withTablesToInclude(Arrays.asList("ubxcbihw", "knfd"))
+ .withTablesToExclude(Arrays.asList("jchrdgoihxumw", "ton"))
+ .withExternalTablesToInclude(Arrays.asList("luudfdlwggytsb"))
+ .withExternalTablesToExclude(Arrays.asList("vvt", "seinqfiuf", "qknp", "rgnepttwqmsniffc"))
+ .withMaterializedViewsToInclude(Arrays.asList("nrojlpijnkr", "frddhcrati", "zronasxift", "zq"))
+ .withMaterializedViewsToExclude(Arrays.asList("f", "wesgogczh", "nnxk"))
+ .withFunctionsToInclude(Arrays.asList("nyhmossxkkgthr", "gh", "jbdhqxvc"))
+ .withFunctionsToExclude(Arrays.asList("rpdsof", "shrnsvbuswdvz", "ybycnunvj", "rtkfawnopq")))
+ .withDatabaseNameOverride("kyzirtxdyux")
+ .withDatabaseNamePrefix("jntpsewgioilqu")));
model = BinaryData.fromObject(model).toObject(AttachedDatabaseConfigurationListResult.class);
- Assertions.assertEquals("sexso", model.value().get(0).location());
- Assertions.assertEquals("uqhhahhxvrh", model.value().get(0).databaseName());
- Assertions.assertEquals("zkw", model.value().get(0).clusterResourceId());
- Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE,
+ Assertions.assertEquals("svfycxzbfv", model.value().get(0).location());
+ Assertions.assertEquals("rvmtgjq", model.value().get(0).databaseName());
+ Assertions.assertEquals("pyostronzmyhgfi", model.value().get(0).clusterResourceId());
+ Assertions.assertEquals(DefaultPrincipalsModificationKind.REPLACE,
model.value().get(0).defaultPrincipalsModificationKind());
- Assertions.assertEquals("tqs", model.value().get(0).tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("o", model.value().get(0).tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("zudphqamvdkfw",
+ Assertions.assertEquals("gumhjglikkxws",
+ model.value().get(0).tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("rpw", model.value().get(0).tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("znoigbrn",
model.value().get(0).tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("atkzwpcnpw",
+ Assertions.assertEquals("pn",
model.value().get(0).tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("gzlvdnkfxu",
+ Assertions.assertEquals("zejjoqk",
model.value().get(0).tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("dwzrmuh",
+ Assertions.assertEquals("hsxttaugzxnf",
model.value().get(0).tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("eokerqwkyhkobopg",
+ Assertions.assertEquals("aibrebqaaysjkixq",
model.value().get(0).tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("k", model.value().get(0).tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("epbqpcrfkbw", model.value().get(0).databaseNameOverride());
- Assertions.assertEquals("snjvcdwxlpqekftn", model.value().get(0).databaseNamePrefix());
+ Assertions.assertEquals("mjihyeozphv",
+ model.value().get(0).tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("uyqncygupkvipmd", model.value().get(0).databaseNameOverride());
+ Assertions.assertEquals("wx", model.value().get(0).databaseNamePrefix());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationPropertiesTests.java
index 73eced1aad229..ec23c44649cd7 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationPropertiesTests.java
@@ -15,55 +15,58 @@ public final class AttachedDatabaseConfigurationPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
AttachedDatabaseConfigurationProperties model = BinaryData.fromString(
- "{\"provisioningState\":\"Creating\",\"databaseName\":\"pcesutrg\",\"clusterResourceId\":\"upauut\",\"attachedDatabaseNames\":[\"qhih\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"zpnfqntcypsxj\"],\"tablesToExclude\":[\"imwkslircizj\",\"vydfceacvlhvygdy\",\"t\"],\"externalTablesToInclude\":[\"twnawjslbiwkojgc\",\"ztsfmznbaeqp\",\"chqnrnrpxehuwry\"],\"externalTablesToExclude\":[\"aifmvikl\",\"ydv\"],\"materializedViewsToInclude\":[\"ejd\",\"nxcvds\",\"hnjivo\"],\"materializedViewsToExclude\":[\"novqfzge\",\"jdftuljltd\",\"ceamtm\",\"zuo\"],\"functionsToInclude\":[\"wcw\"],\"functionsToExclude\":[\"oknssxmojmsvpkjp\",\"vk\",\"cfzq\"]},\"databaseNameOverride\":\"yxgtczh\",\"databaseNamePrefix\":\"dbsdshm\"}")
+ "{\"provisioningState\":\"Canceled\",\"databaseName\":\"ejd\",\"clusterResourceId\":\"nxcvds\",\"attachedDatabaseNames\":[\"jivolvtnov\",\"fzg\",\"mjdftu\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"ucea\",\"tmczuomejwcwwqi\",\"knssxmojm\"],\"tablesToExclude\":[\"kjprvk\"],\"externalTablesToInclude\":[\"zqljyxgtczh\"],\"externalTablesToExclude\":[\"bsdshmkxmaehvbbx\",\"ripltf\"],\"materializedViewsToInclude\":[\"baxk\",\"xywr\"],\"materializedViewsToExclude\":[\"yklyhpluodpvruud\",\"gzibthostgktstv\",\"xeclzedqbcvhzlhp\",\"odqkdlwwqfb\"],\"functionsToInclude\":[\"kxtrq\"],\"functionsToExclude\":[\"mlmbtxhwgfwsrta\",\"coezbrhubskh\",\"dyg\",\"ookk\"]},\"databaseNameOverride\":\"qjbvleorfmlu\",\"databaseNamePrefix\":\"tqzfavyv\"}")
.toObject(AttachedDatabaseConfigurationProperties.class);
- Assertions.assertEquals("pcesutrg", model.databaseName());
- Assertions.assertEquals("upauut", model.clusterResourceId());
- Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE, model.defaultPrincipalsModificationKind());
- Assertions.assertEquals("zpnfqntcypsxj", model.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("imwkslircizj", model.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("twnawjslbiwkojgc",
- model.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("aifmvikl", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("ejd", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("novqfzge", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("wcw", model.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("oknssxmojmsvpkjp", model.tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("yxgtczh", model.databaseNameOverride());
- Assertions.assertEquals("dbsdshm", model.databaseNamePrefix());
+ Assertions.assertEquals("ejd", model.databaseName());
+ Assertions.assertEquals("nxcvds", model.clusterResourceId());
+ Assertions.assertEquals(DefaultPrincipalsModificationKind.UNION, model.defaultPrincipalsModificationKind());
+ Assertions.assertEquals("ucea", model.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("kjprvk", model.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("zqljyxgtczh", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("bsdshmkxmaehvbbx",
+ model.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("baxk", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
+ Assertions.assertEquals("yklyhpluodpvruud",
+ model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("kxtrq", model.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("mlmbtxhwgfwsrta", model.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("qjbvleorfmlu", model.databaseNameOverride());
+ Assertions.assertEquals("tqzfavyv", model.databaseNamePrefix());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
AttachedDatabaseConfigurationProperties model
- = new AttachedDatabaseConfigurationProperties().withDatabaseName("pcesutrg")
- .withClusterResourceId("upauut")
- .withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.NONE)
+ = new AttachedDatabaseConfigurationProperties().withDatabaseName("ejd")
+ .withClusterResourceId("nxcvds")
+ .withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.UNION)
.withTableLevelSharingProperties(new TableLevelSharingProperties()
- .withTablesToInclude(Arrays.asList("zpnfqntcypsxj"))
- .withTablesToExclude(Arrays.asList("imwkslircizj", "vydfceacvlhvygdy", "t"))
- .withExternalTablesToInclude(Arrays.asList("twnawjslbiwkojgc", "ztsfmznbaeqp", "chqnrnrpxehuwry"))
- .withExternalTablesToExclude(Arrays.asList("aifmvikl", "ydv"))
- .withMaterializedViewsToInclude(Arrays.asList("ejd", "nxcvds", "hnjivo"))
- .withMaterializedViewsToExclude(Arrays.asList("novqfzge", "jdftuljltd", "ceamtm", "zuo"))
- .withFunctionsToInclude(Arrays.asList("wcw"))
- .withFunctionsToExclude(Arrays.asList("oknssxmojmsvpkjp", "vk", "cfzq")))
- .withDatabaseNameOverride("yxgtczh")
- .withDatabaseNamePrefix("dbsdshm");
+ .withTablesToInclude(Arrays.asList("ucea", "tmczuomejwcwwqi", "knssxmojm"))
+ .withTablesToExclude(Arrays.asList("kjprvk"))
+ .withExternalTablesToInclude(Arrays.asList("zqljyxgtczh"))
+ .withExternalTablesToExclude(Arrays.asList("bsdshmkxmaehvbbx", "ripltf"))
+ .withMaterializedViewsToInclude(Arrays.asList("baxk", "xywr"))
+ .withMaterializedViewsToExclude(
+ Arrays.asList("yklyhpluodpvruud", "gzibthostgktstv", "xeclzedqbcvhzlhp", "odqkdlwwqfb"))
+ .withFunctionsToInclude(Arrays.asList("kxtrq"))
+ .withFunctionsToExclude(Arrays.asList("mlmbtxhwgfwsrta", "coezbrhubskh", "dyg", "ookk")))
+ .withDatabaseNameOverride("qjbvleorfmlu")
+ .withDatabaseNamePrefix("tqzfavyv");
model = BinaryData.fromObject(model).toObject(AttachedDatabaseConfigurationProperties.class);
- Assertions.assertEquals("pcesutrg", model.databaseName());
- Assertions.assertEquals("upauut", model.clusterResourceId());
- Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE, model.defaultPrincipalsModificationKind());
- Assertions.assertEquals("zpnfqntcypsxj", model.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("imwkslircizj", model.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("twnawjslbiwkojgc",
- model.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("aifmvikl", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("ejd", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("novqfzge", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("wcw", model.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("oknssxmojmsvpkjp", model.tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("yxgtczh", model.databaseNameOverride());
- Assertions.assertEquals("dbsdshm", model.databaseNamePrefix());
+ Assertions.assertEquals("ejd", model.databaseName());
+ Assertions.assertEquals("nxcvds", model.clusterResourceId());
+ Assertions.assertEquals(DefaultPrincipalsModificationKind.UNION, model.defaultPrincipalsModificationKind());
+ Assertions.assertEquals("ucea", model.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("kjprvk", model.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("zqljyxgtczh", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("bsdshmkxmaehvbbx",
+ model.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("baxk", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
+ Assertions.assertEquals("yklyhpluodpvruud",
+ model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("kxtrq", model.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("mlmbtxhwgfwsrta", model.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("qjbvleorfmlu", model.databaseNameOverride());
+ Assertions.assertEquals("tqzfavyv", model.databaseNamePrefix());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilityWithResponseMockTests.java
index 8c1431ad066cc..7a3fbfe435ffe 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameAvailabilityWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class AttachedDatabaseConfigurationsCheckNameAvailabilityWithRespon
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":true,\"name\":\"xjbaqehgpdohzjq\",\"message\":\"ucoig\",\"reason\":\"Invalid\"}";
+ = "{\"nameAvailable\":true,\"name\":\"qqekewvnqvcdlgu\",\"message\":\"cmfdjwnlax\",\"reason\":\"Invalid\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,14 +33,14 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.attachedDatabaseConfigurations()
- .checkNameAvailabilityWithResponse("ecjxe", "gtuhxuicbu",
- new AttachedDatabaseConfigurationsCheckNameRequest().withName("wmrswnjlxuzrh"),
+ .checkNameAvailabilityWithResponse("nsharujtjiqxfzyj", "ttvwkpqh",
+ new AttachedDatabaseConfigurationsCheckNameRequest().withName("penuy"),
com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(true, response.nameAvailable());
- Assertions.assertEquals("xjbaqehgpdohzjq", response.name());
- Assertions.assertEquals("ucoig", response.message());
+ Assertions.assertEquals("qqekewvnqvcdlgu", response.name());
+ Assertions.assertEquals("cmfdjwnlax", response.message());
Assertions.assertEquals(Reason.INVALID, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameRequestTests.java
index 8c22ba76a687e..f894f16faa89a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCheckNameRequestTests.java
@@ -11,16 +11,16 @@
public final class AttachedDatabaseConfigurationsCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- AttachedDatabaseConfigurationsCheckNameRequest model = BinaryData.fromString("{\"name\":\"wpmqt\"}")
+ AttachedDatabaseConfigurationsCheckNameRequest model = BinaryData.fromString("{\"name\":\"paxmodfvuefywsb\"}")
.toObject(AttachedDatabaseConfigurationsCheckNameRequest.class);
- Assertions.assertEquals("wpmqt", model.name());
+ Assertions.assertEquals("paxmodfvuefywsb", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
AttachedDatabaseConfigurationsCheckNameRequest model
- = new AttachedDatabaseConfigurationsCheckNameRequest().withName("wpmqt");
+ = new AttachedDatabaseConfigurationsCheckNameRequest().withName("paxmodfvuefywsb");
model = BinaryData.fromObject(model).toObject(AttachedDatabaseConfigurationsCheckNameRequest.class);
- Assertions.assertEquals("wpmqt", model.name());
+ Assertions.assertEquals("paxmodfvuefywsb", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateMockTests.java
index 6542d7de6c378..66e1d5cb8b990 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsCreateOrUpdateMockTests.java
@@ -24,7 +24,7 @@ public final class AttachedDatabaseConfigurationsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"location\":\"cjimryvwgcwwpbmz\",\"properties\":{\"provisioningState\":\"Succeeded\",\"databaseName\":\"ydsx\",\"clusterResourceId\":\"efoh\",\"attachedDatabaseNames\":[\"vopwndyqleallk\",\"mtkhlowkxxpvbr\",\"fjmzsyzfho\"],\"defaultPrincipalsModificationKind\":\"Replace\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"cyychunsjlp\"],\"tablesToExclude\":[\"wszhvvuicphvtrr\",\"hwrbfdpyflubh\",\"jgl\"],\"externalTablesToInclude\":[\"uyzlw\",\"hmem\",\"ooclutnp\",\"memczjkmmyk\"],\"externalTablesToExclude\":[\"xsglh\",\"rr\"],\"materializedViewsToInclude\":[\"jylmbkzudnigr\",\"ihotjewlpxuzzjg\",\"refqy\"],\"materializedViewsToExclude\":[\"toihiqakydi\",\"fb\"],\"functionsToInclude\":[\"pzdqtvhcspod\",\"qaxsipietgbebjf\",\"lbmoichd\"],\"functionsToExclude\":[\"fpubntnbatz\",\"iqsowsaaelc\",\"ttcjuhplrvkmjc\"]},\"databaseNameOverride\":\"jvlgfggcvkyyliz\",\"databaseNamePrefix\":\"bjpsfxsfuztlvtm\"},\"id\":\"agb\",\"name\":\"idqlvhu\",\"type\":\"oveofizrvjfnmj\"}";
+ = "{\"location\":\"gcvkyyli\",\"properties\":{\"provisioningState\":\"Succeeded\",\"databaseName\":\"jpsfxsfu\",\"clusterResourceId\":\"tl\",\"attachedDatabaseNames\":[\"vagbwidqlvhukove\",\"fizr\",\"jfnmjmvlwyz\",\"iblkujr\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"uidjpuuyjucej\"],\"tablesToExclude\":[\"oeo\",\"vtzejetjklnti\",\"yjuzkdb\"],\"externalTablesToInclude\":[\"lxrzvhqjwtr\"],\"externalTablesToExclude\":[\"vgzpcrrkolawj\"],\"materializedViewsToInclude\":[\"mwrokcdxfzzzwyja\"],\"materializedViewsToExclude\":[\"lhguyn\",\"chl\",\"mltx\"],\"functionsToInclude\":[\"mozusgzvlnsnnjz\"],\"functionsToExclude\":[\"folpymwamxqzra\",\"p\",\"dphtv\",\"ulajvlejchc\"]},\"databaseNameOverride\":\"lzk\",\"databaseNamePrefix\":\"zlanrupdwvnph\"},\"id\":\"nzqtpjhmqrhvt\",\"name\":\"laiwdcxsmlzzh\",\"type\":\"dtxetlgydlh\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,41 +34,40 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
AttachedDatabaseConfiguration response = manager.attachedDatabaseConfigurations()
- .define("zqcyknap")
- .withExistingCluster("d", "dtfgxqbawpcbb")
- .withRegion("fyuicdh")
- .withDatabaseName("bwwg")
- .withClusterResourceId("d")
+ .define("ucsofldpuviyf")
+ .withExistingCluster("eaclgschorimk", "srrm")
+ .withRegion("abeolhbhlvbm")
+ .withDatabaseName("bsxtkcudfbsfarfs")
+ .withClusterResourceId("owlkjxnqpv")
.withDefaultPrincipalsModificationKind(DefaultPrincipalsModificationKind.NONE)
- .withTableLevelSharingProperties(
- new TableLevelSharingProperties().withTablesToInclude(Arrays.asList("u", "apckccrrvw"))
- .withTablesToExclude(Arrays.asList("xoy", "ukphaimmoiroq"))
- .withExternalTablesToInclude(Arrays.asList("hbragapyyr", "fsv"))
- .withExternalTablesToExclude(Arrays.asList("vbopfppdbwnu", "gahxkumasjcaa"))
- .withMaterializedViewsToInclude(Arrays.asList("mmcpug", "ehqepvufhbzehe", "hoqhnl", "qnbldxe"))
- .withMaterializedViewsToExclude(Arrays.asList("gschorimkrsrr"))
- .withFunctionsToInclude(Arrays.asList("cso", "ldpuviy", "caab", "olhbhlvb"))
- .withFunctionsToExclude(Arrays.asList("qi", "s", "tkcudfbsfarfsiow")))
- .withDatabaseNameOverride("jxnqp")
- .withDatabaseNamePrefix("gf")
+ .withTableLevelSharingProperties(new TableLevelSharingProperties()
+ .withTablesToInclude(Arrays.asList("wefohecbvo", "wndyqleallk", "mtkhlowkxxpvbr", "fjmzsyzfho"))
+ .withTablesToExclude(Arrays.asList("ikcyyc"))
+ .withExternalTablesToInclude(Arrays.asList("sjlpjrtwszhv", "uic", "hvtrrmhwrbfdpyf"))
+ .withExternalTablesToExclude(Arrays.asList("hvj", "lrocuyzlwh"))
+ .withMaterializedViewsToInclude(Arrays.asList("mhoocl", "tnpqmemczjk", "mykyujxsglhs"))
+ .withMaterializedViewsToExclude(Arrays.asList("yejylmbkzudnigrf"))
+ .withFunctionsToInclude(Arrays.asList("tjewlpxuzzj", "nrefqyh", "otoihiqa", "ydiw"))
+ .withFunctionsToExclude(Arrays.asList("kwpzdqtvh", "spodaqax", "ipietgbe", "jfulbmoic")))
+ .withDatabaseNameOverride("lpnfpubntnb")
+ .withDatabaseNamePrefix("zviqsowsaae")
.create();
- Assertions.assertEquals("cjimryvwgcwwpbmz", response.location());
- Assertions.assertEquals("ydsx", response.databaseName());
- Assertions.assertEquals("efoh", response.clusterResourceId());
- Assertions.assertEquals(DefaultPrincipalsModificationKind.REPLACE,
- response.defaultPrincipalsModificationKind());
- Assertions.assertEquals("cyychunsjlp", response.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("wszhvvuicphvtrr", response.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("uyzlw", response.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("xsglh", response.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("jylmbkzudnigr",
+ Assertions.assertEquals("gcvkyyli", response.location());
+ Assertions.assertEquals("jpsfxsfu", response.databaseName());
+ Assertions.assertEquals("tl", response.clusterResourceId());
+ Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE, response.defaultPrincipalsModificationKind());
+ Assertions.assertEquals("uidjpuuyjucej", response.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("oeo", response.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("lxrzvhqjwtr", response.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("vgzpcrrkolawj",
+ response.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("mwrokcdxfzzzwyja",
response.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("toihiqakydi",
- response.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("pzdqtvhcspod", response.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("fpubntnbatz", response.tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("jvlgfggcvkyyliz", response.databaseNameOverride());
- Assertions.assertEquals("bjpsfxsfuztlvtm", response.databaseNamePrefix());
+ Assertions.assertEquals("lhguyn", response.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("mozusgzvlnsnnjz", response.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("folpymwamxqzra", response.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("lzk", response.databaseNameOverride());
+ Assertions.assertEquals("zlanrupdwvnph", response.databaseNamePrefix());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteMockTests.java
index f2cb59bd7d88e..a94e9be346e57 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsDeleteMockTests.java
@@ -27,7 +27,8 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.attachedDatabaseConfigurations().delete("lmv", "vfxzopjh", "zxlioh", com.azure.core.util.Context.NONE);
+ manager.attachedDatabaseConfigurations()
+ .delete("jcaacfdmmcpugm", "hqepvufhbzehewh", "qhnlbqnbld", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetWithResponseMockTests.java
index 02ab723fbbfef..d8341c7c7fe8e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsGetWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class AttachedDatabaseConfigurationsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"location\":\"zmkw\",\"properties\":{\"provisioningState\":\"Canceled\",\"databaseName\":\"oxaxm\",\"clusterResourceId\":\"e\",\"attachedDatabaseNames\":[\"h\",\"jnhgwydyyn\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"gbv\",\"ta\"],\"tablesToExclude\":[\"fdlpukhpyr\"],\"externalTablesToInclude\":[\"zjcpeogk\",\"nmg\"],\"externalTablesToExclude\":[\"uxddbhfh\",\"fpazjzoywjxhpd\",\"lontacnpq\",\"tehtuevrhrljyoog\"],\"materializedViewsToInclude\":[\"nsduugwbsre\",\"rfqkfuar\",\"nlvhhtklnvnafvv\",\"yfedevjbo\"],\"materializedViewsToExclude\":[\"qxypokkhminq\",\"ymc\",\"ngnbdxxew\",\"ninvudbchaqdt\"],\"functionsToInclude\":[\"crqctmxxdtddmflh\"],\"functionsToExclude\":[\"xzvtzna\"]},\"databaseNameOverride\":\"bannovvoxczytp\",\"databaseNamePrefix\":\"nwvroevytlyokrr\"},\"id\":\"o\",\"name\":\"uxvnsasbcrymodi\",\"type\":\"rxklobdxnazpmk\"}";
+ = "{\"location\":\"dxxewuninv\",\"properties\":{\"provisioningState\":\"Canceled\",\"databaseName\":\"h\",\"clusterResourceId\":\"qdtvqecrqctmxx\",\"attachedDatabaseNames\":[\"dmflhuytx\"],\"defaultPrincipalsModificationKind\":\"Replace\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"apxbannovvoxczy\",\"prwnwvroevytlyo\",\"rrrouuxvnsa\"],\"tablesToExclude\":[\"rymo\",\"izrxklob\",\"xnazpmkml\",\"vevfxz\"],\"externalTablesToInclude\":[\"hbzxli\",\"hrdd\",\"tfgxqbawpcb\",\"nzqcy\"],\"externalTablesToExclude\":[\"p\",\"ofyuicd\",\"zb\"],\"materializedViewsToInclude\":[\"wwgbdv\"],\"materializedViewsToExclude\":[\"dmhm\",\"ffplfmuvapckcc\"],\"functionsToInclude\":[\"weyoxoy\"],\"functionsToExclude\":[\"phaimmoi\"]},\"databaseNameOverride\":\"qboshbra\",\"databaseNamePrefix\":\"pyyrmfs\"},\"id\":\"bpav\",\"name\":\"opfppdbwnupgah\",\"type\":\"kuma\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,24 +32,23 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
AttachedDatabaseConfiguration response = manager.attachedDatabaseConfigurations()
- .getWithResponse("nlgmtrwahzjmu", "ftbyrplro", "kpigqfusu", com.azure.core.util.Context.NONE)
+ .getWithResponse("lcqxypokk", "minqcym", "zng", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("zmkw", response.location());
- Assertions.assertEquals("oxaxm", response.databaseName());
- Assertions.assertEquals("e", response.clusterResourceId());
- Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE, response.defaultPrincipalsModificationKind());
- Assertions.assertEquals("gbv", response.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("fdlpukhpyr", response.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("zjcpeogk", response.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("uxddbhfh", response.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("nsduugwbsre",
- response.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("qxypokkhminq",
- response.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("crqctmxxdtddmflh", response.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("xzvtzna", response.tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("bannovvoxczytp", response.databaseNameOverride());
- Assertions.assertEquals("nwvroevytlyokrr", response.databaseNamePrefix());
+ Assertions.assertEquals("dxxewuninv", response.location());
+ Assertions.assertEquals("h", response.databaseName());
+ Assertions.assertEquals("qdtvqecrqctmxx", response.clusterResourceId());
+ Assertions.assertEquals(DefaultPrincipalsModificationKind.REPLACE,
+ response.defaultPrincipalsModificationKind());
+ Assertions.assertEquals("apxbannovvoxczy", response.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("rymo", response.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("hbzxli", response.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("p", response.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("wwgbdv", response.tableLevelSharingProperties().materializedViewsToInclude().get(0));
+ Assertions.assertEquals("dmhm", response.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("weyoxoy", response.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("phaimmoi", response.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("qboshbra", response.databaseNameOverride());
+ Assertions.assertEquals("pyyrmfs", response.databaseNamePrefix());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterMockTests.java
index de142278346b4..92c6d1785110a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AttachedDatabaseConfigurationsListByClusterMockTests.java
@@ -23,7 +23,7 @@ public final class AttachedDatabaseConfigurationsListByClusterMockTests {
@Test
public void testListByCluster() throws Exception {
String responseStr
- = "{\"value\":[{\"location\":\"bjb\",\"properties\":{\"provisioningState\":\"Canceled\",\"databaseName\":\"gtdysnaqu\",\"clusterResourceId\":\"lqbctqhamzjrw\",\"attachedDatabaseNames\":[\"zeqyjleziun\",\"xdfzantkw\",\"eg\",\"amlbnseqacjjvpil\"],\"defaultPrincipalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"jagmdi\",\"gueiookjbsahrtdt\",\"delqacslmoto\",\"bnfxofvc\"],\"tablesToExclude\":[\"dirazf\",\"xejw\"],\"externalTablesToInclude\":[\"dujtmvcope\",\"c\",\"jurbuhhlkyqltqsr\",\"gtuwkff\"],\"externalTablesToExclude\":[\"tsysi\",\"fvcl\",\"lxnfuijtkbusqogs\",\"ikayiansharuj\"],\"materializedViewsToInclude\":[\"qxfzyjqttvwk\"],\"materializedViewsToExclude\":[\"j\",\"enuygbq\",\"qqekewvnqvcdlgu\"],\"functionsToInclude\":[\"mfdjwn\",\"axpunjqikczvv\",\"tacgxmfc\"],\"functionsToExclude\":[\"rxhtvso\"]},\"databaseNameOverride\":\"lwntsjgqrs\",\"databaseNamePrefix\":\"p\"},\"id\":\"uuuybnchrsziz\",\"name\":\"yuel\",\"type\":\"etndnbfqyggagf\"}]}";
+ = "{\"value\":[{\"location\":\"gx\",\"properties\":{\"provisioningState\":\"Running\",\"databaseName\":\"serxht\",\"clusterResourceId\":\"soxhlwntsjgqr\",\"attachedDatabaseNames\":[\"p\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"bnchrsziz\"],\"tablesToExclude\":[\"elyetndnbf\",\"yggagflnlgmt\",\"wahzjmucftbyr\"],\"externalTablesToInclude\":[\"ohkpigqfu\",\"u\",\"kzmkwklsnoxaxmqe\"],\"externalTablesToExclude\":[\"h\",\"jnhgwydyyn\"],\"materializedViewsToInclude\":[\"khgb\"],\"materializedViewsToExclude\":[\"anarfdlpukhpyrne\"],\"functionsToInclude\":[\"cpeogkhnmgbrou\",\"ddbhf\",\"pfpazjzoywjxhpdu\"],\"functionsToExclude\":[\"tacnpqwtehtuev\",\"hrljy\"]},\"databaseNameOverride\":\"gwxhnsduugwbsreu\",\"databaseNamePrefix\":\"q\"},\"id\":\"fuarenlvhht\",\"name\":\"lnvnafvvkyfedev\",\"type\":\"bo\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,31 +32,31 @@ public void testListByCluster() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- PagedIterable response = manager.attachedDatabaseConfigurations()
- .listByCluster("ncnwfepbnwgf", "xjg", com.azure.core.util.Context.NONE);
+ PagedIterable response
+ = manager.attachedDatabaseConfigurations().listByCluster("jqi", "czvvit", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("bjb", response.iterator().next().location());
- Assertions.assertEquals("gtdysnaqu", response.iterator().next().databaseName());
- Assertions.assertEquals("lqbctqhamzjrw", response.iterator().next().clusterResourceId());
- Assertions.assertEquals(DefaultPrincipalsModificationKind.NONE,
+ Assertions.assertEquals("gx", response.iterator().next().location());
+ Assertions.assertEquals("serxht", response.iterator().next().databaseName());
+ Assertions.assertEquals("soxhlwntsjgqr", response.iterator().next().clusterResourceId());
+ Assertions.assertEquals(DefaultPrincipalsModificationKind.UNION,
response.iterator().next().defaultPrincipalsModificationKind());
- Assertions.assertEquals("jagmdi",
+ Assertions.assertEquals("bnchrsziz",
response.iterator().next().tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("dirazf",
+ Assertions.assertEquals("elyetndnbf",
response.iterator().next().tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("dujtmvcope",
+ Assertions.assertEquals("ohkpigqfu",
response.iterator().next().tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("tsysi",
+ Assertions.assertEquals("h",
response.iterator().next().tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("qxfzyjqttvwk",
+ Assertions.assertEquals("khgb",
response.iterator().next().tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("j",
+ Assertions.assertEquals("anarfdlpukhpyrne",
response.iterator().next().tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("mfdjwn",
+ Assertions.assertEquals("cpeogkhnmgbrou",
response.iterator().next().tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("rxhtvso",
+ Assertions.assertEquals("tacnpqwtehtuev",
response.iterator().next().tableLevelSharingProperties().functionsToExclude().get(0));
- Assertions.assertEquals("lwntsjgqrs", response.iterator().next().databaseNameOverride());
- Assertions.assertEquals("p", response.iterator().next().databaseNamePrefix());
+ Assertions.assertEquals("gwxhnsduugwbsreu", response.iterator().next().databaseNameOverride());
+ Assertions.assertEquals("q", response.iterator().next().databaseNamePrefix());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureCapacityTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureCapacityTests.java
index 11b63e47417eb..233aa6afc14d7 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureCapacityTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureCapacityTests.java
@@ -13,25 +13,24 @@ public final class AzureCapacityTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
AzureCapacity model = BinaryData
- .fromString(
- "{\"scaleType\":\"manual\",\"minimum\":1953452133,\"maximum\":709486053,\"default\":1687454547}")
+ .fromString("{\"scaleType\":\"none\",\"minimum\":10985850,\"maximum\":107340083,\"default\":1397433575}")
.toObject(AzureCapacity.class);
- Assertions.assertEquals(AzureScaleType.MANUAL, model.scaleType());
- Assertions.assertEquals(1953452133, model.minimum());
- Assertions.assertEquals(709486053, model.maximum());
- Assertions.assertEquals(1687454547, model.defaultProperty());
+ Assertions.assertEquals(AzureScaleType.NONE, model.scaleType());
+ Assertions.assertEquals(10985850, model.minimum());
+ Assertions.assertEquals(107340083, model.maximum());
+ Assertions.assertEquals(1397433575, model.defaultProperty());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- AzureCapacity model = new AzureCapacity().withScaleType(AzureScaleType.MANUAL)
- .withMinimum(1953452133)
- .withMaximum(709486053)
- .withDefaultProperty(1687454547);
+ AzureCapacity model = new AzureCapacity().withScaleType(AzureScaleType.NONE)
+ .withMinimum(10985850)
+ .withMaximum(107340083)
+ .withDefaultProperty(1397433575);
model = BinaryData.fromObject(model).toObject(AzureCapacity.class);
- Assertions.assertEquals(AzureScaleType.MANUAL, model.scaleType());
- Assertions.assertEquals(1953452133, model.minimum());
- Assertions.assertEquals(709486053, model.maximum());
- Assertions.assertEquals(1687454547, model.defaultProperty());
+ Assertions.assertEquals(AzureScaleType.NONE, model.scaleType());
+ Assertions.assertEquals(10985850, model.minimum());
+ Assertions.assertEquals(107340083, model.maximum());
+ Assertions.assertEquals(1397433575, model.defaultProperty());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureResourceSkuInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureResourceSkuInnerTests.java
index 0aa722afe3b2c..fb7d49ed99931 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureResourceSkuInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/AzureResourceSkuInnerTests.java
@@ -17,36 +17,36 @@ public final class AzureResourceSkuInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
AzureResourceSkuInner model = BinaryData.fromString(
- "{\"resourceType\":\"ndslgnayqigynduh\",\"sku\":{\"name\":\"Standard_EC8as_v5+1TB_PS\",\"capacity\":1238517729,\"tier\":\"Standard\"},\"capacity\":{\"scaleType\":\"manual\",\"minimum\":918393543,\"maximum\":1117250592,\"default\":1615397265}}")
+ "{\"resourceType\":\"xvy\",\"sku\":{\"name\":\"Standard_D13_v2\",\"capacity\":1838860649,\"tier\":\"Basic\"},\"capacity\":{\"scaleType\":\"none\",\"minimum\":1364703724,\"maximum\":2107852573,\"default\":1321769346}}")
.toObject(AzureResourceSkuInner.class);
- Assertions.assertEquals("ndslgnayqigynduh", model.resourceType());
- Assertions.assertEquals(AzureSkuName.STANDARD_EC8AS_V5_1TB_PS, model.sku().name());
- Assertions.assertEquals(1238517729, model.sku().capacity());
- Assertions.assertEquals(AzureSkuTier.STANDARD, model.sku().tier());
- Assertions.assertEquals(AzureScaleType.MANUAL, model.capacity().scaleType());
- Assertions.assertEquals(918393543, model.capacity().minimum());
- Assertions.assertEquals(1117250592, model.capacity().maximum());
- Assertions.assertEquals(1615397265, model.capacity().defaultProperty());
+ Assertions.assertEquals("xvy", model.resourceType());
+ Assertions.assertEquals(AzureSkuName.STANDARD_D13_V2, model.sku().name());
+ Assertions.assertEquals(1838860649, model.sku().capacity());
+ Assertions.assertEquals(AzureSkuTier.BASIC, model.sku().tier());
+ Assertions.assertEquals(AzureScaleType.NONE, model.capacity().scaleType());
+ Assertions.assertEquals(1364703724, model.capacity().minimum());
+ Assertions.assertEquals(2107852573, model.capacity().maximum());
+ Assertions.assertEquals(1321769346, model.capacity().defaultProperty());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- AzureResourceSkuInner model = new AzureResourceSkuInner().withResourceType("ndslgnayqigynduh")
- .withSku(new AzureSku().withName(AzureSkuName.STANDARD_EC8AS_V5_1TB_PS)
- .withCapacity(1238517729)
- .withTier(AzureSkuTier.STANDARD))
- .withCapacity(new AzureCapacity().withScaleType(AzureScaleType.MANUAL)
- .withMinimum(918393543)
- .withMaximum(1117250592)
- .withDefaultProperty(1615397265));
+ AzureResourceSkuInner model = new AzureResourceSkuInner().withResourceType("xvy")
+ .withSku(new AzureSku().withName(AzureSkuName.STANDARD_D13_V2)
+ .withCapacity(1838860649)
+ .withTier(AzureSkuTier.BASIC))
+ .withCapacity(new AzureCapacity().withScaleType(AzureScaleType.NONE)
+ .withMinimum(1364703724)
+ .withMaximum(2107852573)
+ .withDefaultProperty(1321769346));
model = BinaryData.fromObject(model).toObject(AzureResourceSkuInner.class);
- Assertions.assertEquals("ndslgnayqigynduh", model.resourceType());
- Assertions.assertEquals(AzureSkuName.STANDARD_EC8AS_V5_1TB_PS, model.sku().name());
- Assertions.assertEquals(1238517729, model.sku().capacity());
- Assertions.assertEquals(AzureSkuTier.STANDARD, model.sku().tier());
- Assertions.assertEquals(AzureScaleType.MANUAL, model.capacity().scaleType());
- Assertions.assertEquals(918393543, model.capacity().minimum());
- Assertions.assertEquals(1117250592, model.capacity().maximum());
- Assertions.assertEquals(1615397265, model.capacity().defaultProperty());
+ Assertions.assertEquals("xvy", model.resourceType());
+ Assertions.assertEquals(AzureSkuName.STANDARD_D13_V2, model.sku().name());
+ Assertions.assertEquals(1838860649, model.sku().capacity());
+ Assertions.assertEquals(AzureSkuTier.BASIC, model.sku().tier());
+ Assertions.assertEquals(AzureScaleType.NONE, model.capacity().scaleType());
+ Assertions.assertEquals(1364703724, model.capacity().minimum());
+ Assertions.assertEquals(2107852573, model.capacity().maximum());
+ Assertions.assertEquals(1321769346, model.capacity().defaultProperty());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPoliciesListTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPoliciesListTests.java
new file mode 100644
index 0000000000000..43e9489f3bdba
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPoliciesListTests.java
@@ -0,0 +1,43 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
+import com.azure.resourcemanager.kusto.models.CalloutPoliciesList;
+import com.azure.resourcemanager.kusto.models.CalloutType;
+import com.azure.resourcemanager.kusto.models.OutboundAccess;
+import java.util.Arrays;
+import org.junit.jupiter.api.Assertions;
+
+public final class CalloutPoliciesListTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ CalloutPoliciesList model = BinaryData.fromString(
+ "{\"value\":[{\"calloutUriRegex\":\"ybvpay\",\"calloutType\":\"sandbox_artifacts\",\"outboundAccess\":\"Deny\",\"calloutId\":\"px\"},{\"calloutUriRegex\":\"jplmagstcy\",\"calloutType\":\"cosmosdb\",\"outboundAccess\":\"Allow\",\"calloutId\":\"rkdbdgiogsjkmnwq\"}],\"nextLink\":\"obaiyhddviaceg\"}")
+ .toObject(CalloutPoliciesList.class);
+ Assertions.assertEquals("ybvpay", model.value().get(0).calloutUriRegex());
+ Assertions.assertEquals(CalloutType.SANDBOX_ARTIFACTS, model.value().get(0).calloutType());
+ Assertions.assertEquals(OutboundAccess.DENY, model.value().get(0).outboundAccess());
+ Assertions.assertEquals("obaiyhddviaceg", model.nextLink());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ CalloutPoliciesList model = new CalloutPoliciesList().withValue(Arrays.asList(
+ new CalloutPolicyInner().withCalloutUriRegex("ybvpay")
+ .withCalloutType(CalloutType.SANDBOX_ARTIFACTS)
+ .withOutboundAccess(OutboundAccess.DENY),
+ new CalloutPolicyInner().withCalloutUriRegex("jplmagstcy")
+ .withCalloutType(CalloutType.COSMOSDB)
+ .withOutboundAccess(OutboundAccess.ALLOW)))
+ .withNextLink("obaiyhddviaceg");
+ model = BinaryData.fromObject(model).toObject(CalloutPoliciesList.class);
+ Assertions.assertEquals("ybvpay", model.value().get(0).calloutUriRegex());
+ Assertions.assertEquals(CalloutType.SANDBOX_ARTIFACTS, model.value().get(0).calloutType());
+ Assertions.assertEquals(OutboundAccess.DENY, model.value().get(0).outboundAccess());
+ Assertions.assertEquals("obaiyhddviaceg", model.nextLink());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyInnerTests.java
new file mode 100644
index 0000000000000..aa7eaed504e75
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyInnerTests.java
@@ -0,0 +1,34 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
+import com.azure.resourcemanager.kusto.models.CalloutType;
+import com.azure.resourcemanager.kusto.models.OutboundAccess;
+import org.junit.jupiter.api.Assertions;
+
+public final class CalloutPolicyInnerTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ CalloutPolicyInner model = BinaryData.fromString(
+ "{\"calloutUriRegex\":\"nmayhuybb\",\"calloutType\":\"postgresql\",\"outboundAccess\":\"Allow\",\"calloutId\":\"ooginuvamih\"}")
+ .toObject(CalloutPolicyInner.class);
+ Assertions.assertEquals("nmayhuybb", model.calloutUriRegex());
+ Assertions.assertEquals(CalloutType.POSTGRESQL, model.calloutType());
+ Assertions.assertEquals(OutboundAccess.ALLOW, model.outboundAccess());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ CalloutPolicyInner model = new CalloutPolicyInner().withCalloutUriRegex("nmayhuybb")
+ .withCalloutType(CalloutType.POSTGRESQL)
+ .withOutboundAccess(OutboundAccess.ALLOW);
+ model = BinaryData.fromObject(model).toObject(CalloutPolicyInner.class);
+ Assertions.assertEquals("nmayhuybb", model.calloutUriRegex());
+ Assertions.assertEquals(CalloutType.POSTGRESQL, model.calloutType());
+ Assertions.assertEquals(OutboundAccess.ALLOW, model.outboundAccess());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyToRemoveTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyToRemoveTests.java
new file mode 100644
index 0000000000000..d00a6fad5b215
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CalloutPolicyToRemoveTests.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.kusto.models.CalloutPolicyToRemove;
+import org.junit.jupiter.api.Assertions;
+
+public final class CalloutPolicyToRemoveTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ CalloutPolicyToRemove model
+ = BinaryData.fromString("{\"calloutId\":\"m\"}").toObject(CalloutPolicyToRemove.class);
+ Assertions.assertEquals("m", model.calloutId());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ CalloutPolicyToRemove model = new CalloutPolicyToRemove().withCalloutId("m");
+ model = BinaryData.fromObject(model).toObject(CalloutPolicyToRemove.class);
+ Assertions.assertEquals("m", model.calloutId());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameRequestTests.java
index aa4646f536e0d..95d32dd243035 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameRequestTests.java
@@ -12,19 +12,20 @@
public final class CheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- CheckNameRequest model
- = BinaryData.fromString("{\"name\":\"tpvjzbexilzznfqq\",\"type\":\"Microsoft.Kusto/clusters/databases\"}")
- .toObject(CheckNameRequest.class);
- Assertions.assertEquals("tpvjzbexilzznfqq", model.name());
- Assertions.assertEquals(Type.MICROSOFT_KUSTO_CLUSTERS_DATABASES, model.type());
+ CheckNameRequest model = BinaryData
+ .fromString(
+ "{\"name\":\"pdggkzzlvm\",\"type\":\"Microsoft.Kusto/clusters/attachedDatabaseConfigurations\"}")
+ .toObject(CheckNameRequest.class);
+ Assertions.assertEquals("pdggkzzlvm", model.name());
+ Assertions.assertEquals(Type.MICROSOFT_KUSTO_CLUSTERS_ATTACHED_DATABASE_CONFIGURATIONS, model.type());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CheckNameRequest model
- = new CheckNameRequest().withName("tpvjzbexilzznfqq").withType(Type.MICROSOFT_KUSTO_CLUSTERS_DATABASES);
+ CheckNameRequest model = new CheckNameRequest().withName("pdggkzzlvm")
+ .withType(Type.MICROSOFT_KUSTO_CLUSTERS_ATTACHED_DATABASE_CONFIGURATIONS);
model = BinaryData.fromObject(model).toObject(CheckNameRequest.class);
- Assertions.assertEquals("tpvjzbexilzznfqq", model.name());
- Assertions.assertEquals(Type.MICROSOFT_KUSTO_CLUSTERS_DATABASES, model.type());
+ Assertions.assertEquals("pdggkzzlvm", model.name());
+ Assertions.assertEquals(Type.MICROSOFT_KUSTO_CLUSTERS_ATTACHED_DATABASE_CONFIGURATIONS, model.type());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameResultInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameResultInnerTests.java
index 74ee69fd4c774..839105cbd2ad6 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameResultInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CheckNameResultInnerTests.java
@@ -13,25 +13,24 @@ public final class CheckNameResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CheckNameResultInner model = BinaryData
- .fromString(
- "{\"nameAvailable\":false,\"name\":\"jq\",\"message\":\"hmuouqfprwzwbn\",\"reason\":\"AlreadyExists\"}")
+ .fromString("{\"nameAvailable\":false,\"name\":\"y\",\"message\":\"hr\",\"reason\":\"AlreadyExists\"}")
.toObject(CheckNameResultInner.class);
Assertions.assertEquals(false, model.nameAvailable());
- Assertions.assertEquals("jq", model.name());
- Assertions.assertEquals("hmuouqfprwzwbn", model.message());
+ Assertions.assertEquals("y", model.name());
+ Assertions.assertEquals("hr", model.message());
Assertions.assertEquals(Reason.ALREADY_EXISTS, model.reason());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
CheckNameResultInner model = new CheckNameResultInner().withNameAvailable(false)
- .withName("jq")
- .withMessage("hmuouqfprwzwbn")
+ .withName("y")
+ .withMessage("hr")
.withReason(Reason.ALREADY_EXISTS);
model = BinaryData.fromObject(model).toObject(CheckNameResultInner.class);
Assertions.assertEquals(false, model.nameAvailable());
- Assertions.assertEquals("jq", model.name());
- Assertions.assertEquals("hmuouqfprwzwbn", model.message());
+ Assertions.assertEquals("y", model.name());
+ Assertions.assertEquals("hr", model.message());
Assertions.assertEquals(Reason.ALREADY_EXISTS, model.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterCheckNameRequestTests.java
index 1a74cc3d9a648..90bb68518e177 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterCheckNameRequestTests.java
@@ -12,14 +12,14 @@ public final class ClusterCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ClusterCheckNameRequest model
- = BinaryData.fromString("{\"name\":\"t\"}").toObject(ClusterCheckNameRequest.class);
- Assertions.assertEquals("t", model.name());
+ = BinaryData.fromString("{\"name\":\"niyqslui\"}").toObject(ClusterCheckNameRequest.class);
+ Assertions.assertEquals("niyqslui", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ClusterCheckNameRequest model = new ClusterCheckNameRequest().withName("t");
+ ClusterCheckNameRequest model = new ClusterCheckNameRequest().withName("niyqslui");
model = BinaryData.fromObject(model).toObject(ClusterCheckNameRequest.class);
- Assertions.assertEquals("t", model.name());
+ Assertions.assertEquals("niyqslui", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterMigrateRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterMigrateRequestTests.java
index 06aa9cb3fbfe6..0f430b7281e63 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterMigrateRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterMigrateRequestTests.java
@@ -12,14 +12,14 @@ public final class ClusterMigrateRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ClusterMigrateRequest model
- = BinaryData.fromString("{\"clusterResourceId\":\"cpr\"}").toObject(ClusterMigrateRequest.class);
- Assertions.assertEquals("cpr", model.clusterResourceId());
+ = BinaryData.fromString("{\"clusterResourceId\":\"rwzwbng\"}").toObject(ClusterMigrateRequest.class);
+ Assertions.assertEquals("rwzwbng", model.clusterResourceId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ClusterMigrateRequest model = new ClusterMigrateRequest().withClusterResourceId("cpr");
+ ClusterMigrateRequest model = new ClusterMigrateRequest().withClusterResourceId("rwzwbng");
model = BinaryData.fromObject(model).toObject(ClusterMigrateRequest.class);
- Assertions.assertEquals("cpr", model.clusterResourceId());
+ Assertions.assertEquals("rwzwbng", model.clusterResourceId());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentCheckNameRequestTests.java
index 52ae46c192a18..79517baefcfcc 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentCheckNameRequestTests.java
@@ -11,16 +11,16 @@
public final class ClusterPrincipalAssignmentCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- ClusterPrincipalAssignmentCheckNameRequest model = BinaryData.fromString("{\"name\":\"nwbxgjvtbvpyssz\"}")
+ ClusterPrincipalAssignmentCheckNameRequest model = BinaryData.fromString("{\"name\":\"itnwuizgazxufi\"}")
.toObject(ClusterPrincipalAssignmentCheckNameRequest.class);
- Assertions.assertEquals("nwbxgjvtbvpyssz", model.name());
+ Assertions.assertEquals("itnwuizgazxufi", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
ClusterPrincipalAssignmentCheckNameRequest model
- = new ClusterPrincipalAssignmentCheckNameRequest().withName("nwbxgjvtbvpyssz");
+ = new ClusterPrincipalAssignmentCheckNameRequest().withName("itnwuizgazxufi");
model = BinaryData.fromObject(model).toObject(ClusterPrincipalAssignmentCheckNameRequest.class);
- Assertions.assertEquals("nwbxgjvtbvpyssz", model.name());
+ Assertions.assertEquals("itnwuizgazxufi", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentInnerTests.java
index a217aa1e29ca2..e00419344d53c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentInnerTests.java
@@ -14,24 +14,24 @@ public final class ClusterPrincipalAssignmentInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ClusterPrincipalAssignmentInner model = BinaryData.fromString(
- "{\"properties\":{\"principalId\":\"nwui\",\"role\":\"AllDatabasesAdmin\",\"tenantId\":\"zxufiz\",\"principalType\":\"App\",\"tenantName\":\"y\",\"principalName\":\"hr\",\"provisioningState\":\"Moving\",\"aadObjectId\":\"vzwdzuhtymwis\"},\"id\":\"kfthwxmntei\",\"name\":\"aop\",\"type\":\"km\"}")
+ "{\"properties\":{\"principalId\":\"vzwdzuhtymwis\",\"role\":\"AllDatabasesViewer\",\"tenantId\":\"thwxmnteiwaopvkm\",\"principalType\":\"Group\",\"tenantName\":\"mmxdcu\",\"principalName\":\"fsrpymzidnse\",\"provisioningState\":\"Moving\",\"aadObjectId\":\"bzsgfyccsne\"},\"id\":\"mdwzjeiachboo\",\"name\":\"flnrosfqpteehzz\",\"type\":\"ypyqrimzinp\"}")
.toObject(ClusterPrincipalAssignmentInner.class);
- Assertions.assertEquals("nwui", model.principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, model.role());
- Assertions.assertEquals("zxufiz", model.tenantId());
- Assertions.assertEquals(PrincipalType.APP, model.principalType());
+ Assertions.assertEquals("vzwdzuhtymwis", model.principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_VIEWER, model.role());
+ Assertions.assertEquals("thwxmnteiwaopvkm", model.tenantId());
+ Assertions.assertEquals(PrincipalType.GROUP, model.principalType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ClusterPrincipalAssignmentInner model = new ClusterPrincipalAssignmentInner().withPrincipalId("nwui")
- .withRole(ClusterPrincipalRole.ALL_DATABASES_ADMIN)
- .withTenantId("zxufiz")
- .withPrincipalType(PrincipalType.APP);
+ ClusterPrincipalAssignmentInner model = new ClusterPrincipalAssignmentInner().withPrincipalId("vzwdzuhtymwis")
+ .withRole(ClusterPrincipalRole.ALL_DATABASES_VIEWER)
+ .withTenantId("thwxmnteiwaopvkm")
+ .withPrincipalType(PrincipalType.GROUP);
model = BinaryData.fromObject(model).toObject(ClusterPrincipalAssignmentInner.class);
- Assertions.assertEquals("nwui", model.principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, model.role());
- Assertions.assertEquals("zxufiz", model.tenantId());
- Assertions.assertEquals(PrincipalType.APP, model.principalType());
+ Assertions.assertEquals("vzwdzuhtymwis", model.principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_VIEWER, model.role());
+ Assertions.assertEquals("thwxmnteiwaopvkm", model.tenantId());
+ Assertions.assertEquals(PrincipalType.GROUP, model.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentListResultTests.java
index 77d01132ea2aa..dae5d03ba7589 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentListResultTests.java
@@ -16,29 +16,25 @@ public final class ClusterPrincipalAssignmentListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ClusterPrincipalAssignmentListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"principalId\":\"sflnrosfqp\",\"role\":\"AllDatabasesAdmin\",\"tenantId\":\"hzzvypyq\",\"principalType\":\"User\",\"tenantName\":\"z\",\"principalName\":\"pvswjdkirso\",\"provisioningState\":\"Deleting\",\"aadObjectId\":\"hc\"},\"id\":\"mnoh\",\"name\":\"t\",\"type\":\"kwh\"},{\"properties\":{\"principalId\":\"oifiyipjxsqwpgr\",\"role\":\"AllDatabasesViewer\",\"tenantId\":\"norcjxvsnbyxqab\",\"principalType\":\"User\",\"tenantName\":\"cpc\",\"principalName\":\"hurzafblj\",\"provisioningState\":\"Creating\",\"aadObjectId\":\"toqcjmklja\"},\"id\":\"bqidtqaj\",\"name\":\"yulpkudjkr\",\"type\":\"khbzhfepgzg\"}]}")
+ "{\"value\":[{\"properties\":{\"principalId\":\"cyshurzafbljjgp\",\"role\":\"AllDatabasesMonitor\",\"tenantId\":\"qcjm\",\"principalType\":\"Group\",\"tenantName\":\"a\",\"principalName\":\"qidtqajzyu\",\"provisioningState\":\"Deleting\",\"aadObjectId\":\"dj\"},\"id\":\"rlkhbzhfepgzgq\",\"name\":\"xzlocxscp\",\"type\":\"ierhhbcsglummaj\"}]}")
.toObject(ClusterPrincipalAssignmentListResult.class);
- Assertions.assertEquals("sflnrosfqp", model.value().get(0).principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, model.value().get(0).role());
- Assertions.assertEquals("hzzvypyq", model.value().get(0).tenantId());
- Assertions.assertEquals(PrincipalType.USER, model.value().get(0).principalType());
+ Assertions.assertEquals("cyshurzafbljjgp", model.value().get(0).principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_MONITOR, model.value().get(0).role());
+ Assertions.assertEquals("qcjm", model.value().get(0).tenantId());
+ Assertions.assertEquals(PrincipalType.GROUP, model.value().get(0).principalType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ClusterPrincipalAssignmentListResult model = new ClusterPrincipalAssignmentListResult().withValue(Arrays.asList(
- new ClusterPrincipalAssignmentInner().withPrincipalId("sflnrosfqp")
- .withRole(ClusterPrincipalRole.ALL_DATABASES_ADMIN)
- .withTenantId("hzzvypyq")
- .withPrincipalType(PrincipalType.USER),
- new ClusterPrincipalAssignmentInner().withPrincipalId("oifiyipjxsqwpgr")
- .withRole(ClusterPrincipalRole.ALL_DATABASES_VIEWER)
- .withTenantId("norcjxvsnbyxqab")
- .withPrincipalType(PrincipalType.USER)));
+ ClusterPrincipalAssignmentListResult model = new ClusterPrincipalAssignmentListResult()
+ .withValue(Arrays.asList(new ClusterPrincipalAssignmentInner().withPrincipalId("cyshurzafbljjgp")
+ .withRole(ClusterPrincipalRole.ALL_DATABASES_MONITOR)
+ .withTenantId("qcjm")
+ .withPrincipalType(PrincipalType.GROUP)));
model = BinaryData.fromObject(model).toObject(ClusterPrincipalAssignmentListResult.class);
- Assertions.assertEquals("sflnrosfqp", model.value().get(0).principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, model.value().get(0).role());
- Assertions.assertEquals("hzzvypyq", model.value().get(0).tenantId());
- Assertions.assertEquals(PrincipalType.USER, model.value().get(0).principalType());
+ Assertions.assertEquals("cyshurzafbljjgp", model.value().get(0).principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_MONITOR, model.value().get(0).role());
+ Assertions.assertEquals("qcjm", model.value().get(0).tenantId());
+ Assertions.assertEquals(PrincipalType.GROUP, model.value().get(0).principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java
index 16b6bc094cc1b..6c52291ac20d4 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class ClusterPrincipalAssignmentsCheckNameAvailabilityWithResponseM
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":true,\"name\":\"v\",\"message\":\"yasflvgsgzwy\",\"reason\":\"Invalid\"}";
+ = "{\"nameAvailable\":true,\"name\":\"kfkimrtixok\",\"message\":\"qyinl\",\"reason\":\"Invalid\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,14 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.clusterPrincipalAssignments()
- .checkNameAvailabilityWithResponse("z", "puamwabzxr",
- new ClusterPrincipalAssignmentCheckNameRequest().withName("xcushs"), com.azure.core.util.Context.NONE)
+ .checkNameAvailabilityWithResponse("gaao", "pttaqutd",
+ new ClusterPrincipalAssignmentCheckNameRequest().withName("wemxswvruunzz"),
+ com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(true, response.nameAvailable());
- Assertions.assertEquals("v", response.name());
- Assertions.assertEquals("yasflvgsgzwy", response.message());
+ Assertions.assertEquals("kfkimrtixok", response.name());
+ Assertions.assertEquals("qyinl", response.message());
Assertions.assertEquals(Reason.INVALID, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateMockTests.java
index 3dfa269cec038..ad2cc35edb294 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsCreateOrUpdateMockTests.java
@@ -23,7 +23,7 @@ public final class ClusterPrincipalAssignmentsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"principalId\":\"zjkjexfdeqv\",\"role\":\"AllDatabasesViewer\",\"tenantId\":\"ylkkshkbffmbm\",\"principalType\":\"Group\",\"tenantName\":\"rgywwp\",\"principalName\":\"xs\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"ujgicgaaoe\"},\"id\":\"ttaqutdew\",\"name\":\"mxswvruunzz\",\"type\":\"gehkfkimrtixokff\"}";
+ = "{\"properties\":{\"principalId\":\"syrq\",\"role\":\"AllDatabasesAdmin\",\"tenantId\":\"qhd\",\"principalType\":\"Group\",\"tenantName\":\"aulk\",\"principalName\":\"kdk\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"nnawtqabpxuckpgg\"},\"id\":\"oweyirdhlis\",\"name\":\"gwflq\",\"type\":\"mpizru\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,17 +33,17 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
ClusterPrincipalAssignment response = manager.clusterPrincipalAssignments()
- .define("fy")
- .withExistingCluster("z", "kiwbuqnyoph")
- .withPrincipalId("gcrpfbcun")
- .withRole(ClusterPrincipalRole.ALL_DATABASES_VIEWER)
- .withTenantId("cez")
+ .define("rltzkatbhjmz")
+ .withExistingCluster("smgbzahgxqdl", "rtltla")
+ .withPrincipalId("bsoqeqala")
+ .withRole(ClusterPrincipalRole.ALL_DATABASES_ADMIN)
+ .withTenantId("agunbtgfebw")
.withPrincipalType(PrincipalType.GROUP)
.create();
- Assertions.assertEquals("zjkjexfdeqv", response.principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_VIEWER, response.role());
- Assertions.assertEquals("ylkkshkbffmbm", response.tenantId());
+ Assertions.assertEquals("syrq", response.principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, response.role());
+ Assertions.assertEquals("qhd", response.tenantId());
Assertions.assertEquals(PrincipalType.GROUP, response.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteMockTests.java
index d56483fd64b73..edd4a57846b28 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsDeleteMockTests.java
@@ -28,7 +28,7 @@ public void testDelete() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
manager.clusterPrincipalAssignments()
- .delete("blembnkbwvqvxkd", "vqihebwtswbzuwf", "duragegizvc", com.azure.core.util.Context.NONE);
+ .delete("vumwmxqh", "dvnoamldsehaohdj", "hflzokxco", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetWithResponseMockTests.java
index f086cf7c0f63c..0e16c623fc0af 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsGetWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class ClusterPrincipalAssignmentsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"principalId\":\"vwf\",\"role\":\"AllDatabasesAdmin\",\"tenantId\":\"yxonsupe\",\"principalType\":\"User\",\"tenantName\":\"zqn\",\"principalName\":\"vsqltnzoibgsxg\",\"provisioningState\":\"Moving\",\"aadObjectId\":\"qonmpqoxwdof\"},\"id\":\"bxiqxeiiqbimht\",\"name\":\"wwinhehf\",\"type\":\"pofvwb\"}";
+ = "{\"properties\":{\"principalId\":\"ninwjizc\",\"role\":\"AllDatabasesMonitor\",\"tenantId\":\"ghgshejjtbxqmu\",\"principalType\":\"Group\",\"tenantName\":\"lxqzvn\",\"principalName\":\"sbycucrwnamikz\",\"provisioningState\":\"Failed\",\"aadObjectId\":\"bsmswziqgf\"},\"id\":\"hokzrusw\",\"name\":\"vhczznvfby\",\"type\":\"jsxjwwix\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,12 +33,12 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
ClusterPrincipalAssignment response = manager.clusterPrincipalAssignments()
- .getWithResponse("oi", "knsmjblmljhlnymz", "tqyryuzcbmqqv", com.azure.core.util.Context.NONE)
+ .getWithResponse("pqwhixmonst", "hiyxgvelfclduc", "birdsvuwcobiegs", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("vwf", response.principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, response.role());
- Assertions.assertEquals("yxonsupe", response.tenantId());
- Assertions.assertEquals(PrincipalType.USER, response.principalType());
+ Assertions.assertEquals("ninwjizc", response.principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_MONITOR, response.role());
+ Assertions.assertEquals("ghgshejjtbxqmu", response.tenantId());
+ Assertions.assertEquals(PrincipalType.GROUP, response.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListMockTests.java
index f1174f432d653..d47b5ae26f259 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalAssignmentsListMockTests.java
@@ -24,7 +24,7 @@ public final class ClusterPrincipalAssignmentsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"principalId\":\"xkbsazgakgac\",\"role\":\"AllDatabasesViewer\",\"tenantId\":\"m\",\"principalType\":\"Group\",\"tenantName\":\"spofapvuhry\",\"principalName\":\"iofrzgbzjedmstk\",\"provisioningState\":\"Moving\",\"aadObjectId\":\"xbcuiiznkt\"},\"id\":\"f\",\"name\":\"nsnvpd\",\"type\":\"bmikost\"}]}";
+ = "{\"value\":[{\"properties\":{\"principalId\":\"pbswvefloccsrm\",\"role\":\"AllDatabasesAdmin\",\"tenantId\":\"hmipgawtxxpkyjc\",\"principalType\":\"Group\",\"tenantName\":\"xgrytfmp\",\"principalName\":\"cil\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"ykggnoxuztrksx\"},\"id\":\"pndfcpfnznt\",\"name\":\"jtwkjaos\",\"type\":\"xuzvoamktcqi\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,11 +34,11 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response
- = manager.clusterPrincipalAssignments().list("felisdjub", "gbqi", com.azure.core.util.Context.NONE);
+ = manager.clusterPrincipalAssignments().list("pelnjetag", "tsxoatftgz", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("xkbsazgakgac", response.iterator().next().principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_VIEWER, response.iterator().next().role());
- Assertions.assertEquals("m", response.iterator().next().tenantId());
+ Assertions.assertEquals("pbswvefloccsrm", response.iterator().next().principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, response.iterator().next().role());
+ Assertions.assertEquals("hmipgawtxxpkyjc", response.iterator().next().tenantId());
Assertions.assertEquals(PrincipalType.GROUP, response.iterator().next().principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalPropertiesTests.java
index 07eb46ad90a4b..cf30f9258923b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClusterPrincipalPropertiesTests.java
@@ -14,24 +14,24 @@ public final class ClusterPrincipalPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ClusterPrincipalProperties model = BinaryData.fromString(
- "{\"principalId\":\"jcmmxdcufufsrp\",\"role\":\"AllDatabasesViewer\",\"tenantId\":\"idnsezcxtb\",\"principalType\":\"Group\",\"tenantName\":\"fycc\",\"principalName\":\"ewmdw\",\"provisioningState\":\"Running\",\"aadObjectId\":\"ac\"}")
+ "{\"principalId\":\"swjdkirso\",\"role\":\"AllDatabasesAdmin\",\"tenantId\":\"xhcr\",\"principalType\":\"User\",\"tenantName\":\"hjtckwhd\",\"principalName\":\"ifiyipjxsqwpgrj\",\"provisioningState\":\"Moving\",\"aadObjectId\":\"rcjxvsnbyxqabn\"}")
.toObject(ClusterPrincipalProperties.class);
- Assertions.assertEquals("jcmmxdcufufsrp", model.principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_VIEWER, model.role());
- Assertions.assertEquals("idnsezcxtb", model.tenantId());
- Assertions.assertEquals(PrincipalType.GROUP, model.principalType());
+ Assertions.assertEquals("swjdkirso", model.principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, model.role());
+ Assertions.assertEquals("xhcr", model.tenantId());
+ Assertions.assertEquals(PrincipalType.USER, model.principalType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ClusterPrincipalProperties model = new ClusterPrincipalProperties().withPrincipalId("jcmmxdcufufsrp")
- .withRole(ClusterPrincipalRole.ALL_DATABASES_VIEWER)
- .withTenantId("idnsezcxtb")
- .withPrincipalType(PrincipalType.GROUP);
+ ClusterPrincipalProperties model = new ClusterPrincipalProperties().withPrincipalId("swjdkirso")
+ .withRole(ClusterPrincipalRole.ALL_DATABASES_ADMIN)
+ .withTenantId("xhcr")
+ .withPrincipalType(PrincipalType.USER);
model = BinaryData.fromObject(model).toObject(ClusterPrincipalProperties.class);
- Assertions.assertEquals("jcmmxdcufufsrp", model.principalId());
- Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_VIEWER, model.role());
- Assertions.assertEquals("idnsezcxtb", model.tenantId());
- Assertions.assertEquals(PrincipalType.GROUP, model.principalType());
+ Assertions.assertEquals("swjdkirso", model.principalId());
+ Assertions.assertEquals(ClusterPrincipalRole.ALL_DATABASES_ADMIN, model.role());
+ Assertions.assertEquals("xhcr", model.tenantId());
+ Assertions.assertEquals(PrincipalType.USER, model.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesMockTests.java
new file mode 100644
index 0000000000000..2f5715f9cb112
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddCalloutPoliciesMockTests.java
@@ -0,0 +1,48 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.kusto.KustoManager;
+import com.azure.resourcemanager.kusto.fluent.models.CalloutPolicyInner;
+import com.azure.resourcemanager.kusto.models.CalloutPoliciesList;
+import com.azure.resourcemanager.kusto.models.CalloutType;
+import com.azure.resourcemanager.kusto.models.OutboundAccess;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ClustersAddCalloutPoliciesMockTests {
+ @Test
+ public void testAddCalloutPolicies() throws Exception {
+ String responseStr = "{}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ KustoManager manager = KustoManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureEnvironment.AZURE));
+
+ manager.clusters()
+ .addCalloutPolicies("gorqjbttzh", "aglkafhon",
+ new CalloutPoliciesList().withValue(Arrays.asList(
+ new CalloutPolicyInner().withCalloutUriRegex("eickpz")
+ .withCalloutType(CalloutType.SQL)
+ .withOutboundAccess(OutboundAccess.DENY),
+ new CalloutPolicyInner().withCalloutUriRegex("yjede")
+ .withCalloutType(CalloutType.MYSQL)
+ .withOutboundAccess(OutboundAccess.ALLOW)))
+ .withNextLink("amwabzxrvxcushsp"),
+ com.azure.core.util.Context.NONE);
+
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsMockTests.java
index 3f5e68efb65c8..670e29a8ba838 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersAddLanguageExtensionsMockTests.java
@@ -33,17 +33,11 @@ public void testAddLanguageExtensions() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
manager.clusters()
- .addLanguageExtensions("pn", "qvcww",
- new LanguageExtensionsList().withValue(Arrays.asList(
- new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.R)
- .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON_CUSTOM_IMAGE)
- .withLanguageExtensionCustomImageName("ppr"),
- new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.R)
- .withLanguageExtensionImageName(LanguageExtensionImageName.R)
- .withLanguageExtensionCustomImageName("k"),
- new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.PYTHON)
- .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON_CUSTOM_IMAGE)
- .withLanguageExtensionCustomImageName("hlb"))),
+ .addLanguageExtensions("iiqbi", "htmwwinh",
+ new LanguageExtensionsList().withValue(
+ Arrays.asList(new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.PYTHON)
+ .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_10_8_DL)
+ .withLanguageExtensionCustomImageName("wbcb"))),
com.azure.core.util.Context.NONE);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilityWithResponseMockTests.java
index a0a95ffe333c2..880a0c2344fce 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersCheckNameAvailabilityWithResponseMockTests.java
@@ -22,8 +22,7 @@
public final class ClustersCheckNameAvailabilityWithResponseMockTests {
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
- String responseStr
- = "{\"nameAvailable\":false,\"name\":\"bxhugcmjkavlgorb\",\"message\":\"tp\",\"reason\":\"Invalid\"}";
+ String responseStr = "{\"nameAvailable\":true,\"name\":\"mcjn\",\"message\":\"qdqx\",\"reason\":\"Invalid\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +32,13 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.clusters()
- .checkNameAvailabilityWithResponse("xhcmavmqfoudo", new ClusterCheckNameRequest().withName("hcgyyprotwyp"),
+ .checkNameAvailabilityWithResponse("dsdaultxijjumf", new ClusterCheckNameRequest().withName("waz"),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(false, response.nameAvailable());
- Assertions.assertEquals("bxhugcmjkavlgorb", response.name());
- Assertions.assertEquals("tp", response.message());
+ Assertions.assertEquals(true, response.nameAvailable());
+ Assertions.assertEquals("mcjn", response.name());
+ Assertions.assertEquals("qdqx", response.message());
Assertions.assertEquals(Reason.INVALID, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteMockTests.java
index 59ce5e6d66ace..35fc8e9d131f8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDeleteMockTests.java
@@ -27,7 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.clusters().delete("bkbxgomfa", "uwasqvd", com.azure.core.util.Context.NONE);
+ manager.clusters().delete("eesvecu", "jpxtxsuwprtuj", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesMockTests.java
index 11dcc66b09b0c..3595414dba7a7 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDetachFollowerDatabasesMockTests.java
@@ -29,8 +29,10 @@ public void testDetachFollowerDatabases() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
manager.clusters()
- .detachFollowerDatabases("lpagzrcx", "a", new FollowerDatabaseDefinitionInner().withClusterResourceId("lc")
- .withAttachedDatabaseConfigurationName("xwmdboxd"), com.azure.core.util.Context.NONE);
+ .detachFollowerDatabases("rtffyaqitmh", "eioqaqhvse",
+ new FollowerDatabaseDefinitionInner().withClusterResourceId("fuqyrxpdlcgqlsi")
+ .withAttachedDatabaseConfigurationName("mjqfrddgamquhio"),
+ com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkMockTests.java
index 8a7dd7281e66d..a53e420d88d58 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersDiagnoseVirtualNetworkMockTests.java
@@ -20,7 +20,7 @@
public final class ClustersDiagnoseVirtualNetworkMockTests {
@Test
public void testDiagnoseVirtualNetwork() throws Exception {
- String responseStr = "{\"findings\":[\"pwbralllibphbqz\"]}";
+ String responseStr = "{\"findings\":[\"ywuhpsvfuur\",\"tlwexxwlalniexz\",\"rzpgep\"]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -29,9 +29,9 @@ public void testDiagnoseVirtualNetwork() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- DiagnoseVirtualNetworkResult response
- = manager.clusters().diagnoseVirtualNetwork("gdqoh", "cwsldri", com.azure.core.util.Context.NONE);
+ DiagnoseVirtualNetworkResult response = manager.clusters()
+ .diagnoseVirtualNetwork("awumuaslzkwrrwo", "cqucwyhahnom", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("pwbralllibphbqz", response.findings().get(0));
+ Assertions.assertEquals("ywuhpsvfuur", response.findings().get(0));
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesMockTests.java
new file mode 100644
index 0000000000000..8f9d162b97fd3
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListCalloutPoliciesMockTests.java
@@ -0,0 +1,43 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.kusto.KustoManager;
+import com.azure.resourcemanager.kusto.models.CalloutPolicy;
+import com.azure.resourcemanager.kusto.models.CalloutType;
+import com.azure.resourcemanager.kusto.models.OutboundAccess;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ClustersListCalloutPoliciesMockTests {
+ @Test
+ public void testListCalloutPolicies() throws Exception {
+ String responseStr
+ = "{\"value\":[{\"calloutUriRegex\":\"gtayxonsupeujlz\",\"calloutType\":\"sql\",\"outboundAccess\":\"Deny\",\"calloutId\":\"ql\"}]}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ KustoManager manager = KustoManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureEnvironment.AZURE));
+
+ PagedIterable response
+ = manager.clusters().listCalloutPolicies("tqyryuzcbmqqv", "mv", com.azure.core.util.Context.NONE);
+
+ Assertions.assertEquals("gtayxonsupeujlz", response.iterator().next().calloutUriRegex());
+ Assertions.assertEquals(CalloutType.SQL, response.iterator().next().calloutType());
+ Assertions.assertEquals(OutboundAccess.DENY, response.iterator().next().outboundAccess());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetMockTests.java
new file mode 100644
index 0000000000000..751dea101a740
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesGetMockTests.java
@@ -0,0 +1,40 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.kusto.KustoManager;
+import com.azure.resourcemanager.kusto.models.FollowerDatabaseDefinitionGet;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ClustersListFollowerDatabasesGetMockTests {
+ @Test
+ public void testListFollowerDatabasesGet() throws Exception {
+ String responseStr
+ = "{\"value\":[{\"properties\":{\"clusterResourceId\":\"mes\",\"attachedDatabaseConfigurationName\":\"kdlpa\",\"databaseName\":\"rcxfailcfxwmdb\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"gsftufqobrjlnacg\",\"ckknhxkizvy\",\"nrzvuljraaer\"],\"tablesToExclude\":[\"kqg\",\"kkjqnvbroylaxxu\",\"cdisd\"],\"externalTablesToInclude\":[\"jbjsvgjrwh\"],\"externalTablesToExclude\":[\"ycy\"],\"materializedViewsToInclude\":[\"lxgccknfnwmbtm\"],\"materializedViewsToExclude\":[\"vjdhttzaefedxih\",\"hrphkmcrjdqn\",\"dfzpbgtgkylkdg\"],\"functionsToInclude\":[\"euutlwxezwzh\",\"kvbwnhhtqlgeh\"],\"functionsToExclude\":[\"ipifhpfeoajvg\",\"xtxj\"]},\"databaseShareOrigin\":\"Other\"}}]}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ KustoManager manager = KustoManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureEnvironment.AZURE));
+
+ PagedIterable response
+ = manager.clusters().listFollowerDatabasesGet("vodhtn", "irudh", com.azure.core.util.Context.NONE);
+
+ Assertions.assertEquals("mes", response.iterator().next().clusterResourceId());
+ Assertions.assertEquals("kdlpa", response.iterator().next().attachedDatabaseConfigurationName());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesMockTests.java
index 137af1ae9ccf4..088117e11d0e4 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListFollowerDatabasesMockTests.java
@@ -22,7 +22,7 @@ public final class ClustersListFollowerDatabasesMockTests {
@Test
public void testListFollowerDatabases() throws Exception {
String responseStr
- = "{\"value\":[{\"clusterResourceId\":\"yxkyxvx\",\"attachedDatabaseConfigurationName\":\"vblbjednljlageua\",\"databaseName\":\"xuns\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"kppxynenlsvxeiz\",\"gwklnsr\",\"ffeycx\"],\"tablesToExclude\":[\"piymerteea\",\"mx\",\"iekkkzddrtkgdojb\"],\"externalTablesToInclude\":[\"a\",\"refdee\",\"vecuijpx\"],\"externalTablesToExclude\":[\"uwprtujwsawd\"],\"materializedViewsToInclude\":[\"babxvitit\",\"tzeexav\",\"xtfglecdmdqb\",\"pypqtgsfj\"],\"materializedViewsToExclude\":[\"slhhxudbxv\"],\"functionsToInclude\":[\"tnsi\",\"ud\"],\"functionsToExclude\":[\"mes\"]},\"databaseShareOrigin\":\"Other\"}]}";
+ = "{\"value\":[{\"clusterResourceId\":\"egprhptil\",\"attachedDatabaseConfigurationName\":\"ucb\",\"databaseName\":\"tgdqohmcwsldriz\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"bra\",\"llibphbqzmizak\",\"kan\",\"jpdn\"],\"tablesToExclude\":[\"ajoylhjl\"],\"externalTablesToInclude\":[\"y\",\"primr\"],\"externalTablesToExclude\":[\"teecjmeislst\",\"asylwx\"],\"materializedViewsToInclude\":[\"umweoohguufuzboy\",\"athwt\",\"olbaemwmdx\",\"ebwjscjpahlxvea\"],\"materializedViewsToExclude\":[\"xnmwmqtibxyijddt\",\"qcttadijaeukmrsi\"],\"functionsToInclude\":[\"pndzaapmudqmeq\"],\"functionsToExclude\":[\"pibudqwyxebeybpm\"]},\"databaseShareOrigin\":\"Other\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,10 +31,10 @@ public void testListFollowerDatabases() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- PagedIterable response
- = manager.clusters().listFollowerDatabases("kzyb", "jjidjk", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.clusters()
+ .listFollowerDatabases("eafidltugsresm", "ssjhoiftxfkf", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("yxkyxvx", response.iterator().next().clusterResourceId());
- Assertions.assertEquals("vblbjednljlageua", response.iterator().next().attachedDatabaseConfigurationName());
+ Assertions.assertEquals("egprhptil", response.iterator().next().clusterResourceId());
+ Assertions.assertEquals("ucb", response.iterator().next().attachedDatabaseConfigurationName());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsMockTests.java
index 2f8bbeb5df0c4..d1600139368f3 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListLanguageExtensionsMockTests.java
@@ -24,7 +24,7 @@ public final class ClustersListLanguageExtensionsMockTests {
@Test
public void testListLanguageExtensions() throws Exception {
String responseStr
- = "{\"value\":[{\"languageExtensionName\":\"R\",\"languageExtensionImageName\":\"Python3_6_5\",\"languageExtensionCustomImageName\":\"iojlvfhrb\"}]}";
+ = "{\"value\":[{\"languageExtensionName\":\"PYTHON\",\"languageExtensionImageName\":\"Python3_10_8_DL\",\"languageExtensionCustomImageName\":\"wdofdbxiqx\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,11 +34,11 @@ public void testListLanguageExtensions() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response
- = manager.clusters().listLanguageExtensions("sbostzel", "dlat", com.azure.core.util.Context.NONE);
+ = manager.clusters().listLanguageExtensions("nzoibgsxgnx", "yqo", com.azure.core.util.Context.NONE);
- Assertions.assertEquals(LanguageExtensionName.R, response.iterator().next().languageExtensionName());
- Assertions.assertEquals(LanguageExtensionImageName.PYTHON3_6_5,
+ Assertions.assertEquals(LanguageExtensionName.PYTHON, response.iterator().next().languageExtensionName());
+ Assertions.assertEquals(LanguageExtensionImageName.PYTHON3_10_8_DL,
response.iterator().next().languageExtensionImageName());
- Assertions.assertEquals("iojlvfhrb", response.iterator().next().languageExtensionCustomImageName());
+ Assertions.assertEquals("wdofdbxiqx", response.iterator().next().languageExtensionCustomImageName());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsMockTests.java
index 955da5ee01c0e..10852da884db5 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListOutboundNetworkDependenciesEndpointsMockTests.java
@@ -22,7 +22,7 @@ public final class ClustersListOutboundNetworkDependenciesEndpointsMockTests {
@Test
public void testListOutboundNetworkDependenciesEndpoints() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"category\":\"tmcdzsufcohd\",\"endpoints\":[{\"domainName\":\"mcmuapc\",\"endpointDetails\":[{},{},{},{}]},{\"domainName\":\"evwqqxeyskonq\",\"endpointDetails\":[{},{},{}]},{\"domainName\":\"fkbg\",\"endpointDetails\":[{},{}]},{\"domainName\":\"wxeqocljmygvkzqk\",\"endpointDetails\":[{},{}]}],\"provisioningState\":\"Canceled\"},\"etag\":\"zefezrxcczurtl\",\"id\":\"ipqxbkwvzgnzv\",\"name\":\"fbzdixzmqpnoda\",\"type\":\"opqhewjptmc\"}]}";
+ = "{\"value\":[{\"properties\":{\"category\":\"jlrigjkskyrioovz\",\"endpoints\":[{\"domainName\":\"waabzmifrygzn\",\"endpointDetails\":[{}]},{\"domainName\":\"ri\",\"endpointDetails\":[{}]}],\"provisioningState\":\"Deleting\"},\"etag\":\"opxlhslnelxieixy\",\"id\":\"llxecwc\",\"name\":\"ojphslhc\",\"type\":\"wjutifdwfmv\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,9 +32,9 @@ public void testListOutboundNetworkDependenciesEndpoints() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response = manager.clusters()
- .listOutboundNetworkDependenciesEndpoints("ysi", "sgqcwdho", com.azure.core.util.Context.NONE);
+ .listOutboundNetworkDependenciesEndpoints("nptgoeiybba", "pfhvfslk", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("tmcdzsufcohd", response.iterator().next().category());
- Assertions.assertEquals("mcmuapc", response.iterator().next().endpoints().get(0).domainName());
+ Assertions.assertEquals("jlrigjkskyrioovz", response.iterator().next().category());
+ Assertions.assertEquals("waabzmifrygzn", response.iterator().next().endpoints().get(0).domainName());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceMockTests.java
index 781c659dd4d7c..06a58ba5be704 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusByResourceMockTests.java
@@ -25,7 +25,7 @@ public final class ClustersListSkusByResourceMockTests {
@Test
public void testListSkusByResource() throws Exception {
String responseStr
- = "{\"value\":[{\"resourceType\":\"pvpbdbzqgqqiheds\",\"sku\":{\"name\":\"Standard_E8as_v4+1TB_PS\",\"capacity\":1770973346,\"tier\":\"Basic\"},\"capacity\":{\"scaleType\":\"manual\",\"minimum\":649222469,\"maximum\":1468707412,\"default\":1456487398}}]}";
+ = "{\"value\":[{\"resourceType\":\"qglcfhmlrqryxynq\",\"sku\":{\"name\":\"Standard_D14_v2\",\"capacity\":69570650,\"tier\":\"Standard\"},\"capacity\":{\"scaleType\":\"automatic\",\"minimum\":347579095,\"maximum\":786397425,\"default\":432652683}}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,15 +35,15 @@ public void testListSkusByResource() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response
- = manager.clusters().listSkusByResource("zfjltfvnzcyjto", "p", com.azure.core.util.Context.NONE);
+ = manager.clusters().listSkusByResource("wgnyfusfzsvtui", "zh", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("pvpbdbzqgqqiheds", response.iterator().next().resourceType());
- Assertions.assertEquals(AzureSkuName.STANDARD_E8AS_V4_1TB_PS, response.iterator().next().sku().name());
- Assertions.assertEquals(1770973346, response.iterator().next().sku().capacity());
- Assertions.assertEquals(AzureSkuTier.BASIC, response.iterator().next().sku().tier());
- Assertions.assertEquals(AzureScaleType.MANUAL, response.iterator().next().capacity().scaleType());
- Assertions.assertEquals(649222469, response.iterator().next().capacity().minimum());
- Assertions.assertEquals(1468707412, response.iterator().next().capacity().maximum());
- Assertions.assertEquals(1456487398, response.iterator().next().capacity().defaultProperty());
+ Assertions.assertEquals("qglcfhmlrqryxynq", response.iterator().next().resourceType());
+ Assertions.assertEquals(AzureSkuName.STANDARD_D14_V2, response.iterator().next().sku().name());
+ Assertions.assertEquals(69570650, response.iterator().next().sku().capacity());
+ Assertions.assertEquals(AzureSkuTier.STANDARD, response.iterator().next().sku().tier());
+ Assertions.assertEquals(AzureScaleType.AUTOMATIC, response.iterator().next().capacity().scaleType());
+ Assertions.assertEquals(347579095, response.iterator().next().capacity().minimum());
+ Assertions.assertEquals(786397425, response.iterator().next().capacity().maximum());
+ Assertions.assertEquals(432652683, response.iterator().next().capacity().defaultProperty());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusMockTests.java
index 5466277f8ae9d..2d75b5701cdbc 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersListSkusMockTests.java
@@ -21,7 +21,7 @@ public final class ClustersListSkusMockTests {
@Test
public void testListSkus() throws Exception {
String responseStr
- = "{\"value\":[{\"resourceType\":\"unqndyfpchrqb\",\"name\":\"jrcg\",\"tier\":\"ydcwboxjumv\",\"locations\":[\"lihrraiouaubr\",\"tloqxfuojrn\"],\"locationInfo\":[{\"location\":\"l\",\"zones\":[\"asccbiui\",\"zdlyjdfqw\"],\"zoneDetails\":[{\"name\":[\"ufdvruz\",\"lzo\",\"hpc\",\"fnmdxotn\"],\"capabilities\":[{}]},{\"name\":[\"geyzihgrkyuiz\",\"bsnmfpph\",\"jee\",\"yhyhsgzfczb\"],\"capabilities\":[{}]},{\"name\":[\"beglqg\",\"eohibet\",\"luan\"],\"capabilities\":[{},{},{}]}]},{\"location\":\"fxeeebtijvacvbm\",\"zones\":[\"qqxlajr\",\"wxacevehj\"],\"zoneDetails\":[{\"name\":[\"afgaoqlt\",\"aeylinm\"],\"capabilities\":[{},{},{}]},{\"name\":[\"r\",\"gh\",\"iypoqeyhlqhykprl\",\"yznuciqd\"],\"capabilities\":[{}]}]}],\"restrictions\":[\"dataitdfuxtyasiib\",\"dataiybnnustgnljhnmg\"]}]}";
+ = "{\"value\":[{\"resourceType\":\"lm\",\"name\":\"uapcvhdbevwqqxe\",\"tier\":\"ko\",\"locations\":[\"inkfkbgbz\",\"owxeqocljmy\",\"vkzqk\",\"jeokbzefezrxccz\"],\"locationInfo\":[{\"location\":\"leipqx\",\"zones\":[\"vz\"],\"zoneDetails\":[{\"name\":[\"fbzdixzmqpnoda\",\"opqhewjptmc\",\"sbostzel\"],\"capabilities\":[{}]}]},{\"location\":\"atutmzlbiojlvfhr\",\"zones\":[\"neqvcwwyyurmo\"],\"zoneDetails\":[{\"name\":[\"prsnmokayzejn\",\"lbkpb\"],\"capabilities\":[{},{}]}]},{\"location\":\"piljhahzvech\",\"zones\":[\"nwieholewjw\",\"uubw\",\"fqsfa\"],\"zoneDetails\":[{\"name\":[\"e\"],\"capabilities\":[{}]},{\"name\":[\"x\"],\"capabilities\":[{},{},{},{}]},{\"name\":[\"apjwogqqnobpudcd\"],\"capabilities\":[{},{}]},{\"name\":[\"pwyawbz\",\"sqbuc\"],\"capabilities\":[{},{},{}]}]}],\"restrictions\":[\"dataexaoguya\",\"datap\"]}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateMockTests.java
index a3d939f2682d6..8be5b04f5b695 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersMigrateMockTests.java
@@ -29,7 +29,7 @@ public void testMigrate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
manager.clusters()
- .migrate("kgfmocwahpq", "atjeaahh", new ClusterMigrateRequest().withClusterResourceId("jhhn"),
+ .migrate("pypqtgsfj", "cbslhhx", new ClusterMigrateRequest().withClusterResourceId("db"),
com.azure.core.util.Context.NONE);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicyMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicyMockTests.java
new file mode 100644
index 0000000000000..c3a3433d63843
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveCalloutPolicyMockTests.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.kusto.KustoManager;
+import com.azure.resourcemanager.kusto.models.CalloutPolicyToRemove;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ClustersRemoveCalloutPolicyMockTests {
+ @Test
+ public void testRemoveCalloutPolicy() throws Exception {
+ String responseStr = "{}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ KustoManager manager = KustoManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureEnvironment.AZURE));
+
+ manager.clusters()
+ .removeCalloutPolicy("aivmxyasflvgs", "zwywako",
+ new CalloutPolicyToRemove().withCalloutId("knsmjblmljhlnymz"), com.azure.core.util.Context.NONE);
+
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsMockTests.java
index 0ad75e6c1e669..ac5304cb92ccd 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersRemoveLanguageExtensionsMockTests.java
@@ -33,17 +33,14 @@ public void testRemoveLanguageExtensions() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
manager.clusters()
- .removeLanguageExtensions("pbzpcpiljhahz", "echndbnwieholew",
+ .removeLanguageExtensions("embnkbw", "qvxkd",
new LanguageExtensionsList().withValue(Arrays.asList(
new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.PYTHON)
.withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_10_8)
- .withLanguageExtensionCustomImageName("fqsfa"),
- new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.R)
- .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_10_8_DL)
- .withLanguageExtensionCustomImageName("rrqwexjk"),
+ .withLanguageExtensionCustomImageName("tswbzuwfmd"),
new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.PYTHON)
- .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_6_5)
- .withLanguageExtensionCustomImageName("wogqqnobpudcdab"))),
+ .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_10_8_DL)
+ .withLanguageExtensionCustomImageName("izvcjfe"))),
com.azure.core.util.Context.NONE);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStartMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStartMockTests.java
index 11fbea06a0eab..cc527f5f92bfe 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStartMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStartMockTests.java
@@ -27,7 +27,7 @@ public void testStart() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.clusters().start("uxakjsqzhzbezk", "imsidxasicddyvvj", com.azure.core.util.Context.NONE);
+ manager.clusters().start("tfgle", "dmdqb", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStopMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStopMockTests.java
index 29bfc44690fa2..0f633dcb1c381 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStopMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ClustersStopMockTests.java
@@ -27,7 +27,7 @@ public void testStop() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.clusters().stop("e", "y", com.azure.core.util.Context.NONE);
+ manager.clusters().stop("sawddjibabxvi", "itvtzeexavo", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionPropertiesTests.java
index 021ae8224c86a..6eeaecc841cd7 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionPropertiesTests.java
@@ -13,33 +13,33 @@ public final class CosmosDbDataConnectionPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CosmosDbDataConnectionProperties model = BinaryData.fromString(
- "{\"tableName\":\"nhdwdigumbnra\",\"mappingRuleName\":\"zzp\",\"managedIdentityResourceId\":\"jazysdzhezwwvaiq\",\"managedIdentityObjectId\":\"vv\",\"cosmosDbAccountResourceId\":\"onkp\",\"cosmosDbDatabase\":\"hqyikvy\",\"cosmosDbContainer\":\"auy\",\"retrievalStartDate\":\"2021-04-05T06:39:57Z\",\"provisioningState\":\"Succeeded\"}")
+ "{\"tableName\":\"xvd\",\"mappingRuleName\":\"fwafqrouda\",\"managedIdentityResourceId\":\"pavehhr\",\"managedIdentityObjectId\":\"bunzozudh\",\"cosmosDbAccountResourceId\":\"xg\",\"cosmosDbDatabase\":\"moy\",\"cosmosDbContainer\":\"cdyuibhmfdnbzyd\",\"retrievalStartDate\":\"2021-04-24T12:16:29Z\",\"provisioningState\":\"Creating\"}")
.toObject(CosmosDbDataConnectionProperties.class);
- Assertions.assertEquals("nhdwdigumbnra", model.tableName());
- Assertions.assertEquals("zzp", model.mappingRuleName());
- Assertions.assertEquals("jazysdzhezwwvaiq", model.managedIdentityResourceId());
- Assertions.assertEquals("onkp", model.cosmosDbAccountResourceId());
- Assertions.assertEquals("hqyikvy", model.cosmosDbDatabase());
- Assertions.assertEquals("auy", model.cosmosDbContainer());
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-05T06:39:57Z"), model.retrievalStartDate());
+ Assertions.assertEquals("xvd", model.tableName());
+ Assertions.assertEquals("fwafqrouda", model.mappingRuleName());
+ Assertions.assertEquals("pavehhr", model.managedIdentityResourceId());
+ Assertions.assertEquals("xg", model.cosmosDbAccountResourceId());
+ Assertions.assertEquals("moy", model.cosmosDbDatabase());
+ Assertions.assertEquals("cdyuibhmfdnbzyd", model.cosmosDbContainer());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-24T12:16:29Z"), model.retrievalStartDate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CosmosDbDataConnectionProperties model = new CosmosDbDataConnectionProperties().withTableName("nhdwdigumbnra")
- .withMappingRuleName("zzp")
- .withManagedIdentityResourceId("jazysdzhezwwvaiq")
- .withCosmosDbAccountResourceId("onkp")
- .withCosmosDbDatabase("hqyikvy")
- .withCosmosDbContainer("auy")
- .withRetrievalStartDate(OffsetDateTime.parse("2021-04-05T06:39:57Z"));
+ CosmosDbDataConnectionProperties model = new CosmosDbDataConnectionProperties().withTableName("xvd")
+ .withMappingRuleName("fwafqrouda")
+ .withManagedIdentityResourceId("pavehhr")
+ .withCosmosDbAccountResourceId("xg")
+ .withCosmosDbDatabase("moy")
+ .withCosmosDbContainer("cdyuibhmfdnbzyd")
+ .withRetrievalStartDate(OffsetDateTime.parse("2021-04-24T12:16:29Z"));
model = BinaryData.fromObject(model).toObject(CosmosDbDataConnectionProperties.class);
- Assertions.assertEquals("nhdwdigumbnra", model.tableName());
- Assertions.assertEquals("zzp", model.mappingRuleName());
- Assertions.assertEquals("jazysdzhezwwvaiq", model.managedIdentityResourceId());
- Assertions.assertEquals("onkp", model.cosmosDbAccountResourceId());
- Assertions.assertEquals("hqyikvy", model.cosmosDbDatabase());
- Assertions.assertEquals("auy", model.cosmosDbContainer());
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-05T06:39:57Z"), model.retrievalStartDate());
+ Assertions.assertEquals("xvd", model.tableName());
+ Assertions.assertEquals("fwafqrouda", model.mappingRuleName());
+ Assertions.assertEquals("pavehhr", model.managedIdentityResourceId());
+ Assertions.assertEquals("xg", model.cosmosDbAccountResourceId());
+ Assertions.assertEquals("moy", model.cosmosDbDatabase());
+ Assertions.assertEquals("cdyuibhmfdnbzyd", model.cosmosDbContainer());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-24T12:16:29Z"), model.retrievalStartDate());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionTests.java
index 54ee347e662a9..02c7070019b94 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/CosmosDbDataConnectionTests.java
@@ -13,36 +13,36 @@ public final class CosmosDbDataConnectionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CosmosDbDataConnection model = BinaryData.fromString(
- "{\"kind\":\"CosmosDb\",\"properties\":{\"tableName\":\"uhdqazk\",\"mappingRuleName\":\"gg\",\"managedIdentityResourceId\":\"wpijrajci\",\"managedIdentityObjectId\":\"mghfcfiwrxgkne\",\"cosmosDbAccountResourceId\":\"vyi\",\"cosmosDbDatabase\":\"zqodfvpgshox\",\"cosmosDbContainer\":\"sgbpfgzdjtx\",\"retrievalStartDate\":\"2020-12-23T06:59:29Z\",\"provisioningState\":\"Creating\"},\"location\":\"v\",\"id\":\"aqvlgafcqusr\",\"name\":\"vetnwsdtutn\",\"type\":\"lduycv\"}")
+ "{\"kind\":\"CosmosDb\",\"properties\":{\"tableName\":\"xgketwz\",\"mappingRuleName\":\"zjhfjmhvv\",\"managedIdentityResourceId\":\"uvgp\",\"managedIdentityObjectId\":\"neqsxvmh\",\"cosmosDbAccountResourceId\":\"buzjyih\",\"cosmosDbDatabase\":\"as\",\"cosmosDbContainer\":\"hudypohyuemsl\",\"retrievalStartDate\":\"2021-08-05T10:43:49Z\",\"provisioningState\":\"Running\"},\"location\":\"pfoobr\",\"id\":\"ttymsjny\",\"name\":\"qdnfwqzdz\",\"type\":\"tilaxh\"}")
.toObject(CosmosDbDataConnection.class);
- Assertions.assertEquals("v", model.location());
- Assertions.assertEquals("uhdqazk", model.tableName());
- Assertions.assertEquals("gg", model.mappingRuleName());
- Assertions.assertEquals("wpijrajci", model.managedIdentityResourceId());
- Assertions.assertEquals("vyi", model.cosmosDbAccountResourceId());
- Assertions.assertEquals("zqodfvpgshox", model.cosmosDbDatabase());
- Assertions.assertEquals("sgbpfgzdjtx", model.cosmosDbContainer());
- Assertions.assertEquals(OffsetDateTime.parse("2020-12-23T06:59:29Z"), model.retrievalStartDate());
+ Assertions.assertEquals("pfoobr", model.location());
+ Assertions.assertEquals("xgketwz", model.tableName());
+ Assertions.assertEquals("zjhfjmhvv", model.mappingRuleName());
+ Assertions.assertEquals("uvgp", model.managedIdentityResourceId());
+ Assertions.assertEquals("buzjyih", model.cosmosDbAccountResourceId());
+ Assertions.assertEquals("as", model.cosmosDbDatabase());
+ Assertions.assertEquals("hudypohyuemsl", model.cosmosDbContainer());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-05T10:43:49Z"), model.retrievalStartDate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CosmosDbDataConnection model = new CosmosDbDataConnection().withLocation("v")
- .withTableName("uhdqazk")
- .withMappingRuleName("gg")
- .withManagedIdentityResourceId("wpijrajci")
- .withCosmosDbAccountResourceId("vyi")
- .withCosmosDbDatabase("zqodfvpgshox")
- .withCosmosDbContainer("sgbpfgzdjtx")
- .withRetrievalStartDate(OffsetDateTime.parse("2020-12-23T06:59:29Z"));
+ CosmosDbDataConnection model = new CosmosDbDataConnection().withLocation("pfoobr")
+ .withTableName("xgketwz")
+ .withMappingRuleName("zjhfjmhvv")
+ .withManagedIdentityResourceId("uvgp")
+ .withCosmosDbAccountResourceId("buzjyih")
+ .withCosmosDbDatabase("as")
+ .withCosmosDbContainer("hudypohyuemsl")
+ .withRetrievalStartDate(OffsetDateTime.parse("2021-08-05T10:43:49Z"));
model = BinaryData.fromObject(model).toObject(CosmosDbDataConnection.class);
- Assertions.assertEquals("v", model.location());
- Assertions.assertEquals("uhdqazk", model.tableName());
- Assertions.assertEquals("gg", model.mappingRuleName());
- Assertions.assertEquals("wpijrajci", model.managedIdentityResourceId());
- Assertions.assertEquals("vyi", model.cosmosDbAccountResourceId());
- Assertions.assertEquals("zqodfvpgshox", model.cosmosDbDatabase());
- Assertions.assertEquals("sgbpfgzdjtx", model.cosmosDbContainer());
- Assertions.assertEquals(OffsetDateTime.parse("2020-12-23T06:59:29Z"), model.retrievalStartDate());
+ Assertions.assertEquals("pfoobr", model.location());
+ Assertions.assertEquals("xgketwz", model.tableName());
+ Assertions.assertEquals("zjhfjmhvv", model.mappingRuleName());
+ Assertions.assertEquals("uvgp", model.managedIdentityResourceId());
+ Assertions.assertEquals("buzjyih", model.cosmosDbAccountResourceId());
+ Assertions.assertEquals("as", model.cosmosDbDatabase());
+ Assertions.assertEquals("hudypohyuemsl", model.cosmosDbContainer());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-05T10:43:49Z"), model.retrievalStartDate());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionCheckNameRequestTests.java
index 4f6ba4ccfb647..586a8d82129ca 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionCheckNameRequestTests.java
@@ -12,14 +12,14 @@ public final class DataConnectionCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DataConnectionCheckNameRequest model
- = BinaryData.fromString("{\"name\":\"j\"}").toObject(DataConnectionCheckNameRequest.class);
- Assertions.assertEquals("j", model.name());
+ = BinaryData.fromString("{\"name\":\"fomiloxgg\"}").toObject(DataConnectionCheckNameRequest.class);
+ Assertions.assertEquals("fomiloxgg", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DataConnectionCheckNameRequest model = new DataConnectionCheckNameRequest().withName("j");
+ DataConnectionCheckNameRequest model = new DataConnectionCheckNameRequest().withName("fomiloxgg");
model = BinaryData.fromObject(model).toObject(DataConnectionCheckNameRequest.class);
- Assertions.assertEquals("j", model.name());
+ Assertions.assertEquals("fomiloxgg", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionInnerTests.java
index 70c23b9151960..3810b833f0e65 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionInnerTests.java
@@ -12,15 +12,15 @@ public final class DataConnectionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DataConnectionInner model = BinaryData.fromString(
- "{\"kind\":\"DataConnection\",\"location\":\"zbrhubskhudyg\",\"id\":\"ookk\",\"name\":\"fqjbvleo\",\"type\":\"fmluiqtqzfavyvn\"}")
+ "{\"kind\":\"DataConnection\",\"location\":\"sutujba\",\"id\":\"pjuohminyfl\",\"name\":\"orwmduvwpklv\",\"type\":\"w\"}")
.toObject(DataConnectionInner.class);
- Assertions.assertEquals("zbrhubskhudyg", model.location());
+ Assertions.assertEquals("sutujba", model.location());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DataConnectionInner model = new DataConnectionInner().withLocation("zbrhubskhudyg");
+ DataConnectionInner model = new DataConnectionInner().withLocation("sutujba");
model = BinaryData.fromObject(model).toObject(DataConnectionInner.class);
- Assertions.assertEquals("zbrhubskhudyg", model.location());
+ Assertions.assertEquals("sutujba", model.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionListResultTests.java
index b8d1ff22c4365..cc3db3b024fed 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionListResultTests.java
@@ -14,18 +14,18 @@ public final class DataConnectionListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DataConnectionListResult model = BinaryData.fromString(
- "{\"value\":[{\"kind\":\"DataConnection\",\"location\":\"ehvbbxurip\",\"id\":\"tfnhtbaxkgxywr\",\"name\":\"kpyklyhp\",\"type\":\"uodpv\"},{\"kind\":\"DataConnection\",\"location\":\"udlgzibthostgkts\",\"id\":\"vdxec\",\"name\":\"zedqbcvhzlhplo\",\"type\":\"qkdlw\"},{\"kind\":\"DataConnection\",\"location\":\"fbumlkx\",\"id\":\"rqjfsmlm\",\"name\":\"txhwgfws\",\"type\":\"tawc\"}]}")
+ "{\"value\":[{\"kind\":\"DataConnection\",\"location\":\"bar\",\"id\":\"euayjkqabqgzsles\",\"name\":\"cbhernntiewdj\",\"type\":\"vbquwr\"},{\"kind\":\"DataConnection\",\"location\":\"hwagohbuffkmrqe\",\"id\":\"vvhmxtdrj\",\"name\":\"utacoe\",\"type\":\"jvewzcjznmwcp\"},{\"kind\":\"DataConnection\",\"location\":\"uaadraufactkahzo\",\"id\":\"ajjziuxxpshne\",\"name\":\"kulfg\",\"type\":\"lqubkwdlen\"}]}")
.toObject(DataConnectionListResult.class);
- Assertions.assertEquals("ehvbbxurip", model.value().get(0).location());
+ Assertions.assertEquals("bar", model.value().get(0).location());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DataConnectionListResult model = new DataConnectionListResult()
- .withValue(Arrays.asList(new DataConnectionInner().withLocation("ehvbbxurip"),
- new DataConnectionInner().withLocation("udlgzibthostgkts"),
- new DataConnectionInner().withLocation("fbumlkx")));
+ DataConnectionListResult model
+ = new DataConnectionListResult().withValue(Arrays.asList(new DataConnectionInner().withLocation("bar"),
+ new DataConnectionInner().withLocation("hwagohbuffkmrqe"),
+ new DataConnectionInner().withLocation("uaadraufactkahzo")));
model = BinaryData.fromObject(model).toObject(DataConnectionListResult.class);
- Assertions.assertEquals("ehvbbxurip", model.value().get(0).location());
+ Assertions.assertEquals("bar", model.value().get(0).location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationInnerTests.java
index c6fb77e7784fe..3760240eb66c5 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationInnerTests.java
@@ -13,18 +13,18 @@ public final class DataConnectionValidationInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DataConnectionValidationInner model = BinaryData.fromString(
- "{\"dataConnectionName\":\"ybar\",\"properties\":{\"kind\":\"DataConnection\",\"location\":\"ayjkqa\",\"id\":\"qgzsles\",\"name\":\"cbhernntiewdj\",\"type\":\"vbquwr\"}}")
+ "{\"dataConnectionName\":\"gdxpg\",\"properties\":{\"kind\":\"DataConnection\",\"location\":\"hiszepnnbjcrxgib\",\"id\":\"daxconfozauorsuk\",\"name\":\"kwbqplhlvnuu\",\"type\":\"pzlrphw\"}}")
.toObject(DataConnectionValidationInner.class);
- Assertions.assertEquals("ybar", model.dataConnectionName());
- Assertions.assertEquals("ayjkqa", model.properties().location());
+ Assertions.assertEquals("gdxpg", model.dataConnectionName());
+ Assertions.assertEquals("hiszepnnbjcrxgib", model.properties().location());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DataConnectionValidationInner model = new DataConnectionValidationInner().withDataConnectionName("ybar")
- .withProperties(new DataConnectionInner().withLocation("ayjkqa"));
+ DataConnectionValidationInner model = new DataConnectionValidationInner().withDataConnectionName("gdxpg")
+ .withProperties(new DataConnectionInner().withLocation("hiszepnnbjcrxgib"));
model = BinaryData.fromObject(model).toObject(DataConnectionValidationInner.class);
- Assertions.assertEquals("ybar", model.dataConnectionName());
- Assertions.assertEquals("ayjkqa", model.properties().location());
+ Assertions.assertEquals("gdxpg", model.dataConnectionName());
+ Assertions.assertEquals("hiszepnnbjcrxgib", model.properties().location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationListResultInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationListResultInnerTests.java
index 0dc668ccdbb80..b529f69e5aa18 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationListResultInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationListResultInnerTests.java
@@ -14,19 +14,18 @@ public final class DataConnectionValidationListResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DataConnectionValidationListResultInner model = BinaryData.fromString(
- "{\"value\":[{\"errorMessage\":\"agohbuff\"},{\"errorMessage\":\"rqemvvhmxt\"},{\"errorMessage\":\"jfutacoebj\"},{\"errorMessage\":\"wzcjznmwcpmgua\"}]}")
+ "{\"value\":[{\"errorMessage\":\"dweyuqdunv\"},{\"errorMessage\":\"nrwrbiork\"},{\"errorMessage\":\"lywjhh\"}]}")
.toObject(DataConnectionValidationListResultInner.class);
- Assertions.assertEquals("agohbuff", model.value().get(0).errorMessage());
+ Assertions.assertEquals("dweyuqdunv", model.value().get(0).errorMessage());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DataConnectionValidationListResultInner model = new DataConnectionValidationListResultInner()
- .withValue(Arrays.asList(new DataConnectionValidationResult().withErrorMessage("agohbuff"),
- new DataConnectionValidationResult().withErrorMessage("rqemvvhmxt"),
- new DataConnectionValidationResult().withErrorMessage("jfutacoebj"),
- new DataConnectionValidationResult().withErrorMessage("wzcjznmwcpmgua")));
+ .withValue(Arrays.asList(new DataConnectionValidationResult().withErrorMessage("dweyuqdunv"),
+ new DataConnectionValidationResult().withErrorMessage("nrwrbiork"),
+ new DataConnectionValidationResult().withErrorMessage("lywjhh")));
model = BinaryData.fromObject(model).toObject(DataConnectionValidationListResultInner.class);
- Assertions.assertEquals("agohbuff", model.value().get(0).errorMessage());
+ Assertions.assertEquals("dweyuqdunv", model.value().get(0).errorMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationResultTests.java
index 7eaec2aa5a6e2..e22db89454d96 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionValidationResultTests.java
@@ -11,15 +11,15 @@
public final class DataConnectionValidationResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DataConnectionValidationResult model = BinaryData.fromString("{\"errorMessage\":\"raufactkahzova\"}")
- .toObject(DataConnectionValidationResult.class);
- Assertions.assertEquals("raufactkahzova", model.errorMessage());
+ DataConnectionValidationResult model
+ = BinaryData.fromString("{\"errorMessage\":\"nhxmsi\"}").toObject(DataConnectionValidationResult.class);
+ Assertions.assertEquals("nhxmsi", model.errorMessage());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DataConnectionValidationResult model = new DataConnectionValidationResult().withErrorMessage("raufactkahzova");
+ DataConnectionValidationResult model = new DataConnectionValidationResult().withErrorMessage("nhxmsi");
model = BinaryData.fromObject(model).toObject(DataConnectionValidationResult.class);
- Assertions.assertEquals("raufactkahzova", model.errorMessage());
+ Assertions.assertEquals("nhxmsi", model.errorMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilityWithResponseMockTests.java
index 7e6d19e112d5b..05656428963e3 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCheckNameAvailabilityWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class DataConnectionsCheckNameAvailabilityWithResponseMockTests {
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":false,\"name\":\"qinfszpyglqd\",\"message\":\"rjzralcx\",\"reason\":\"AlreadyExists\"}";
+ = "{\"nameAvailable\":true,\"name\":\"xiwkgfbql\",\"message\":\"qkhychocok\",\"reason\":\"Invalid\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.dataConnections()
- .checkNameAvailabilityWithResponse("czhcoeocnh", "qr", "ttjzcfyjzpt",
- new DataConnectionCheckNameRequest().withName("rl"), com.azure.core.util.Context.NONE)
+ .checkNameAvailabilityWithResponse("awmo", "ia", "cz",
+ new DataConnectionCheckNameRequest().withName("vodrrslblxydkxr"), com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(false, response.nameAvailable());
- Assertions.assertEquals("qinfszpyglqd", response.name());
- Assertions.assertEquals("rjzralcx", response.message());
- Assertions.assertEquals(Reason.ALREADY_EXISTS, response.reason());
+ Assertions.assertEquals(true, response.nameAvailable());
+ Assertions.assertEquals("xiwkgfbql", response.name());
+ Assertions.assertEquals("qkhychocok", response.message());
+ Assertions.assertEquals(Reason.INVALID, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateMockTests.java
index c21273f683b45..4dac28acb3438 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsCreateOrUpdateMockTests.java
@@ -22,7 +22,7 @@ public final class DataConnectionsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"kind\":\"DataConnection\",\"location\":\"ddwwnlzafwxudgnh\",\"id\":\"ookrtalvnbw\",\"name\":\"pbeme\",\"type\":\"uclvdjj\"}";
+ = "{\"kind\":\"DataConnection\",\"location\":\"tnuwjtkschgc\",\"id\":\"qyhleseyq\",\"name\":\"hvyeldotj\",\"type\":\"dkwisw\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,9 +32,9 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DataConnection response = manager.dataConnections()
- .createOrUpdate("bscm", "lzijiufehgmvflnw", "v", "kxrerlniylylyfwx",
- new DataConnectionInner().withLocation("tgqztwhghmup"), com.azure.core.util.Context.NONE);
+ .createOrUpdate("scgdu", "sioycblevpmcl", "jy", "kyxl",
+ new DataConnectionInner().withLocation("sjgkzzltafh"), com.azure.core.util.Context.NONE);
- Assertions.assertEquals("ddwwnlzafwxudgnh", response.location());
+ Assertions.assertEquals("tnuwjtkschgc", response.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationMockTests.java
index 6109410f4c45d..d1ba3089c3e3e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDataConnectionValidationMockTests.java
@@ -23,7 +23,7 @@ public final class DataConnectionsDataConnectionValidationMockTests {
@Test
public void testDataConnectionValidation() throws Exception {
String responseStr
- = "{\"value\":[{\"errorMessage\":\"ewnf\"},{\"errorMessage\":\"hhhqosm\"},{\"errorMessage\":\"jkutycyarnr\"},{\"errorMessage\":\"hguabzoghktdp\"}]}";
+ = "{\"value\":[{\"errorMessage\":\"tlghwzhomew\"},{\"errorMessage\":\"s\"},{\"errorMessage\":\"iuh\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,11 +33,11 @@ public void testDataConnectionValidation() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DataConnectionValidationListResult response = manager.dataConnections()
- .dataConnectionValidation("aan", "ggiycwkdtaawxwf", "ka",
- new DataConnectionValidationInner().withDataConnectionName("rrqmbzmqk")
- .withProperties(new DataConnectionInner().withLocation("bnxwbjsidbirkf")),
+ .dataConnectionValidation("nlzafwxudgnh", "ookrtalvnbw", "pbeme",
+ new DataConnectionValidationInner().withDataConnectionName("clvdjjukyrdnqod")
+ .withProperties(new DataConnectionInner().withLocation("h")),
com.azure.core.util.Context.NONE);
- Assertions.assertEquals("ewnf", response.value().get(0).errorMessage());
+ Assertions.assertEquals("tlghwzhomew", response.value().get(0).errorMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteMockTests.java
index 5cbf257b98c78..d25896cd229ba 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsDeleteMockTests.java
@@ -27,9 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.dataConnections()
- .delete("vodrrslblxydkxr", "vvbxiwkgfbqljnq", "hychocokuleh", "rqlrqffawe",
- com.azure.core.util.Context.NONE);
+ manager.dataConnections().delete("djus", "br", "eqy", "kceysfaqegplw", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetWithResponseMockTests.java
index 166f8fc2c8d14..66620588839e1 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class DataConnectionsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"kind\":\"DataConnection\",\"location\":\"hqxu\",\"id\":\"yvca\",\"name\":\"oyvivbsiz\",\"type\":\"sjsz\"}";
+ = "{\"kind\":\"DataConnection\",\"location\":\"xk\",\"id\":\"y\",\"name\":\"jjk\",\"type\":\"ajb\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,9 +31,9 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DataConnection response = manager.dataConnections()
- .getWithResponse("yypsjoqc", "enky", "fq", "vsqxfxjelgcmpzqj", com.azure.core.util.Context.NONE)
+ .getWithResponse("hurql", "qffawey", "rkphyjdxr", "vjuqdbrxmrgchb", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("hqxu", response.location());
+ Assertions.assertEquals("xk", response.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseMockTests.java
index 5becbc6418dc9..aabbbe5dfe402 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsListByDatabaseMockTests.java
@@ -22,7 +22,7 @@ public final class DataConnectionsListByDatabaseMockTests {
@Test
public void testListByDatabase() throws Exception {
String responseStr
- = "{\"value\":[{\"kind\":\"DataConnection\",\"location\":\"xyivpinbm\",\"id\":\"wbjijkgq\",\"name\":\"nhmbkez\",\"type\":\"jauj\"}]}";
+ = "{\"value\":[{\"kind\":\"DataConnection\",\"location\":\"mupgxy\",\"id\":\"tcdxabbujftaben\",\"name\":\"bklqpxz\",\"type\":\"cafeddw\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,8 +32,8 @@ public void testListByDatabase() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response = manager.dataConnections()
- .listByDatabase("aolnjpnnbmjk", "ibjgsjjxxahm", "nadzyq", com.azure.core.util.Context.NONE);
+ .listByDatabase("v", "kxrerlniylylyfwx", "utgqztwh", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("xyivpinbm", response.iterator().next().location());
+ Assertions.assertEquals("mupgxy", response.iterator().next().location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateMockTests.java
index bb07ad01dcfe4..b46edb5756af8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DataConnectionsUpdateMockTests.java
@@ -22,7 +22,7 @@ public final class DataConnectionsUpdateMockTests {
@Test
public void testUpdate() throws Exception {
String responseStr
- = "{\"kind\":\"DataConnection\",\"location\":\"iuh\",\"id\":\"awmo\",\"name\":\"ia\",\"type\":\"cz\"}";
+ = "{\"kind\":\"DataConnection\",\"location\":\"kfaoytehq\",\"id\":\"uvjmv\",\"name\":\"mtdwcky\",\"type\":\"roejnndl\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,9 +32,9 @@ public void testUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DataConnection response = manager.dataConnections()
- .update("kyrdnqodx", "hhxhq", "aqnvzoqgyipemchg", "v", new DataConnectionInner().withLocation("zuejd"),
- com.azure.core.util.Context.NONE);
+ .update("kukjtasb", "wispkxk", "txfkndlqvt", "knvgmmbugtywat",
+ new DataConnectionInner().withLocation("aqkue"), com.azure.core.util.Context.NONE);
- Assertions.assertEquals("iuh", response.location());
+ Assertions.assertEquals("kfaoytehq", response.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInnerTests.java
index 5ce9116426d94..b84520e2d411f 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInnerTests.java
@@ -12,15 +12,15 @@ public final class DatabaseInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabaseInner model = BinaryData.fromString(
- "{\"kind\":\"Database\",\"location\":\"nkww\",\"id\":\"pp\",\"name\":\"flcxoga\",\"type\":\"konzmnsik\"}")
+ "{\"kind\":\"Database\",\"location\":\"btkuwhh\",\"id\":\"hykojoxafnndlpic\",\"name\":\"koymkcd\",\"type\":\"h\"}")
.toObject(DatabaseInner.class);
- Assertions.assertEquals("nkww", model.location());
+ Assertions.assertEquals("btkuwhh", model.location());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabaseInner model = new DatabaseInner().withLocation("nkww");
+ DatabaseInner model = new DatabaseInner().withLocation("btkuwhh");
model = BinaryData.fromObject(model).toObject(DatabaseInner.class);
- Assertions.assertEquals("nkww", model.location());
+ Assertions.assertEquals("btkuwhh", model.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerRequestTests.java
index fac0abf79bcf0..c497d2f57e5d5 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerRequestTests.java
@@ -14,42 +14,45 @@ public final class DatabaseInviteFollowerRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabaseInviteFollowerRequest model = BinaryData.fromString(
- "{\"inviteeEmail\":\"mkqzeqqkdltfzxmh\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"ur\",\"odkwobd\",\"gxtibqdxbxw\",\"kbogqxndlkzgx\"],\"tablesToExclude\":[\"iplbpodxunkbebxm\"],\"externalTablesToInclude\":[\"yntwlrbq\",\"koievseo\"],\"externalTablesToExclude\":[\"rlltmuwlauwzizx\"],\"materializedViewsToInclude\":[\"gcj\",\"fuzmuvpbtt\",\"um\"],\"materializedViewsToExclude\":[\"pxebmnzbt\"],\"functionsToInclude\":[\"pglkf\",\"ohdneuel\",\"phsdyhto\"],\"functionsToExclude\":[\"kd\",\"wwquuvxzxclvithh\",\"zonosgg\"]}}")
+ "{\"inviteeEmail\":\"pkkpw\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"novvqfovljxy\"],\"tablesToExclude\":[\"w\",\"yrs\",\"dsytgadgvr\",\"ea\"],\"externalTablesToInclude\":[\"qnzarrwl\"],\"externalTablesToExclude\":[\"ijfqkacewiipfp\",\"bjibwwiftohq\"],\"materializedViewsToInclude\":[\"uvksgplsaknynfsy\",\"ljphuopxodl\"],\"materializedViewsToExclude\":[\"ntorzihleosjswsr\"],\"functionsToInclude\":[\"yzrpzbchckqqzq\",\"ox\",\"ysuiizynkedya\",\"rwyhqmibzyhwitsm\"],\"functionsToExclude\":[\"ynpcdpumnzgmwznm\",\"biknsorgjhxbld\",\"lwwrl\",\"dmtnc\"]}}")
.toObject(DatabaseInviteFollowerRequest.class);
- Assertions.assertEquals("mkqzeqqkdltfzxmh", model.inviteeEmail());
- Assertions.assertEquals("ur", model.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("iplbpodxunkbebxm", model.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("yntwlrbq", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("rlltmuwlauwzizx",
- model.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("gcj", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("pxebmnzbt", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("pglkf", model.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("kd", model.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("pkkpw", model.inviteeEmail());
+ Assertions.assertEquals("novvqfovljxy", model.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("w", model.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("qnzarrwl", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("ijfqkacewiipfp", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("uvksgplsaknynfsy",
+ model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
+ Assertions.assertEquals("ntorzihleosjswsr",
+ model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("yzrpzbchckqqzq", model.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("ynpcdpumnzgmwznm", model.tableLevelSharingProperties().functionsToExclude().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabaseInviteFollowerRequest model = new DatabaseInviteFollowerRequest().withInviteeEmail("mkqzeqqkdltfzxmh")
- .withTableLevelSharingProperties(new TableLevelSharingProperties()
- .withTablesToInclude(Arrays.asList("ur", "odkwobd", "gxtibqdxbxw", "kbogqxndlkzgx"))
- .withTablesToExclude(Arrays.asList("iplbpodxunkbebxm"))
- .withExternalTablesToInclude(Arrays.asList("yntwlrbq", "koievseo"))
- .withExternalTablesToExclude(Arrays.asList("rlltmuwlauwzizx"))
- .withMaterializedViewsToInclude(Arrays.asList("gcj", "fuzmuvpbtt", "um"))
- .withMaterializedViewsToExclude(Arrays.asList("pxebmnzbt"))
- .withFunctionsToInclude(Arrays.asList("pglkf", "ohdneuel", "phsdyhto"))
- .withFunctionsToExclude(Arrays.asList("kd", "wwquuvxzxclvithh", "zonosgg")));
+ DatabaseInviteFollowerRequest model
+ = new DatabaseInviteFollowerRequest().withInviteeEmail("pkkpw")
+ .withTableLevelSharingProperties(new TableLevelSharingProperties()
+ .withTablesToInclude(Arrays.asList("novvqfovljxy"))
+ .withTablesToExclude(Arrays.asList("w", "yrs", "dsytgadgvr", "ea"))
+ .withExternalTablesToInclude(Arrays.asList("qnzarrwl"))
+ .withExternalTablesToExclude(Arrays.asList("ijfqkacewiipfp", "bjibwwiftohq"))
+ .withMaterializedViewsToInclude(Arrays.asList("uvksgplsaknynfsy", "ljphuopxodl"))
+ .withMaterializedViewsToExclude(Arrays.asList("ntorzihleosjswsr"))
+ .withFunctionsToInclude(Arrays.asList("yzrpzbchckqqzq", "ox", "ysuiizynkedya", "rwyhqmibzyhwitsm"))
+ .withFunctionsToExclude(Arrays.asList("ynpcdpumnzgmwznm", "biknsorgjhxbld", "lwwrl", "dmtnc")));
model = BinaryData.fromObject(model).toObject(DatabaseInviteFollowerRequest.class);
- Assertions.assertEquals("mkqzeqqkdltfzxmh", model.inviteeEmail());
- Assertions.assertEquals("ur", model.tableLevelSharingProperties().tablesToInclude().get(0));
- Assertions.assertEquals("iplbpodxunkbebxm", model.tableLevelSharingProperties().tablesToExclude().get(0));
- Assertions.assertEquals("yntwlrbq", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
- Assertions.assertEquals("rlltmuwlauwzizx",
- model.tableLevelSharingProperties().externalTablesToExclude().get(0));
- Assertions.assertEquals("gcj", model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
- Assertions.assertEquals("pxebmnzbt", model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
- Assertions.assertEquals("pglkf", model.tableLevelSharingProperties().functionsToInclude().get(0));
- Assertions.assertEquals("kd", model.tableLevelSharingProperties().functionsToExclude().get(0));
+ Assertions.assertEquals("pkkpw", model.inviteeEmail());
+ Assertions.assertEquals("novvqfovljxy", model.tableLevelSharingProperties().tablesToInclude().get(0));
+ Assertions.assertEquals("w", model.tableLevelSharingProperties().tablesToExclude().get(0));
+ Assertions.assertEquals("qnzarrwl", model.tableLevelSharingProperties().externalTablesToInclude().get(0));
+ Assertions.assertEquals("ijfqkacewiipfp", model.tableLevelSharingProperties().externalTablesToExclude().get(0));
+ Assertions.assertEquals("uvksgplsaknynfsy",
+ model.tableLevelSharingProperties().materializedViewsToInclude().get(0));
+ Assertions.assertEquals("ntorzihleosjswsr",
+ model.tableLevelSharingProperties().materializedViewsToExclude().get(0));
+ Assertions.assertEquals("yzrpzbchckqqzq", model.tableLevelSharingProperties().functionsToInclude().get(0));
+ Assertions.assertEquals("ynpcdpumnzgmwznm", model.tableLevelSharingProperties().functionsToExclude().get(0));
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerResultInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerResultInnerTests.java
index 39eecf4530487..66e9606ae10a1 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerResultInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseInviteFollowerResultInnerTests.java
@@ -11,15 +11,16 @@
public final class DatabaseInviteFollowerResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DatabaseInviteFollowerResultInner model = BinaryData.fromString("{\"generatedInvitation\":\"c\"}")
+ DatabaseInviteFollowerResultInner model = BinaryData.fromString("{\"generatedInvitation\":\"kotl\"}")
.toObject(DatabaseInviteFollowerResultInner.class);
- Assertions.assertEquals("c", model.generatedInvitation());
+ Assertions.assertEquals("kotl", model.generatedInvitation());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabaseInviteFollowerResultInner model = new DatabaseInviteFollowerResultInner().withGeneratedInvitation("c");
+ DatabaseInviteFollowerResultInner model
+ = new DatabaseInviteFollowerResultInner().withGeneratedInvitation("kotl");
model = BinaryData.fromObject(model).toObject(DatabaseInviteFollowerResultInner.class);
- Assertions.assertEquals("c", model.generatedInvitation());
+ Assertions.assertEquals("kotl", model.generatedInvitation());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseListResultTests.java
index 5c5969ef38da9..3b4c6d98ec3b3 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseListResultTests.java
@@ -14,20 +14,21 @@ public final class DatabaseListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabaseListResult model = BinaryData.fromString(
- "{\"nextLink\":\"ycduier\",\"value\":[{\"kind\":\"Database\",\"location\":\"y\",\"id\":\"vaolpsslqlf\",\"name\":\"mdnbbglzpswiy\",\"type\":\"mcwyhzdxssadb\"},{\"kind\":\"Database\",\"location\":\"nvdfznuda\",\"id\":\"dvxzbncblylpst\",\"name\":\"bhhxsrzdzuc\",\"type\":\"rsc\"},{\"kind\":\"Database\",\"location\":\"t\",\"id\":\"evfiwjmygt\",\"name\":\"sslswtmweriof\",\"type\":\"pyqs\"},{\"kind\":\"Database\",\"location\":\"wab\",\"id\":\"ets\",\"name\":\"hszhedplvwiwu\",\"type\":\"mwmbes\"}]}")
+ "{\"nextLink\":\"qgxy\",\"value\":[{\"kind\":\"Database\",\"location\":\"mbqfqvmk\",\"id\":\"xozap\",\"name\":\"helxprglya\",\"type\":\"dd\"},{\"kind\":\"Database\",\"location\":\"cbcuejrjxgciqi\",\"id\":\"rhos\",\"name\":\"sdqrhzoymibmrq\",\"type\":\"ibahwflus\"},{\"kind\":\"Database\",\"location\":\"tmhrkwofyyvoqacp\",\"id\":\"expbtg\",\"name\":\"wbwo\",\"type\":\"nwashrtd\"},{\"kind\":\"Database\",\"location\":\"cnqxwbpokulpi\",\"id\":\"jwaa\",\"name\":\"ipqiiobyuqerpq\",\"type\":\"pqwcciuqgbdbutau\"}]}")
.toObject(DatabaseListResult.class);
- Assertions.assertEquals("ycduier", model.nextLink());
- Assertions.assertEquals("y", model.value().get(0).location());
+ Assertions.assertEquals("qgxy", model.nextLink());
+ Assertions.assertEquals("mbqfqvmk", model.value().get(0).location());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabaseListResult model = new DatabaseListResult().withNextLink("ycduier")
- .withValue(
- Arrays.asList(new DatabaseInner().withLocation("y"), new DatabaseInner().withLocation("nvdfznuda"),
- new DatabaseInner().withLocation("t"), new DatabaseInner().withLocation("wab")));
+ DatabaseListResult model = new DatabaseListResult().withNextLink("qgxy")
+ .withValue(Arrays.asList(new DatabaseInner().withLocation("mbqfqvmk"),
+ new DatabaseInner().withLocation("cbcuejrjxgciqi"),
+ new DatabaseInner().withLocation("tmhrkwofyyvoqacp"),
+ new DatabaseInner().withLocation("cnqxwbpokulpi")));
model = BinaryData.fromObject(model).toObject(DatabaseListResult.class);
- Assertions.assertEquals("ycduier", model.nextLink());
- Assertions.assertEquals("y", model.value().get(0).location());
+ Assertions.assertEquals("qgxy", model.nextLink());
+ Assertions.assertEquals("mbqfqvmk", model.value().get(0).location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationsInviteFollowerWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationsInviteFollowerWithResponseMockTests.java
index 1f2da5e61c18b..eb8448c63fe0b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationsInviteFollowerWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseOperationsInviteFollowerWithResponseMockTests.java
@@ -23,7 +23,7 @@
public final class DatabaseOperationsInviteFollowerWithResponseMockTests {
@Test
public void testInviteFollowerWithResponse() throws Exception {
- String responseStr = "{\"generatedInvitation\":\"ewbidyvteowxv\"}";
+ String responseStr = "{\"generatedInvitation\":\"cxmjpbyephmg\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,20 +33,21 @@ public void testInviteFollowerWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DatabaseInviteFollowerResult response = manager.databaseOperations()
- .inviteFollowerWithResponse("wjksghudgzhxo", "jggsvo", "jkxibda",
- new DatabaseInviteFollowerRequest().withInviteeEmail("hrkmdyomkxfbvfbh")
+ .inviteFollowerWithResponse("sxze", "paxwkufyk", "vuhx",
+ new DatabaseInviteFollowerRequest().withInviteeEmail("pmru")
.withTableLevelSharingProperties(new TableLevelSharingProperties()
- .withTablesToInclude(Arrays.asList("hpwpgddeimawzovg"))
- .withTablesToExclude(Arrays.asList("muikjcjcaztbws"))
- .withExternalTablesToInclude(Arrays.asList("owxwcomli", "ytwvczcswkacve"))
- .withExternalTablesToExclude(Arrays.asList("dvlvhbwrnfxtgdd"))
- .withMaterializedViewsToInclude(Arrays.asList("hehnmnaoya"))
- .withMaterializedViewsToExclude(Arrays.asList("oe", "swankltytmh", "roznnhdrlktgj", "sggux"))
- .withFunctionsToInclude(Arrays.asList("lwywae", "czg", "bukklels"))
- .withFunctionsToExclude(Arrays.asList("lycsxz", "jks", "lsmdesqplpvmjc"))),
+ .withTablesToInclude(Arrays.asList("baobn", "lujdjltymkmv", "uihywart", "pphkixkykxds"))
+ .withTablesToExclude(Arrays.asList("emmucfxh", "kkflrmymyincqlhr", "s"))
+ .withExternalTablesToInclude(Arrays.asList("miii", "v"))
+ .withExternalTablesToExclude(Arrays.asList("gxuugqkctotio", "l", "teqdptj", "wdtgukranblw"))
+ .withMaterializedViewsToInclude(
+ Arrays.asList("lkccuzgygqwa", "oiulwgniipr", "lvawuwzdufypivls", "bjpmcubk"))
+ .withMaterializedViewsToExclude(Arrays.asList("oxxkubvp"))
+ .withFunctionsToInclude(Arrays.asList("pmhbrbq"))
+ .withFunctionsToExclude(Arrays.asList("ovpbbttefjoknssq", "zqedikdfrdbi", "mrjgeihfqlggwfi"))),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("ewbidyvteowxv", response.generatedInvitation());
+ Assertions.assertEquals("cxmjpbyephmg", response.generatedInvitation());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentCheckNameRequestTests.java
index 4f5e8e8115aec..d46833ab6574e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentCheckNameRequestTests.java
@@ -11,16 +11,16 @@
public final class DatabasePrincipalAssignmentCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DatabasePrincipalAssignmentCheckNameRequest model = BinaryData.fromString("{\"name\":\"hfwdsjnkaljutiis\"}")
- .toObject(DatabasePrincipalAssignmentCheckNameRequest.class);
- Assertions.assertEquals("hfwdsjnkaljutiis", model.name());
+ DatabasePrincipalAssignmentCheckNameRequest model
+ = BinaryData.fromString("{\"name\":\"xdy\"}").toObject(DatabasePrincipalAssignmentCheckNameRequest.class);
+ Assertions.assertEquals("xdy", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DatabasePrincipalAssignmentCheckNameRequest model
- = new DatabasePrincipalAssignmentCheckNameRequest().withName("hfwdsjnkaljutiis");
+ = new DatabasePrincipalAssignmentCheckNameRequest().withName("xdy");
model = BinaryData.fromObject(model).toObject(DatabasePrincipalAssignmentCheckNameRequest.class);
- Assertions.assertEquals("hfwdsjnkaljutiis", model.name());
+ Assertions.assertEquals("xdy", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentInnerTests.java
index 16ddf1cad5264..817d7bc28151f 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentInnerTests.java
@@ -14,24 +14,25 @@ public final class DatabasePrincipalAssignmentInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabasePrincipalAssignmentInner model = BinaryData.fromString(
- "{\"properties\":{\"principalId\":\"cffgdkzzewk\",\"role\":\"User\",\"tenantId\":\"qcrailvpnppfufl\",\"principalType\":\"Group\",\"tenantName\":\"mh\",\"principalName\":\"xyjrxsagafcnih\",\"provisioningState\":\"Deleting\",\"aadObjectId\":\"pnedgf\"},\"id\":\"cvkcvqvpkeqdcv\",\"name\":\"rhvoods\",\"type\":\"tbobz\"}")
+ "{\"properties\":{\"principalId\":\"syocogjltdtbnnha\",\"role\":\"User\",\"tenantId\":\"crkvcikhnv\",\"principalType\":\"App\",\"tenantName\":\"qgxqquezikyw\",\"principalName\":\"xkalla\",\"provisioningState\":\"Failed\",\"aadObjectId\":\"wuipiccjzkzivg\"},\"id\":\"vc\",\"name\":\"ayrhyrnx\",\"type\":\"mueedndrdvstk\"}")
.toObject(DatabasePrincipalAssignmentInner.class);
- Assertions.assertEquals("cffgdkzzewk", model.principalId());
+ Assertions.assertEquals("syocogjltdtbnnha", model.principalId());
Assertions.assertEquals(DatabasePrincipalRole.USER, model.role());
- Assertions.assertEquals("qcrailvpnppfufl", model.tenantId());
- Assertions.assertEquals(PrincipalType.GROUP, model.principalType());
+ Assertions.assertEquals("crkvcikhnv", model.tenantId());
+ Assertions.assertEquals(PrincipalType.APP, model.principalType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabasePrincipalAssignmentInner model = new DatabasePrincipalAssignmentInner().withPrincipalId("cffgdkzzewk")
- .withRole(DatabasePrincipalRole.USER)
- .withTenantId("qcrailvpnppfufl")
- .withPrincipalType(PrincipalType.GROUP);
+ DatabasePrincipalAssignmentInner model
+ = new DatabasePrincipalAssignmentInner().withPrincipalId("syocogjltdtbnnha")
+ .withRole(DatabasePrincipalRole.USER)
+ .withTenantId("crkvcikhnv")
+ .withPrincipalType(PrincipalType.APP);
model = BinaryData.fromObject(model).toObject(DatabasePrincipalAssignmentInner.class);
- Assertions.assertEquals("cffgdkzzewk", model.principalId());
+ Assertions.assertEquals("syocogjltdtbnnha", model.principalId());
Assertions.assertEquals(DatabasePrincipalRole.USER, model.role());
- Assertions.assertEquals("qcrailvpnppfufl", model.tenantId());
- Assertions.assertEquals(PrincipalType.GROUP, model.principalType());
+ Assertions.assertEquals("crkvcikhnv", model.tenantId());
+ Assertions.assertEquals(PrincipalType.APP, model.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentListResultTests.java
index d57b8251cb85f..daadfda629477 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentListResultTests.java
@@ -16,11 +16,11 @@ public final class DatabasePrincipalAssignmentListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabasePrincipalAssignmentListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"principalId\":\"mbmpaxmodfvuefy\",\"role\":\"UnrestrictedViewer\",\"tenantId\":\"pfvmwyhrfou\",\"principalType\":\"User\",\"tenantName\":\"aakc\",\"principalName\":\"iyzvqtmnub\",\"provisioningState\":\"Deleting\",\"aadObjectId\":\"zksmondj\"},\"id\":\"quxvypomgkop\",\"name\":\"whojvp\",\"type\":\"jqg\"},{\"properties\":{\"principalId\":\"smocmbq\",\"role\":\"Viewer\",\"tenantId\":\"mkcxozapvh\",\"principalType\":\"App\",\"tenantName\":\"prglya\",\"principalName\":\"dckcbc\",\"provisioningState\":\"Failed\",\"aadObjectId\":\"jxgciqibrh\"},\"id\":\"sxsdqrhzoymibm\",\"name\":\"qyib\",\"type\":\"hwflu\"},{\"properties\":{\"principalId\":\"dtmhrkwofyyvoqa\",\"role\":\"Admin\",\"tenantId\":\"expbtg\",\"principalType\":\"App\",\"tenantName\":\"wo\",\"principalName\":\"washr\",\"provisioningState\":\"Moving\",\"aadObjectId\":\"cnqxwbpokulpi\"},\"id\":\"jwaa\",\"name\":\"ipqiiobyuqerpq\",\"type\":\"pqwcciuqgbdbutau\"},{\"properties\":{\"principalId\":\"btkuwhh\",\"role\":\"UnrestrictedViewer\",\"tenantId\":\"k\",\"principalType\":\"App\",\"tenantName\":\"xafnndlpichko\",\"principalName\":\"kcdyhbpk\",\"provisioningState\":\"Deleting\",\"aadObjectId\":\"reqnovvqfov\"},\"id\":\"jxywsuws\",\"name\":\"rsndsytgadgvra\",\"type\":\"aeneqnzarrwl\"}]}")
+ "{\"value\":[{\"properties\":{\"principalId\":\"fnjhfjxwmszkkfo\",\"role\":\"Monitor\",\"tenantId\":\"yfkzik\",\"principalType\":\"User\",\"tenantName\":\"wneaiv\",\"principalName\":\"czelpcirel\",\"provisioningState\":\"Failed\",\"aadObjectId\":\"enwabfatk\"},\"id\":\"ddxbjhwuaanoz\",\"name\":\"osphyoul\",\"type\":\"jrvxaglrv\"},{\"properties\":{\"principalId\":\"jwosytxitcskfck\",\"role\":\"Viewer\",\"tenantId\":\"miekkezzikhlyfjh\",\"principalType\":\"User\",\"tenantName\":\"gge\",\"principalName\":\"unygaeqid\",\"provisioningState\":\"Failed\",\"aadObjectId\":\"t\"},\"id\":\"xllrxcyjm\",\"name\":\"a\",\"type\":\"su\"},{\"properties\":{\"principalId\":\"r\",\"role\":\"Monitor\",\"tenantId\":\"dmjsjqb\",\"principalType\":\"App\",\"tenantName\":\"yxxrwlycoduh\",\"principalName\":\"xkgymareqnajxqu\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"ycubeddgs\"},\"id\":\"ofwq\",\"name\":\"zqalkrmnjijpx\",\"type\":\"cqqudf\"}]}")
.toObject(DatabasePrincipalAssignmentListResult.class);
- Assertions.assertEquals("mbmpaxmodfvuefy", model.value().get(0).principalId());
- Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.value().get(0).role());
- Assertions.assertEquals("pfvmwyhrfou", model.value().get(0).tenantId());
+ Assertions.assertEquals("fnjhfjxwmszkkfo", model.value().get(0).principalId());
+ Assertions.assertEquals(DatabasePrincipalRole.MONITOR, model.value().get(0).role());
+ Assertions.assertEquals("yfkzik", model.value().get(0).tenantId());
Assertions.assertEquals(PrincipalType.USER, model.value().get(0).principalType());
}
@@ -28,26 +28,22 @@ public void testDeserialize() throws Exception {
public void testSerialize() throws Exception {
DatabasePrincipalAssignmentListResult model
= new DatabasePrincipalAssignmentListResult().withValue(Arrays.asList(
- new DatabasePrincipalAssignmentInner().withPrincipalId("mbmpaxmodfvuefy")
- .withRole(DatabasePrincipalRole.UNRESTRICTED_VIEWER)
- .withTenantId("pfvmwyhrfou")
+ new DatabasePrincipalAssignmentInner().withPrincipalId("fnjhfjxwmszkkfo")
+ .withRole(DatabasePrincipalRole.MONITOR)
+ .withTenantId("yfkzik")
.withPrincipalType(PrincipalType.USER),
- new DatabasePrincipalAssignmentInner().withPrincipalId("smocmbq")
+ new DatabasePrincipalAssignmentInner().withPrincipalId("jwosytxitcskfck")
.withRole(DatabasePrincipalRole.VIEWER)
- .withTenantId("mkcxozapvh")
- .withPrincipalType(PrincipalType.APP),
- new DatabasePrincipalAssignmentInner().withPrincipalId("dtmhrkwofyyvoqa")
- .withRole(DatabasePrincipalRole.ADMIN)
- .withTenantId("expbtg")
- .withPrincipalType(PrincipalType.APP),
- new DatabasePrincipalAssignmentInner().withPrincipalId("btkuwhh")
- .withRole(DatabasePrincipalRole.UNRESTRICTED_VIEWER)
- .withTenantId("k")
+ .withTenantId("miekkezzikhlyfjh")
+ .withPrincipalType(PrincipalType.USER),
+ new DatabasePrincipalAssignmentInner().withPrincipalId("r")
+ .withRole(DatabasePrincipalRole.MONITOR)
+ .withTenantId("dmjsjqb")
.withPrincipalType(PrincipalType.APP)));
model = BinaryData.fromObject(model).toObject(DatabasePrincipalAssignmentListResult.class);
- Assertions.assertEquals("mbmpaxmodfvuefy", model.value().get(0).principalId());
- Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.value().get(0).role());
- Assertions.assertEquals("pfvmwyhrfou", model.value().get(0).tenantId());
+ Assertions.assertEquals("fnjhfjxwmszkkfo", model.value().get(0).principalId());
+ Assertions.assertEquals(DatabasePrincipalRole.MONITOR, model.value().get(0).role());
+ Assertions.assertEquals("yfkzik", model.value().get(0).tenantId());
Assertions.assertEquals(PrincipalType.USER, model.value().get(0).principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java
index 71e1c34b4a9af..bf149f20359ca 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCheckNameAvailabilityWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class DatabasePrincipalAssignmentsCheckNameAvailabilityWithResponse
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":true,\"name\":\"wartspphkixkykxd\",\"message\":\"j\",\"reason\":\"Invalid\"}";
+ = "{\"nameAvailable\":false,\"name\":\"aswlp\",\"message\":\"gm\",\"reason\":\"AlreadyExists\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,14 +33,13 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.databasePrincipalAssignments()
- .checkNameAvailabilityWithResponse("piudeugfsxzecpa", "wkufykhvuhxepm", "utznabaobns",
- new DatabasePrincipalAssignmentCheckNameRequest().withName("ujdjltymkmvg"),
- com.azure.core.util.Context.NONE)
+ .checkNameAvailabilityWithResponse("vljvrc", "yfqi", "gxhnpomyqwcabv",
+ new DatabasePrincipalAssignmentCheckNameRequest().withName("ui"), com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(true, response.nameAvailable());
- Assertions.assertEquals("wartspphkixkykxd", response.name());
- Assertions.assertEquals("j", response.message());
- Assertions.assertEquals(Reason.INVALID, response.reason());
+ Assertions.assertEquals(false, response.nameAvailable());
+ Assertions.assertEquals("aswlp", response.name());
+ Assertions.assertEquals("gm", response.message());
+ Assertions.assertEquals(Reason.ALREADY_EXISTS, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateMockTests.java
index 16ff43ef29368..ba056c79827fe 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsCreateOrUpdateMockTests.java
@@ -23,7 +23,7 @@ public final class DatabasePrincipalAssignmentsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"principalId\":\"mkoisqcssf\",\"role\":\"Ingestor\",\"tenantId\":\"ifmcsypobkdqzr\",\"principalType\":\"App\",\"tenantName\":\"ylollgtrczzydmxz\",\"principalName\":\"jpvuaurkihcirld\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"dcoxnbk\"},\"id\":\"ja\",\"name\":\"urnnqbnqbpiz\",\"type\":\"qltgrd\"}";
+ = "{\"properties\":{\"principalId\":\"mjel\",\"role\":\"UnrestrictedViewer\",\"tenantId\":\"cigeleohdbvqvw\",\"principalType\":\"Group\",\"tenantName\":\"opwbeonrlkwzd\",\"principalName\":\"bxcea\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"tsoqfyiaseqchk\"},\"id\":\"ttzrazisgyki\",\"name\":\"emv\",\"type\":\"nbwzohmnrxxbso\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,17 +33,17 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DatabasePrincipalAssignment response = manager.databasePrincipalAssignments()
- .define("xtwbta")
- .withExistingDatabase("dlrgms", "lzgaufcshhvnew", "nxkympqanxrjk")
- .withPrincipalId("pnyghs")
+ .define("k")
+ .withExistingDatabase("spnxwqagnepzw", "klsbsbqqqagw", "rxaomzisglrrcze")
+ .withPrincipalId("ltn")
.withRole(DatabasePrincipalRole.INGESTOR)
- .withTenantId("ylhk")
+ .withTenantId("hqo")
.withPrincipalType(PrincipalType.GROUP)
.create();
- Assertions.assertEquals("mkoisqcssf", response.principalId());
- Assertions.assertEquals(DatabasePrincipalRole.INGESTOR, response.role());
- Assertions.assertEquals("ifmcsypobkdqzr", response.tenantId());
- Assertions.assertEquals(PrincipalType.APP, response.principalType());
+ Assertions.assertEquals("mjel", response.principalId());
+ Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, response.role());
+ Assertions.assertEquals("cigeleohdbvqvw", response.tenantId());
+ Assertions.assertEquals(PrincipalType.GROUP, response.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteMockTests.java
index b84d1d757c071..67a3aa764b728 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsDeleteMockTests.java
@@ -28,7 +28,7 @@ public void testDelete() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
manager.databasePrincipalAssignments()
- .delete("gvgovpbbttefjo", "nssqyzqed", "kdfrdbiqmrjgeihf", "lg", com.azure.core.util.Context.NONE);
+ .delete("ac", "u", "vxnqmhrpqpd", "wmkoisq", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetWithResponseMockTests.java
index a6d8ff3e76717..ce10f0747962f 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsGetWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class DatabasePrincipalAssignmentsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"principalId\":\"iiovgqcgxu\",\"role\":\"Admin\",\"tenantId\":\"kctotiowlxteq\",\"principalType\":\"User\",\"tenantName\":\"jgwdtgukranbl\",\"principalName\":\"hqlkccuzgygqwaho\",\"provisioningState\":\"Running\",\"aadObjectId\":\"gniiprglvaw\"},\"id\":\"wzdufypivlsbb\",\"name\":\"pmcubkmifoxxkub\",\"type\":\"phavpmhbrb\"}";
+ = "{\"properties\":{\"principalId\":\"guamlj\",\"role\":\"Ingestor\",\"tenantId\":\"gmsplzgaufcshhv\",\"principalType\":\"App\",\"tenantName\":\"gnxkympqan\",\"principalName\":\"jk\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"bta\"},\"id\":\"ypnyghshxc\",\"name\":\"lhkgmnsghp\",\"type\":\"ycphdrwjjkhvyo\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,12 +33,13 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DatabasePrincipalAssignment response = manager.databasePrincipalAssignments()
- .getWithResponse("mucfxhikkf", "rmymyincqlhr", "s", "sl", com.azure.core.util.Context.NONE)
+ .getWithResponse("jlrxwtoaukhfk", "cisiz", "oaedsxjwuivedwcg", "eewxeiqbpsmg",
+ com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("iiovgqcgxu", response.principalId());
- Assertions.assertEquals(DatabasePrincipalRole.ADMIN, response.role());
- Assertions.assertEquals("kctotiowlxteq", response.tenantId());
- Assertions.assertEquals(PrincipalType.USER, response.principalType());
+ Assertions.assertEquals("guamlj", response.principalId());
+ Assertions.assertEquals(DatabasePrincipalRole.INGESTOR, response.role());
+ Assertions.assertEquals("gmsplzgaufcshhv", response.tenantId());
+ Assertions.assertEquals(PrincipalType.APP, response.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListMockTests.java
index 7d4c328da2d0e..e893ffde13e10 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalAssignmentsListMockTests.java
@@ -24,7 +24,7 @@ public final class DatabasePrincipalAssignmentsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"principalId\":\"yqwcabvnuil\",\"role\":\"Monitor\",\"tenantId\":\"aswlp\",\"principalType\":\"Group\",\"tenantName\":\"mrmfjl\",\"principalName\":\"wtoaukhfk\",\"provisioningState\":\"Canceled\",\"aadObjectId\":\"izmoaeds\"},\"id\":\"jwuive\",\"name\":\"wcgyeewxeiqb\",\"type\":\"smgomguaml\"}]}";
+ = "{\"value\":[{\"properties\":{\"principalId\":\"zzydmxzjijpvua\",\"role\":\"Monitor\",\"tenantId\":\"ihcirldef\",\"principalType\":\"User\",\"tenantName\":\"c\",\"principalName\":\"nbkkjanurnnq\",\"provisioningState\":\"Creating\",\"aadObjectId\":\"pizxqltgrdogyp\"},\"id\":\"rxvbfihwuh\",\"name\":\"ctafsrbxrblm\",\"type\":\"iowxi\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,11 +34,11 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response = manager.databasePrincipalAssignments()
- .list("wfiwzcxmj", "byephmgt", "ljvrcmyfqipgxhnp", com.azure.core.util.Context.NONE);
+ .list("ssffxuifmc", "ypobkdqzr", "zsylollgt", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("yqwcabvnuil", response.iterator().next().principalId());
+ Assertions.assertEquals("zzydmxzjijpvua", response.iterator().next().principalId());
Assertions.assertEquals(DatabasePrincipalRole.MONITOR, response.iterator().next().role());
- Assertions.assertEquals("aswlp", response.iterator().next().tenantId());
- Assertions.assertEquals(PrincipalType.GROUP, response.iterator().next().principalType());
+ Assertions.assertEquals("ihcirldef", response.iterator().next().tenantId());
+ Assertions.assertEquals(PrincipalType.USER, response.iterator().next().principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalInnerTests.java
index d681f51cbbf6d..8d0d46e3c469d 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalInnerTests.java
@@ -14,30 +14,30 @@ public final class DatabasePrincipalInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabasePrincipalInner model = BinaryData.fromString(
- "{\"role\":\"Admin\",\"name\":\"ynkedyatrwyhqmib\",\"type\":\"App\",\"fqn\":\"wit\",\"email\":\"ypyynpcdpumnzg\",\"appId\":\"z\",\"tenantName\":\"abikns\"}")
+ "{\"role\":\"Admin\",\"name\":\"pulpqblylsyxk\",\"type\":\"App\",\"fqn\":\"sjervti\",\"email\":\"xsdszuempsb\",\"appId\":\"f\",\"tenantName\":\"eyvpnqicvinvkj\"}")
.toObject(DatabasePrincipalInner.class);
Assertions.assertEquals(DatabasePrincipalRole.ADMIN, model.role());
- Assertions.assertEquals("ynkedyatrwyhqmib", model.name());
+ Assertions.assertEquals("pulpqblylsyxk", model.name());
Assertions.assertEquals(DatabasePrincipalType.APP, model.type());
- Assertions.assertEquals("wit", model.fqn());
- Assertions.assertEquals("ypyynpcdpumnzg", model.email());
- Assertions.assertEquals("z", model.appId());
+ Assertions.assertEquals("sjervti", model.fqn());
+ Assertions.assertEquals("xsdszuempsb", model.email());
+ Assertions.assertEquals("f", model.appId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DatabasePrincipalInner model = new DatabasePrincipalInner().withRole(DatabasePrincipalRole.ADMIN)
- .withName("ynkedyatrwyhqmib")
+ .withName("pulpqblylsyxk")
.withType(DatabasePrincipalType.APP)
- .withFqn("wit")
- .withEmail("ypyynpcdpumnzg")
- .withAppId("z");
+ .withFqn("sjervti")
+ .withEmail("xsdszuempsb")
+ .withAppId("f");
model = BinaryData.fromObject(model).toObject(DatabasePrincipalInner.class);
Assertions.assertEquals(DatabasePrincipalRole.ADMIN, model.role());
- Assertions.assertEquals("ynkedyatrwyhqmib", model.name());
+ Assertions.assertEquals("pulpqblylsyxk", model.name());
Assertions.assertEquals(DatabasePrincipalType.APP, model.type());
- Assertions.assertEquals("wit", model.fqn());
- Assertions.assertEquals("ypyynpcdpumnzg", model.email());
- Assertions.assertEquals("z", model.appId());
+ Assertions.assertEquals("sjervti", model.fqn());
+ Assertions.assertEquals("xsdszuempsb", model.email());
+ Assertions.assertEquals("f", model.appId());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListRequestTests.java
index 3ab187fd0baf1..b8ed1185d0902 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListRequestTests.java
@@ -16,31 +16,43 @@ public final class DatabasePrincipalListRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabasePrincipalListRequest model = BinaryData.fromString(
- "{\"value\":[{\"role\":\"UnrestrictedViewer\",\"name\":\"hxbld\",\"type\":\"App\",\"fqn\":\"wrlkdmtn\",\"email\":\"ok\",\"appId\":\"llxdyhgs\",\"tenantName\":\"cogjltdtbn\"}]}")
+ "{\"value\":[{\"role\":\"Viewer\",\"name\":\"rbuukzclewyhmlwp\",\"type\":\"User\",\"fqn\":\"zpof\",\"email\":\"ckw\",\"appId\":\"zqwhxxbuyqaxzfeq\",\"tenantName\":\"ppriol\"},{\"role\":\"Viewer\",\"name\":\"rjaltolmncw\",\"type\":\"User\",\"fqn\":\"qwcsdbnwdcfhuc\",\"email\":\"pfuvglsbjjca\",\"appId\":\"xbvtvudu\",\"tenantName\":\"cormr\"},{\"role\":\"Ingestor\",\"name\":\"qtvcofudflvkgj\",\"type\":\"Group\",\"fqn\":\"dknnqvsazn\",\"email\":\"tor\",\"appId\":\"sgsahmkycgr\",\"tenantName\":\"wjue\"}]}")
.toObject(DatabasePrincipalListRequest.class);
- Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.value().get(0).role());
- Assertions.assertEquals("hxbld", model.value().get(0).name());
- Assertions.assertEquals(DatabasePrincipalType.APP, model.value().get(0).type());
- Assertions.assertEquals("wrlkdmtn", model.value().get(0).fqn());
- Assertions.assertEquals("ok", model.value().get(0).email());
- Assertions.assertEquals("llxdyhgs", model.value().get(0).appId());
+ Assertions.assertEquals(DatabasePrincipalRole.VIEWER, model.value().get(0).role());
+ Assertions.assertEquals("rbuukzclewyhmlwp", model.value().get(0).name());
+ Assertions.assertEquals(DatabasePrincipalType.USER, model.value().get(0).type());
+ Assertions.assertEquals("zpof", model.value().get(0).fqn());
+ Assertions.assertEquals("ckw", model.value().get(0).email());
+ Assertions.assertEquals("zqwhxxbuyqaxzfeq", model.value().get(0).appId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabasePrincipalListRequest model = new DatabasePrincipalListRequest()
- .withValue(Arrays.asList(new DatabasePrincipalInner().withRole(DatabasePrincipalRole.UNRESTRICTED_VIEWER)
- .withName("hxbld")
- .withType(DatabasePrincipalType.APP)
- .withFqn("wrlkdmtn")
- .withEmail("ok")
- .withAppId("llxdyhgs")));
+ DatabasePrincipalListRequest model = new DatabasePrincipalListRequest().withValue(Arrays.asList(
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.VIEWER)
+ .withName("rbuukzclewyhmlwp")
+ .withType(DatabasePrincipalType.USER)
+ .withFqn("zpof")
+ .withEmail("ckw")
+ .withAppId("zqwhxxbuyqaxzfeq"),
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.VIEWER)
+ .withName("rjaltolmncw")
+ .withType(DatabasePrincipalType.USER)
+ .withFqn("qwcsdbnwdcfhuc")
+ .withEmail("pfuvglsbjjca")
+ .withAppId("xbvtvudu"),
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.INGESTOR)
+ .withName("qtvcofudflvkgj")
+ .withType(DatabasePrincipalType.GROUP)
+ .withFqn("dknnqvsazn")
+ .withEmail("tor")
+ .withAppId("sgsahmkycgr")));
model = BinaryData.fromObject(model).toObject(DatabasePrincipalListRequest.class);
- Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.value().get(0).role());
- Assertions.assertEquals("hxbld", model.value().get(0).name());
- Assertions.assertEquals(DatabasePrincipalType.APP, model.value().get(0).type());
- Assertions.assertEquals("wrlkdmtn", model.value().get(0).fqn());
- Assertions.assertEquals("ok", model.value().get(0).email());
- Assertions.assertEquals("llxdyhgs", model.value().get(0).appId());
+ Assertions.assertEquals(DatabasePrincipalRole.VIEWER, model.value().get(0).role());
+ Assertions.assertEquals("rbuukzclewyhmlwp", model.value().get(0).name());
+ Assertions.assertEquals(DatabasePrincipalType.USER, model.value().get(0).type());
+ Assertions.assertEquals("zpof", model.value().get(0).fqn());
+ Assertions.assertEquals("ckw", model.value().get(0).email());
+ Assertions.assertEquals("zqwhxxbuyqaxzfeq", model.value().get(0).appId());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListResultInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListResultInnerTests.java
index 7ca2199ce2ae6..7b63514d20f2b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListResultInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalListResultInnerTests.java
@@ -16,37 +16,49 @@ public final class DatabasePrincipalListResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabasePrincipalListResultInner model = BinaryData.fromString(
- "{\"value\":[{\"role\":\"Admin\",\"name\":\"jfqka\",\"type\":\"Group\",\"fqn\":\"iipfpubj\",\"email\":\"wwiftohqkvpuv\",\"appId\":\"gplsaknynf\",\"tenantName\":\"n\"},{\"role\":\"Ingestor\",\"name\":\"ph\",\"type\":\"App\",\"fqn\":\"xodlqiyntorzih\",\"email\":\"osjswsr\",\"appId\":\"lyzrpzbchckqqzqi\",\"tenantName\":\"iysui\"}]}")
+ "{\"value\":[{\"role\":\"UnrestrictedViewer\",\"name\":\"baaa\",\"type\":\"User\",\"fqn\":\"vayffimrzrt\",\"email\":\"qogsexnevfd\",\"appId\":\"nw\",\"tenantName\":\"wzsyyceuzs\"},{\"role\":\"Monitor\",\"name\":\"bjudpfrxtrthzv\",\"type\":\"User\",\"fqn\":\"dwkqbrq\",\"email\":\"paxh\",\"appId\":\"iilivpdtiirqtd\",\"tenantName\":\"axoruzfgsquy\"},{\"role\":\"Ingestor\",\"name\":\"rxxle\",\"type\":\"App\",\"fqn\":\"amxjezwlw\",\"email\":\"xuqlcvydypat\",\"appId\":\"oa\",\"tenantName\":\"kniod\"},{\"role\":\"Admin\",\"name\":\"oebwnujhemms\",\"type\":\"User\",\"fqn\":\"kcrodtjinfw\",\"email\":\"fltkacjv\",\"appId\":\"kdlfoa\",\"tenantName\":\"gkfpaga\"}]}")
.toObject(DatabasePrincipalListResultInner.class);
- Assertions.assertEquals(DatabasePrincipalRole.ADMIN, model.value().get(0).role());
- Assertions.assertEquals("jfqka", model.value().get(0).name());
- Assertions.assertEquals(DatabasePrincipalType.GROUP, model.value().get(0).type());
- Assertions.assertEquals("iipfpubj", model.value().get(0).fqn());
- Assertions.assertEquals("wwiftohqkvpuv", model.value().get(0).email());
- Assertions.assertEquals("gplsaknynf", model.value().get(0).appId());
+ Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.value().get(0).role());
+ Assertions.assertEquals("baaa", model.value().get(0).name());
+ Assertions.assertEquals(DatabasePrincipalType.USER, model.value().get(0).type());
+ Assertions.assertEquals("vayffimrzrt", model.value().get(0).fqn());
+ Assertions.assertEquals("qogsexnevfd", model.value().get(0).email());
+ Assertions.assertEquals("nw", model.value().get(0).appId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DatabasePrincipalListResultInner model = new DatabasePrincipalListResultInner().withValue(Arrays.asList(
- new DatabasePrincipalInner().withRole(DatabasePrincipalRole.ADMIN)
- .withName("jfqka")
- .withType(DatabasePrincipalType.GROUP)
- .withFqn("iipfpubj")
- .withEmail("wwiftohqkvpuv")
- .withAppId("gplsaknynf"),
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.UNRESTRICTED_VIEWER)
+ .withName("baaa")
+ .withType(DatabasePrincipalType.USER)
+ .withFqn("vayffimrzrt")
+ .withEmail("qogsexnevfd")
+ .withAppId("nw"),
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.MONITOR)
+ .withName("bjudpfrxtrthzv")
+ .withType(DatabasePrincipalType.USER)
+ .withFqn("dwkqbrq")
+ .withEmail("paxh")
+ .withAppId("iilivpdtiirqtd"),
new DatabasePrincipalInner().withRole(DatabasePrincipalRole.INGESTOR)
- .withName("ph")
+ .withName("rxxle")
.withType(DatabasePrincipalType.APP)
- .withFqn("xodlqiyntorzih")
- .withEmail("osjswsr")
- .withAppId("lyzrpzbchckqqzqi")));
+ .withFqn("amxjezwlw")
+ .withEmail("xuqlcvydypat")
+ .withAppId("oa"),
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.ADMIN)
+ .withName("oebwnujhemms")
+ .withType(DatabasePrincipalType.USER)
+ .withFqn("kcrodtjinfw")
+ .withEmail("fltkacjv")
+ .withAppId("kdlfoa")));
model = BinaryData.fromObject(model).toObject(DatabasePrincipalListResultInner.class);
- Assertions.assertEquals(DatabasePrincipalRole.ADMIN, model.value().get(0).role());
- Assertions.assertEquals("jfqka", model.value().get(0).name());
- Assertions.assertEquals(DatabasePrincipalType.GROUP, model.value().get(0).type());
- Assertions.assertEquals("iipfpubj", model.value().get(0).fqn());
- Assertions.assertEquals("wwiftohqkvpuv", model.value().get(0).email());
- Assertions.assertEquals("gplsaknynf", model.value().get(0).appId());
+ Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.value().get(0).role());
+ Assertions.assertEquals("baaa", model.value().get(0).name());
+ Assertions.assertEquals(DatabasePrincipalType.USER, model.value().get(0).type());
+ Assertions.assertEquals("vayffimrzrt", model.value().get(0).fqn());
+ Assertions.assertEquals("qogsexnevfd", model.value().get(0).email());
+ Assertions.assertEquals("nw", model.value().get(0).appId());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalPropertiesTests.java
index 5a9d7dd8169a7..b29a087b0e1d3 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasePrincipalPropertiesTests.java
@@ -14,24 +14,24 @@ public final class DatabasePrincipalPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DatabasePrincipalProperties model = BinaryData.fromString(
- "{\"principalId\":\"opcjwvnhd\",\"role\":\"Ingestor\",\"tenantId\":\"mgxcxrslpm\",\"principalType\":\"App\",\"tenantName\":\"uoegrpkhjwniyqs\",\"principalName\":\"i\",\"provisioningState\":\"Succeeded\",\"aadObjectId\":\"gk\"}")
+ "{\"principalId\":\"qqtch\",\"role\":\"UnrestrictedViewer\",\"tenantId\":\"mfmtdaaygdvw\",\"principalType\":\"User\",\"tenantName\":\"iohgwxrtfud\",\"principalName\":\"pxgy\",\"provisioningState\":\"Canceled\",\"aadObjectId\":\"rvmnpkukghimdblx\"}")
.toObject(DatabasePrincipalProperties.class);
- Assertions.assertEquals("opcjwvnhd", model.principalId());
- Assertions.assertEquals(DatabasePrincipalRole.INGESTOR, model.role());
- Assertions.assertEquals("mgxcxrslpm", model.tenantId());
- Assertions.assertEquals(PrincipalType.APP, model.principalType());
+ Assertions.assertEquals("qqtch", model.principalId());
+ Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.role());
+ Assertions.assertEquals("mfmtdaaygdvw", model.tenantId());
+ Assertions.assertEquals(PrincipalType.USER, model.principalType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabasePrincipalProperties model = new DatabasePrincipalProperties().withPrincipalId("opcjwvnhd")
- .withRole(DatabasePrincipalRole.INGESTOR)
- .withTenantId("mgxcxrslpm")
- .withPrincipalType(PrincipalType.APP);
+ DatabasePrincipalProperties model = new DatabasePrincipalProperties().withPrincipalId("qqtch")
+ .withRole(DatabasePrincipalRole.UNRESTRICTED_VIEWER)
+ .withTenantId("mfmtdaaygdvw")
+ .withPrincipalType(PrincipalType.USER);
model = BinaryData.fromObject(model).toObject(DatabasePrincipalProperties.class);
- Assertions.assertEquals("opcjwvnhd", model.principalId());
- Assertions.assertEquals(DatabasePrincipalRole.INGESTOR, model.role());
- Assertions.assertEquals("mgxcxrslpm", model.tenantId());
- Assertions.assertEquals(PrincipalType.APP, model.principalType());
+ Assertions.assertEquals("qqtch", model.principalId());
+ Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, model.role());
+ Assertions.assertEquals("mfmtdaaygdvw", model.tenantId());
+ Assertions.assertEquals(PrincipalType.USER, model.principalType());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseStatisticsTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseStatisticsTests.java
index 410e37cd780f9..c51f1db647e25 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseStatisticsTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabaseStatisticsTests.java
@@ -11,14 +11,14 @@
public final class DatabaseStatisticsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DatabaseStatistics model = BinaryData.fromString("{\"size\":48.312317}").toObject(DatabaseStatistics.class);
- Assertions.assertEquals(48.312317F, model.size());
+ DatabaseStatistics model = BinaryData.fromString("{\"size\":81.256256}").toObject(DatabaseStatistics.class);
+ Assertions.assertEquals(81.256256F, model.size());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- DatabaseStatistics model = new DatabaseStatistics().withSize(48.312317F);
+ DatabaseStatistics model = new DatabaseStatistics().withSize(81.256256F);
model = BinaryData.fromObject(model).toObject(DatabaseStatistics.class);
- Assertions.assertEquals(48.312317F, model.size());
+ Assertions.assertEquals(81.256256F, model.size());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsWithResponseMockTests.java
index a479443cf4256..0cf8b6eba0e2b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesAddPrincipalsWithResponseMockTests.java
@@ -26,7 +26,7 @@ public final class DatabasesAddPrincipalsWithResponseMockTests {
@Test
public void testAddPrincipalsWithResponse() throws Exception {
String responseStr
- = "{\"value\":[{\"role\":\"User\",\"name\":\"iibakcl\",\"type\":\"User\",\"fqn\":\"fr\",\"email\":\"ousxauzlwvsgmw\",\"appId\":\"qf\",\"tenantName\":\"zvuxm\"},{\"role\":\"Admin\",\"name\":\"jsvthnwpzteko\",\"type\":\"User\",\"fqn\":\"ibiattg\",\"email\":\"ucfotangcf\",\"appId\":\"ykzcugswvxwl\",\"tenantName\":\"qwm\"},{\"role\":\"User\",\"name\":\"xnjmxm\",\"type\":\"App\",\"fqn\":\"udtc\",\"email\":\"lxynpdkvgf\",\"appId\":\"uiyjib\",\"tenantName\":\"phdu\"},{\"role\":\"Admin\",\"name\":\"eiknpgo\",\"type\":\"User\",\"fqn\":\"iuqhibtozipqwj\",\"email\":\"mur\",\"appId\":\"x\",\"tenantName\":\"wpktvqylkmqpzoyh\"}]}";
+ = "{\"value\":[{\"role\":\"Ingestor\",\"name\":\"tjxtxr\",\"type\":\"Group\",\"fqn\":\"tjvidt\",\"email\":\"epu\",\"appId\":\"vyjtcvu\",\"tenantName\":\"asiz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -36,22 +36,22 @@ public void testAddPrincipalsWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DatabasePrincipalListResult response = manager.databases()
- .addPrincipalsWithResponse("ao", "jrmzvupor", "zdfuydzvkfvxcnqm",
+ .addPrincipalsWithResponse("fypococtfjgti", "rjvzuyt", "rmlmuowo",
new DatabasePrincipalListRequest()
- .withValue(Arrays.asList(new DatabasePrincipalInner().withRole(DatabasePrincipalRole.INGESTOR)
- .withName("wokmvkhlggd")
+ .withValue(Arrays.asList(new DatabasePrincipalInner().withRole(DatabasePrincipalRole.ADMIN)
+ .withName("iropionszon")
.withType(DatabasePrincipalType.APP)
- .withFqn("mzqkz")
- .withEmail("uwiwtglxxhljfpg")
- .withAppId("crmnzhrgmqgjs"))),
+ .withFqn("gajinnixjawrtmj")
+ .withEmail("myccx")
+ .withAppId("hcoxov"))),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(DatabasePrincipalRole.USER, response.value().get(0).role());
- Assertions.assertEquals("iibakcl", response.value().get(0).name());
- Assertions.assertEquals(DatabasePrincipalType.USER, response.value().get(0).type());
- Assertions.assertEquals("fr", response.value().get(0).fqn());
- Assertions.assertEquals("ousxauzlwvsgmw", response.value().get(0).email());
- Assertions.assertEquals("qf", response.value().get(0).appId());
+ Assertions.assertEquals(DatabasePrincipalRole.INGESTOR, response.value().get(0).role());
+ Assertions.assertEquals("tjxtxr", response.value().get(0).name());
+ Assertions.assertEquals(DatabasePrincipalType.GROUP, response.value().get(0).type());
+ Assertions.assertEquals("tjvidt", response.value().get(0).fqn());
+ Assertions.assertEquals("epu", response.value().get(0).email());
+ Assertions.assertEquals("vyjtcvu", response.value().get(0).appId());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilityWithResponseMockTests.java
index a1fabc60d1e5c..a87b84458d6c6 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCheckNameAvailabilityWithResponseMockTests.java
@@ -24,7 +24,7 @@ public final class DatabasesCheckNameAvailabilityWithResponseMockTests {
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":true,\"name\":\"jxlyyzglgouwtlm\",\"message\":\"yuojqtobaxk\",\"reason\":\"AlreadyExists\"}";
+ = "{\"nameAvailable\":false,\"name\":\"haowj\",\"message\":\"zvuporqzdfuydz\",\"reason\":\"AlreadyExists\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,15 +34,15 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.databases()
- .checkNameAvailabilityWithResponse("tgfebwln", "mhyreeudz",
- new CheckNameRequest().withName("av")
+ .checkNameAvailabilityWithResponse("bcpzgpxtivh", "knidib",
+ new CheckNameRequest().withName("qjxgpnrhgovfgp")
.withType(Type.MICROSOFT_KUSTO_CLUSTERS_ATTACHED_DATABASE_CONFIGURATIONS),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(true, response.nameAvailable());
- Assertions.assertEquals("jxlyyzglgouwtlm", response.name());
- Assertions.assertEquals("yuojqtobaxk", response.message());
+ Assertions.assertEquals(false, response.nameAvailable());
+ Assertions.assertEquals("haowj", response.name());
+ Assertions.assertEquals("zvuporqzdfuydz", response.message());
Assertions.assertEquals(Reason.ALREADY_EXISTS, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateMockTests.java
index 135103281f3f2..97aa7bb5a907e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesCreateOrUpdateMockTests.java
@@ -23,7 +23,7 @@ public final class DatabasesCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"kind\":\"Database\",\"location\":\"cttuxuu\",\"id\":\"i\",\"name\":\"flqo\",\"type\":\"quvre\"}";
+ = "{\"kind\":\"Database\",\"location\":\"phdu\",\"id\":\"neiknpg\",\"name\":\"xgjiuqh\",\"type\":\"btozipqwje\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,9 +33,9 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
Database response = manager.databases()
- .createOrUpdate("zvzbglbyv", "ctctbrxkjz", "rgxffmshkw", new DatabaseInner().withLocation("kgozxwop"),
- CallerRole.ADMIN, com.azure.core.util.Context.NONE);
+ .createOrUpdate("ribi", "ttgplucfotangcf", "nykzcugswvxwlm", new DatabaseInner().withLocation("wmvtxnjm"),
+ CallerRole.NONE, com.azure.core.util.Context.NONE);
- Assertions.assertEquals("cttuxuu", response.location());
+ Assertions.assertEquals("phdu", response.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteMockTests.java
index 89399d5a63945..0521f7ead770e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesDeleteMockTests.java
@@ -27,8 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.databases()
- .delete("yjpmspbpssdfppyo", "tieyujtvczkcny", "rxmunjdxvgln", com.azure.core.util.Context.NONE);
+ manager.databases().delete("xffi", "hx", "rsnewmozqvbubqma", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesGetWithResponseMockTests.java
index 8e406ec5ce54f..35fcab15aa74e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class DatabasesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"kind\":\"Database\",\"location\":\"aas\",\"id\":\"ixtmkzjvkviirhgf\",\"name\":\"rwsdp\",\"type\":\"ra\"}";
+ = "{\"kind\":\"Database\",\"location\":\"mwohqfzizvuxmmkj\",\"id\":\"vthn\",\"name\":\"pz\",\"type\":\"ekov\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,9 +31,9 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
Database response = manager.databases()
- .getWithResponse("hlisngw", "lqqmpiz", "uwnpqxpxiwfcng", com.azure.core.util.Context.NONE)
+ .getWithResponse("qcbfrmbodths", "qgvriibakcla", "jfrnxousxauzlwv", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("aas", response.location());
+ Assertions.assertEquals("mwohqfzizvuxmmkj", response.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterMockTests.java
index 4749dd49565c4..0ac6a261b868d 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListByClusterMockTests.java
@@ -22,7 +22,7 @@ public final class DatabasesListByClusterMockTests {
@Test
public void testListByCluster() throws Exception {
String responseStr
- = "{\"value\":[{\"kind\":\"Database\",\"location\":\"jqhden\",\"id\":\"aulk\",\"name\":\"akdkifmjnnawtqab\",\"type\":\"xuckpggqoweyir\"}]}";
+ = "{\"value\":[{\"kind\":\"Database\",\"location\":\"kzsz\",\"id\":\"wiwtglxxhl\",\"name\":\"fpgpicrmnzhrgm\",\"type\":\"gjsxv\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,8 +32,8 @@ public void testListByCluster() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response = manager.databases()
- .listByCluster("tu", "lbfjkwr", 1064304425, "nkqbhsyrq", com.azure.core.util.Context.NONE);
+ .listByCluster("vxcnqmxqps", "okmvkhlggd", 969740243, "em", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("jqhden", response.iterator().next().location());
+ Assertions.assertEquals("kzsz", response.iterator().next().location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsMockTests.java
index 1c63523ae1e0a..0f05843e2cc62 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesListPrincipalsMockTests.java
@@ -24,7 +24,7 @@ public final class DatabasesListPrincipalsMockTests {
@Test
public void testListPrincipals() throws Exception {
String responseStr
- = "{\"value\":[{\"role\":\"UnrestrictedViewer\",\"name\":\"pfpubcpzgpx\",\"type\":\"User\",\"fqn\":\"hjknidibg\",\"email\":\"xgpnr\",\"appId\":\"ov\",\"tenantName\":\"pikqmh\"}]}";
+ = "{\"value\":[{\"role\":\"Ingestor\",\"name\":\"erngbtcjuahokqto\",\"type\":\"App\",\"fqn\":\"uxofshfphwpnulai\",\"email\":\"zejywhslw\",\"appId\":\"jpllndnpdwrpq\",\"tenantName\":\"gfugsnnfhyet\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,13 +34,13 @@ public void testListPrincipals() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response = manager.databases()
- .listPrincipals("vxlx", "aglqivbgkcvkh", "zvuqdflvon", com.azure.core.util.Context.NONE);
+ .listPrincipals("hsycxhxzgaz", "taboidvmf", "hppubowsepdfgkmt", com.azure.core.util.Context.NONE);
- Assertions.assertEquals(DatabasePrincipalRole.UNRESTRICTED_VIEWER, response.iterator().next().role());
- Assertions.assertEquals("pfpubcpzgpx", response.iterator().next().name());
- Assertions.assertEquals(DatabasePrincipalType.USER, response.iterator().next().type());
- Assertions.assertEquals("hjknidibg", response.iterator().next().fqn());
- Assertions.assertEquals("xgpnr", response.iterator().next().email());
- Assertions.assertEquals("ov", response.iterator().next().appId());
+ Assertions.assertEquals(DatabasePrincipalRole.INGESTOR, response.iterator().next().role());
+ Assertions.assertEquals("erngbtcjuahokqto", response.iterator().next().name());
+ Assertions.assertEquals(DatabasePrincipalType.APP, response.iterator().next().type());
+ Assertions.assertEquals("uxofshfphwpnulai", response.iterator().next().fqn());
+ Assertions.assertEquals("zejywhslw", response.iterator().next().email());
+ Assertions.assertEquals("jpllndnpdwrpq", response.iterator().next().appId());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsWithResponseMockTests.java
index 2e5b48b5d09d8..4aff71cbdf418 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesRemovePrincipalsWithResponseMockTests.java
@@ -26,7 +26,7 @@ public final class DatabasesRemovePrincipalsWithResponseMockTests {
@Test
public void testRemovePrincipalsWithResponse() throws Exception {
String responseStr
- = "{\"value\":[{\"role\":\"Admin\",\"name\":\"dfgkmtdh\",\"type\":\"User\",\"fqn\":\"gb\",\"email\":\"juahokqto\",\"appId\":\"auxofshfph\",\"tenantName\":\"nulaiywzejywhsl\"},{\"role\":\"Monitor\",\"name\":\"ojpllndnpdwrpqaf\",\"type\":\"User\",\"fqn\":\"gsnnf\",\"email\":\"et\",\"appId\":\"ypococtfjgtixr\",\"tenantName\":\"zuyt\"},{\"role\":\"UnrestrictedViewer\",\"name\":\"mlmuowol\",\"type\":\"User\",\"fqn\":\"iropionszon\",\"email\":\"ngajinnixjawrtmj\",\"appId\":\"myccx\",\"tenantName\":\"hcoxov\"},{\"role\":\"Viewer\",\"name\":\"khenlus\",\"type\":\"App\",\"fqn\":\"dtjxtxrdcqt\",\"email\":\"idttgepus\",\"appId\":\"yjtcvuwk\",\"tenantName\":\"iziesfuughtuq\"}]}";
+ = "{\"value\":[{\"role\":\"Admin\",\"name\":\"m\",\"type\":\"User\",\"fqn\":\"ebnfxofvc\",\"email\":\"gdirazf\",\"appId\":\"ejwabmdujtmvco\",\"tenantName\":\"xcmjurbu\"},{\"role\":\"Ingestor\",\"name\":\"lkyqltqsrog\",\"type\":\"App\",\"fqn\":\"kffdjktsys\",\"email\":\"fvcl\",\"appId\":\"xnfuijtkbusqogs\",\"tenantName\":\"kayi\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -36,28 +36,34 @@ public void testRemovePrincipalsWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
DatabasePrincipalListResult response = manager.databases()
- .removePrincipalsWithResponse("fbcgwgcloxoebqin", "ipnwj", "ujqlafcbahh",
+ .removePrincipalsWithResponse("esfuught", "qfecjxeygtuhx", "ic",
new DatabasePrincipalListRequest().withValue(Arrays.asList(
- new DatabasePrincipalInner().withRole(DatabasePrincipalRole.VIEWER)
- .withName("foiyjwpfilk")
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.MONITOR)
+ .withName("mr")
+ .withType(DatabasePrincipalType.APP)
+ .withFqn("jlxuz")
+ .withEmail("wpusxjbaqehg")
+ .withAppId("ohzjqatucoigeb"),
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.ADMIN)
+ .withName("bjb")
.withType(DatabasePrincipalType.GROUP)
- .withFqn("holvdn")
- .withEmail("iauogphuartv")
- .withAppId("ukyefchnmnahmnxh"),
- new DatabasePrincipalInner().withRole(DatabasePrincipalRole.UNRESTRICTED_VIEWER)
- .withName("oxffif")
- .withType(DatabasePrincipalType.USER)
- .withFqn("rsnewmozqvbubqma")
- .withEmail("sycxhxzgaz")
- .withAppId("abo"))),
+ .withFqn("fgt")
+ .withEmail("snaquf")
+ .withAppId("bctqhamzjrwd"),
+ new DatabasePrincipalInner().withRole(DatabasePrincipalRole.INGESTOR)
+ .withName("dfzantkwcegy")
+ .withType(DatabasePrincipalType.GROUP)
+ .withFqn("bnseqacjjvpilg")
+ .withEmail("oq")
+ .withAppId("gmditgueiookjbs"))),
com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(DatabasePrincipalRole.ADMIN, response.value().get(0).role());
- Assertions.assertEquals("dfgkmtdh", response.value().get(0).name());
+ Assertions.assertEquals("m", response.value().get(0).name());
Assertions.assertEquals(DatabasePrincipalType.USER, response.value().get(0).type());
- Assertions.assertEquals("gb", response.value().get(0).fqn());
- Assertions.assertEquals("juahokqto", response.value().get(0).email());
- Assertions.assertEquals("auxofshfph", response.value().get(0).appId());
+ Assertions.assertEquals("ebnfxofvc", response.value().get(0).fqn());
+ Assertions.assertEquals("gdirazf", response.value().get(0).email());
+ Assertions.assertEquals("ejwabmdujtmvco", response.value().get(0).appId());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateMockTests.java
index 473e2d371cfc0..96fd32b90da31 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DatabasesUpdateMockTests.java
@@ -23,7 +23,7 @@ public final class DatabasesUpdateMockTests {
@Test
public void testUpdate() throws Exception {
String responseStr
- = "{\"kind\":\"Database\",\"location\":\"w\",\"id\":\"xqszdtmaajquh\",\"name\":\"xylrjvmtygjbmz\",\"type\":\"ospspshckf\"}";
+ = "{\"kind\":\"Database\",\"location\":\"olvdnd\",\"id\":\"iauogphuartv\",\"name\":\"iukyefchnmna\",\"type\":\"mnxhkxjqirwrweo\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,9 +33,9 @@ public void testUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
Database response = manager.databases()
- .update("mrnjh", "sujz", "czytqjtwhauunfpr", new DatabaseInner().withLocation("letlx"), CallerRole.ADMIN,
- com.azure.core.util.Context.NONE);
+ .update("mur", "xxgewpk", "vqylkmqpzoyhl", new DatabaseInner().withLocation("cgwgcloxoebqinji"),
+ CallerRole.ADMIN, com.azure.core.util.Context.NONE);
- Assertions.assertEquals("w", response.location());
+ Assertions.assertEquals("olvdnd", response.location());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DiagnoseVirtualNetworkResultInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DiagnoseVirtualNetworkResultInnerTests.java
index 3108b0ebbefb5..8eaddc1680340 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DiagnoseVirtualNetworkResultInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/DiagnoseVirtualNetworkResultInnerTests.java
@@ -12,16 +12,16 @@
public final class DiagnoseVirtualNetworkResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- DiagnoseVirtualNetworkResultInner model
- = BinaryData.fromString("{\"findings\":[\"pmr\"]}").toObject(DiagnoseVirtualNetworkResultInner.class);
- Assertions.assertEquals("pmr", model.findings().get(0));
+ DiagnoseVirtualNetworkResultInner model = BinaryData.fromString("{\"findings\":[\"ck\",\"rlhrxs\",\"kyv\"]}")
+ .toObject(DiagnoseVirtualNetworkResultInner.class);
+ Assertions.assertEquals("ck", model.findings().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DiagnoseVirtualNetworkResultInner model
- = new DiagnoseVirtualNetworkResultInner().withFindings(Arrays.asList("pmr"));
+ = new DiagnoseVirtualNetworkResultInner().withFindings(Arrays.asList("ck", "rlhrxs", "kyv"));
model = BinaryData.fromObject(model).toObject(DiagnoseVirtualNetworkResultInner.class);
- Assertions.assertEquals("pmr", model.findings().get(0));
+ Assertions.assertEquals("ck", model.findings().get(0));
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDependencyTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDependencyTests.java
index bba3b3c04fb71..98faa20409e53 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDependencyTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDependencyTests.java
@@ -14,21 +14,23 @@ public final class EndpointDependencyTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EndpointDependency model = BinaryData.fromString(
- "{\"domainName\":\"lhflsjcdhszfjvf\",\"endpointDetails\":[{\"port\":1130233947,\"ipAddress\":\"jagrqmqhldvr\"}]}")
+ "{\"domainName\":\"l\",\"endpointDetails\":[{\"port\":1262930280,\"ipAddress\":\"vgbmhr\"},{\"port\":283160638,\"ipAddress\":\"myijejvegr\"},{\"port\":662218702,\"ipAddress\":\"aixexccbdreaxh\"},{\"port\":1486564388,\"ipAddress\":\"rrvqa\"}]}")
.toObject(EndpointDependency.class);
- Assertions.assertEquals("lhflsjcdhszfjvf", model.domainName());
- Assertions.assertEquals(1130233947, model.endpointDetails().get(0).port());
- Assertions.assertEquals("jagrqmqhldvr", model.endpointDetails().get(0).ipAddress());
+ Assertions.assertEquals("l", model.domainName());
+ Assertions.assertEquals(1262930280, model.endpointDetails().get(0).port());
+ Assertions.assertEquals("vgbmhr", model.endpointDetails().get(0).ipAddress());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EndpointDependency model = new EndpointDependency().withDomainName("lhflsjcdhszfjvf")
- .withEndpointDetails(
- Arrays.asList(new EndpointDetail().withPort(1130233947).withIpAddress("jagrqmqhldvr")));
+ EndpointDependency model = new EndpointDependency().withDomainName("l")
+ .withEndpointDetails(Arrays.asList(new EndpointDetail().withPort(1262930280).withIpAddress("vgbmhr"),
+ new EndpointDetail().withPort(283160638).withIpAddress("myijejvegr"),
+ new EndpointDetail().withPort(662218702).withIpAddress("aixexccbdreaxh"),
+ new EndpointDetail().withPort(1486564388).withIpAddress("rrvqa")));
model = BinaryData.fromObject(model).toObject(EndpointDependency.class);
- Assertions.assertEquals("lhflsjcdhszfjvf", model.domainName());
- Assertions.assertEquals(1130233947, model.endpointDetails().get(0).port());
- Assertions.assertEquals("jagrqmqhldvr", model.endpointDetails().get(0).ipAddress());
+ Assertions.assertEquals("l", model.domainName());
+ Assertions.assertEquals(1262930280, model.endpointDetails().get(0).port());
+ Assertions.assertEquals("vgbmhr", model.endpointDetails().get(0).ipAddress());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDetailTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDetailTests.java
index 58f10b18973dc..b95b403255e78 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDetailTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EndpointDetailTests.java
@@ -12,16 +12,16 @@ public final class EndpointDetailTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EndpointDetail model
- = BinaryData.fromString("{\"port\":1300337109,\"ipAddress\":\"jnalghf\"}").toObject(EndpointDetail.class);
- Assertions.assertEquals(1300337109, model.port());
- Assertions.assertEquals("jnalghf", model.ipAddress());
+ = BinaryData.fromString("{\"port\":396764740,\"ipAddress\":\"htpwij\"}").toObject(EndpointDetail.class);
+ Assertions.assertEquals(396764740, model.port());
+ Assertions.assertEquals("htpwij", model.ipAddress());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EndpointDetail model = new EndpointDetail().withPort(1300337109).withIpAddress("jnalghf");
+ EndpointDetail model = new EndpointDetail().withPort(396764740).withIpAddress("htpwij");
model = BinaryData.fromObject(model).toObject(EndpointDetail.class);
- Assertions.assertEquals(1300337109, model.port());
- Assertions.assertEquals("jnalghf", model.ipAddress());
+ Assertions.assertEquals(396764740, model.port());
+ Assertions.assertEquals("htpwij", model.ipAddress());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridConnectionPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridConnectionPropertiesTests.java
index 4287b11bcf50a..f44d61f1b259e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridConnectionPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridConnectionPropertiesTests.java
@@ -15,46 +15,46 @@ public final class EventGridConnectionPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventGridConnectionProperties model = BinaryData.fromString(
- "{\"storageAccountResourceId\":\"zvfvaawz\",\"eventGridResourceId\":\"dflgzuri\",\"eventHubResourceId\":\"laecxndticok\",\"consumerGroup\":\"vzm\",\"tableName\":\"t\",\"mappingRuleName\":\"dgxobfircl\",\"dataFormat\":\"TXT\",\"ignoreFirstRecord\":false,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"managedIdentityResourceId\":\"riykhyawfvjlbox\",\"managedIdentityObjectId\":\"kjlmx\",\"databaseRouting\":\"Single\",\"provisioningState\":\"Succeeded\"}")
+ "{\"storageAccountResourceId\":\"gnjdgkynscliqhz\",\"eventGridResourceId\":\"xnkomtkubo\",\"eventHubResourceId\":\"ppnvdxz\",\"consumerGroup\":\"hihfrbbcevqagtlt\",\"tableName\":\"lfkqojpy\",\"mappingRuleName\":\"gtrd\",\"dataFormat\":\"PSV\",\"ignoreFirstRecord\":false,\"blobStorageEventType\":\"Microsoft.Storage.BlobRenamed\",\"managedIdentityResourceId\":\"dymbrny\",\"managedIdentityObjectId\":\"xmprafwg\",\"databaseRouting\":\"Multi\",\"provisioningState\":\"Creating\"}")
.toObject(EventGridConnectionProperties.class);
- Assertions.assertEquals("zvfvaawz", model.storageAccountResourceId());
- Assertions.assertEquals("dflgzuri", model.eventGridResourceId());
- Assertions.assertEquals("laecxndticok", model.eventHubResourceId());
- Assertions.assertEquals("vzm", model.consumerGroup());
- Assertions.assertEquals("t", model.tableName());
- Assertions.assertEquals("dgxobfircl", model.mappingRuleName());
- Assertions.assertEquals(EventGridDataFormat.TXT, model.dataFormat());
+ Assertions.assertEquals("gnjdgkynscliqhz", model.storageAccountResourceId());
+ Assertions.assertEquals("xnkomtkubo", model.eventGridResourceId());
+ Assertions.assertEquals("ppnvdxz", model.eventHubResourceId());
+ Assertions.assertEquals("hihfrbbcevqagtlt", model.consumerGroup());
+ Assertions.assertEquals("lfkqojpy", model.tableName());
+ Assertions.assertEquals("gtrd", model.mappingRuleName());
+ Assertions.assertEquals(EventGridDataFormat.PSV, model.dataFormat());
Assertions.assertEquals(false, model.ignoreFirstRecord());
- Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED, model.blobStorageEventType());
- Assertions.assertEquals("riykhyawfvjlbox", model.managedIdentityResourceId());
- Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
+ Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_RENAMED, model.blobStorageEventType());
+ Assertions.assertEquals("dymbrny", model.managedIdentityResourceId());
+ Assertions.assertEquals(DatabaseRouting.MULTI, model.databaseRouting());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
EventGridConnectionProperties model
- = new EventGridConnectionProperties().withStorageAccountResourceId("zvfvaawz")
- .withEventGridResourceId("dflgzuri")
- .withEventHubResourceId("laecxndticok")
- .withConsumerGroup("vzm")
- .withTableName("t")
- .withMappingRuleName("dgxobfircl")
- .withDataFormat(EventGridDataFormat.TXT)
+ = new EventGridConnectionProperties().withStorageAccountResourceId("gnjdgkynscliqhz")
+ .withEventGridResourceId("xnkomtkubo")
+ .withEventHubResourceId("ppnvdxz")
+ .withConsumerGroup("hihfrbbcevqagtlt")
+ .withTableName("lfkqojpy")
+ .withMappingRuleName("gtrd")
+ .withDataFormat(EventGridDataFormat.PSV)
.withIgnoreFirstRecord(false)
- .withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
- .withManagedIdentityResourceId("riykhyawfvjlbox")
- .withDatabaseRouting(DatabaseRouting.SINGLE);
+ .withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_RENAMED)
+ .withManagedIdentityResourceId("dymbrny")
+ .withDatabaseRouting(DatabaseRouting.MULTI);
model = BinaryData.fromObject(model).toObject(EventGridConnectionProperties.class);
- Assertions.assertEquals("zvfvaawz", model.storageAccountResourceId());
- Assertions.assertEquals("dflgzuri", model.eventGridResourceId());
- Assertions.assertEquals("laecxndticok", model.eventHubResourceId());
- Assertions.assertEquals("vzm", model.consumerGroup());
- Assertions.assertEquals("t", model.tableName());
- Assertions.assertEquals("dgxobfircl", model.mappingRuleName());
- Assertions.assertEquals(EventGridDataFormat.TXT, model.dataFormat());
+ Assertions.assertEquals("gnjdgkynscliqhz", model.storageAccountResourceId());
+ Assertions.assertEquals("xnkomtkubo", model.eventGridResourceId());
+ Assertions.assertEquals("ppnvdxz", model.eventHubResourceId());
+ Assertions.assertEquals("hihfrbbcevqagtlt", model.consumerGroup());
+ Assertions.assertEquals("lfkqojpy", model.tableName());
+ Assertions.assertEquals("gtrd", model.mappingRuleName());
+ Assertions.assertEquals(EventGridDataFormat.PSV, model.dataFormat());
Assertions.assertEquals(false, model.ignoreFirstRecord());
- Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED, model.blobStorageEventType());
- Assertions.assertEquals("riykhyawfvjlbox", model.managedIdentityResourceId());
- Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
+ Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_RENAMED, model.blobStorageEventType());
+ Assertions.assertEquals("dymbrny", model.managedIdentityResourceId());
+ Assertions.assertEquals(DatabaseRouting.MULTI, model.databaseRouting());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridDataConnectionTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridDataConnectionTests.java
index 805bf6ddf46b1..65d810c37068b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridDataConnectionTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventGridDataConnectionTests.java
@@ -15,48 +15,48 @@ public final class EventGridDataConnectionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventGridDataConnection model = BinaryData.fromString(
- "{\"kind\":\"EventGrid\",\"properties\":{\"storageAccountResourceId\":\"alhsnvkc\",\"eventGridResourceId\":\"xzrpo\",\"eventHubResourceId\":\"imlnwiaaomylw\",\"consumerGroup\":\"azul\",\"tableName\":\"ethwwnpjhlfz\",\"mappingRuleName\":\"pchwa\",\"dataFormat\":\"SCSV\",\"ignoreFirstRecord\":true,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"managedIdentityResourceId\":\"epgfew\",\"managedIdentityObjectId\":\"wlyxgncxyk\",\"databaseRouting\":\"Single\",\"provisioningState\":\"Deleting\"},\"location\":\"immbcx\",\"id\":\"h\",\"name\":\"cporxvxcjz\",\"type\":\"qizxfpxtgqscjavf\"}")
+ "{\"kind\":\"EventGrid\",\"properties\":{\"storageAccountResourceId\":\"tgguwpijrajcivmm\",\"eventGridResourceId\":\"f\",\"eventHubResourceId\":\"fiwrxgkn\",\"consumerGroup\":\"uvyinzqodfvpgs\",\"tableName\":\"xgsg\",\"mappingRuleName\":\"fgzdjtxvz\",\"dataFormat\":\"PSV\",\"ignoreFirstRecord\":false,\"blobStorageEventType\":\"Microsoft.Storage.BlobRenamed\",\"managedIdentityResourceId\":\"vl\",\"managedIdentityObjectId\":\"fcq\",\"databaseRouting\":\"Single\",\"provisioningState\":\"Moving\"},\"location\":\"t\",\"id\":\"wsdtutnwl\",\"name\":\"uycvuzhyrmewip\",\"type\":\"vekdxukuqgsjjxu\"}")
.toObject(EventGridDataConnection.class);
- Assertions.assertEquals("immbcx", model.location());
- Assertions.assertEquals("alhsnvkc", model.storageAccountResourceId());
- Assertions.assertEquals("xzrpo", model.eventGridResourceId());
- Assertions.assertEquals("imlnwiaaomylw", model.eventHubResourceId());
- Assertions.assertEquals("azul", model.consumerGroup());
- Assertions.assertEquals("ethwwnpjhlfz", model.tableName());
- Assertions.assertEquals("pchwa", model.mappingRuleName());
- Assertions.assertEquals(EventGridDataFormat.SCSV, model.dataFormat());
- Assertions.assertEquals(true, model.ignoreFirstRecord());
- Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED, model.blobStorageEventType());
- Assertions.assertEquals("epgfew", model.managedIdentityResourceId());
+ Assertions.assertEquals("t", model.location());
+ Assertions.assertEquals("tgguwpijrajcivmm", model.storageAccountResourceId());
+ Assertions.assertEquals("f", model.eventGridResourceId());
+ Assertions.assertEquals("fiwrxgkn", model.eventHubResourceId());
+ Assertions.assertEquals("uvyinzqodfvpgs", model.consumerGroup());
+ Assertions.assertEquals("xgsg", model.tableName());
+ Assertions.assertEquals("fgzdjtxvz", model.mappingRuleName());
+ Assertions.assertEquals(EventGridDataFormat.PSV, model.dataFormat());
+ Assertions.assertEquals(false, model.ignoreFirstRecord());
+ Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_RENAMED, model.blobStorageEventType());
+ Assertions.assertEquals("vl", model.managedIdentityResourceId());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EventGridDataConnection model = new EventGridDataConnection().withLocation("immbcx")
- .withStorageAccountResourceId("alhsnvkc")
- .withEventGridResourceId("xzrpo")
- .withEventHubResourceId("imlnwiaaomylw")
- .withConsumerGroup("azul")
- .withTableName("ethwwnpjhlfz")
- .withMappingRuleName("pchwa")
- .withDataFormat(EventGridDataFormat.SCSV)
- .withIgnoreFirstRecord(true)
- .withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED)
- .withManagedIdentityResourceId("epgfew")
+ EventGridDataConnection model = new EventGridDataConnection().withLocation("t")
+ .withStorageAccountResourceId("tgguwpijrajcivmm")
+ .withEventGridResourceId("f")
+ .withEventHubResourceId("fiwrxgkn")
+ .withConsumerGroup("uvyinzqodfvpgs")
+ .withTableName("xgsg")
+ .withMappingRuleName("fgzdjtxvz")
+ .withDataFormat(EventGridDataFormat.PSV)
+ .withIgnoreFirstRecord(false)
+ .withBlobStorageEventType(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_RENAMED)
+ .withManagedIdentityResourceId("vl")
.withDatabaseRouting(DatabaseRouting.SINGLE);
model = BinaryData.fromObject(model).toObject(EventGridDataConnection.class);
- Assertions.assertEquals("immbcx", model.location());
- Assertions.assertEquals("alhsnvkc", model.storageAccountResourceId());
- Assertions.assertEquals("xzrpo", model.eventGridResourceId());
- Assertions.assertEquals("imlnwiaaomylw", model.eventHubResourceId());
- Assertions.assertEquals("azul", model.consumerGroup());
- Assertions.assertEquals("ethwwnpjhlfz", model.tableName());
- Assertions.assertEquals("pchwa", model.mappingRuleName());
- Assertions.assertEquals(EventGridDataFormat.SCSV, model.dataFormat());
- Assertions.assertEquals(true, model.ignoreFirstRecord());
- Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED, model.blobStorageEventType());
- Assertions.assertEquals("epgfew", model.managedIdentityResourceId());
+ Assertions.assertEquals("t", model.location());
+ Assertions.assertEquals("tgguwpijrajcivmm", model.storageAccountResourceId());
+ Assertions.assertEquals("f", model.eventGridResourceId());
+ Assertions.assertEquals("fiwrxgkn", model.eventHubResourceId());
+ Assertions.assertEquals("uvyinzqodfvpgs", model.consumerGroup());
+ Assertions.assertEquals("xgsg", model.tableName());
+ Assertions.assertEquals("fgzdjtxvz", model.mappingRuleName());
+ Assertions.assertEquals(EventGridDataFormat.PSV, model.dataFormat());
+ Assertions.assertEquals(false, model.ignoreFirstRecord());
+ Assertions.assertEquals(BlobStorageEventType.MICROSOFT_STORAGE_BLOB_RENAMED, model.blobStorageEventType());
+ Assertions.assertEquals("vl", model.managedIdentityResourceId());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubConnectionPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubConnectionPropertiesTests.java
index 9e052b4b7c47a..4e7b381a4e2c0 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubConnectionPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubConnectionPropertiesTests.java
@@ -17,42 +17,42 @@ public final class EventHubConnectionPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventHubConnectionProperties model = BinaryData.fromString(
- "{\"eventHubResourceId\":\"jdxon\",\"consumerGroup\":\"zoggculapz\",\"tableName\":\"rpgogtqxep\",\"mappingRuleName\":\"lbfu\",\"dataFormat\":\"TSV\",\"eventSystemProperties\":[\"tlvofq\",\"hvfcibyfmow\",\"xrkjpvdw\",\"fzwiivwzjbhyz\"],\"compression\":\"GZip\",\"provisioningState\":\"Moving\",\"managedIdentityResourceId\":\"mbtrnegvmnvu\",\"managedIdentityObjectId\":\"qvldspastjbkkd\",\"databaseRouting\":\"Single\",\"retrievalStartDate\":\"2021-03-26T07:45:49Z\"}")
+ "{\"eventHubResourceId\":\"zqadf\",\"consumerGroup\":\"gzuriglaecxndt\",\"tableName\":\"okpvzm\",\"mappingRuleName\":\"t\",\"dataFormat\":\"SINGLEJSON\",\"eventSystemProperties\":[\"obfirclnpk\"],\"compression\":\"None\",\"provisioningState\":\"Canceled\",\"managedIdentityResourceId\":\"iykhy\",\"managedIdentityObjectId\":\"fvjlboxqvkjlmx\",\"databaseRouting\":\"Single\",\"retrievalStartDate\":\"2021-09-19T13:24:45Z\"}")
.toObject(EventHubConnectionProperties.class);
- Assertions.assertEquals("jdxon", model.eventHubResourceId());
- Assertions.assertEquals("zoggculapz", model.consumerGroup());
- Assertions.assertEquals("rpgogtqxep", model.tableName());
- Assertions.assertEquals("lbfu", model.mappingRuleName());
- Assertions.assertEquals(EventHubDataFormat.TSV, model.dataFormat());
- Assertions.assertEquals("tlvofq", model.eventSystemProperties().get(0));
- Assertions.assertEquals(Compression.GZIP, model.compression());
- Assertions.assertEquals("mbtrnegvmnvu", model.managedIdentityResourceId());
+ Assertions.assertEquals("zqadf", model.eventHubResourceId());
+ Assertions.assertEquals("gzuriglaecxndt", model.consumerGroup());
+ Assertions.assertEquals("okpvzm", model.tableName());
+ Assertions.assertEquals("t", model.mappingRuleName());
+ Assertions.assertEquals(EventHubDataFormat.SINGLEJSON, model.dataFormat());
+ Assertions.assertEquals("obfirclnpk", model.eventSystemProperties().get(0));
+ Assertions.assertEquals(Compression.NONE, model.compression());
+ Assertions.assertEquals("iykhy", model.managedIdentityResourceId());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-26T07:45:49Z"), model.retrievalStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-19T13:24:45Z"), model.retrievalStartDate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EventHubConnectionProperties model = new EventHubConnectionProperties().withEventHubResourceId("jdxon")
- .withConsumerGroup("zoggculapz")
- .withTableName("rpgogtqxep")
- .withMappingRuleName("lbfu")
- .withDataFormat(EventHubDataFormat.TSV)
- .withEventSystemProperties(Arrays.asList("tlvofq", "hvfcibyfmow", "xrkjpvdw", "fzwiivwzjbhyz"))
- .withCompression(Compression.GZIP)
- .withManagedIdentityResourceId("mbtrnegvmnvu")
+ EventHubConnectionProperties model = new EventHubConnectionProperties().withEventHubResourceId("zqadf")
+ .withConsumerGroup("gzuriglaecxndt")
+ .withTableName("okpvzm")
+ .withMappingRuleName("t")
+ .withDataFormat(EventHubDataFormat.SINGLEJSON)
+ .withEventSystemProperties(Arrays.asList("obfirclnpk"))
+ .withCompression(Compression.NONE)
+ .withManagedIdentityResourceId("iykhy")
.withDatabaseRouting(DatabaseRouting.SINGLE)
- .withRetrievalStartDate(OffsetDateTime.parse("2021-03-26T07:45:49Z"));
+ .withRetrievalStartDate(OffsetDateTime.parse("2021-09-19T13:24:45Z"));
model = BinaryData.fromObject(model).toObject(EventHubConnectionProperties.class);
- Assertions.assertEquals("jdxon", model.eventHubResourceId());
- Assertions.assertEquals("zoggculapz", model.consumerGroup());
- Assertions.assertEquals("rpgogtqxep", model.tableName());
- Assertions.assertEquals("lbfu", model.mappingRuleName());
- Assertions.assertEquals(EventHubDataFormat.TSV, model.dataFormat());
- Assertions.assertEquals("tlvofq", model.eventSystemProperties().get(0));
- Assertions.assertEquals(Compression.GZIP, model.compression());
- Assertions.assertEquals("mbtrnegvmnvu", model.managedIdentityResourceId());
+ Assertions.assertEquals("zqadf", model.eventHubResourceId());
+ Assertions.assertEquals("gzuriglaecxndt", model.consumerGroup());
+ Assertions.assertEquals("okpvzm", model.tableName());
+ Assertions.assertEquals("t", model.mappingRuleName());
+ Assertions.assertEquals(EventHubDataFormat.SINGLEJSON, model.dataFormat());
+ Assertions.assertEquals("obfirclnpk", model.eventSystemProperties().get(0));
+ Assertions.assertEquals(Compression.NONE, model.compression());
+ Assertions.assertEquals("iykhy", model.managedIdentityResourceId());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-26T07:45:49Z"), model.retrievalStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-19T13:24:45Z"), model.retrievalStartDate());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubDataConnectionTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubDataConnectionTests.java
index 78d9020b890e4..243d1cfeceeea 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubDataConnectionTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/EventHubDataConnectionTests.java
@@ -17,45 +17,45 @@ public final class EventHubDataConnectionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventHubDataConnection model = BinaryData.fromString(
- "{\"kind\":\"EventHub\",\"properties\":{\"eventHubResourceId\":\"u\",\"consumerGroup\":\"lcplc\",\"tableName\":\"hihihlhzdsqtzbsr\",\"mappingRuleName\":\"o\",\"dataFormat\":\"CSV\",\"eventSystemProperties\":[\"gmvecactxmw\",\"teyowclu\",\"ovekqvgqouwi\",\"zmpjwyiv\"],\"compression\":\"GZip\",\"provisioningState\":\"Moving\",\"managedIdentityResourceId\":\"vhrfsphuagrt\",\"managedIdentityObjectId\":\"kteusqczk\",\"databaseRouting\":\"Single\",\"retrievalStartDate\":\"2021-06-04T23:13:27Z\"},\"location\":\"byjaffmmf\",\"id\":\"lcqcuubgqibrt\",\"name\":\"lmetttwgdslqxi\",\"type\":\"hrmooi\"}")
+ "{\"kind\":\"EventHub\",\"properties\":{\"eventHubResourceId\":\"seypxiutcxapz\",\"consumerGroup\":\"y\",\"tableName\":\"etoge\",\"mappingRuleName\":\"oxslh\",\"dataFormat\":\"SOHSV\",\"eventSystemProperties\":[\"brqnkkzjcjb\",\"rgaehvvibrxjj\",\"toqbeitpkxztmoob\"],\"compression\":\"None\",\"provisioningState\":\"Canceled\",\"managedIdentityResourceId\":\"gfcwqmpimaqxzhem\",\"managedIdentityObjectId\":\"h\",\"databaseRouting\":\"Single\",\"retrievalStartDate\":\"2021-02-04T05:09:41Z\"},\"location\":\"t\",\"id\":\"kozzwculkb\",\"name\":\"wpfaj\",\"type\":\"jwltlwtjjgu\"}")
.toObject(EventHubDataConnection.class);
- Assertions.assertEquals("byjaffmmf", model.location());
- Assertions.assertEquals("u", model.eventHubResourceId());
- Assertions.assertEquals("lcplc", model.consumerGroup());
- Assertions.assertEquals("hihihlhzdsqtzbsr", model.tableName());
- Assertions.assertEquals("o", model.mappingRuleName());
- Assertions.assertEquals(EventHubDataFormat.CSV, model.dataFormat());
- Assertions.assertEquals("gmvecactxmw", model.eventSystemProperties().get(0));
- Assertions.assertEquals(Compression.GZIP, model.compression());
- Assertions.assertEquals("vhrfsphuagrt", model.managedIdentityResourceId());
+ Assertions.assertEquals("t", model.location());
+ Assertions.assertEquals("seypxiutcxapz", model.eventHubResourceId());
+ Assertions.assertEquals("y", model.consumerGroup());
+ Assertions.assertEquals("etoge", model.tableName());
+ Assertions.assertEquals("oxslh", model.mappingRuleName());
+ Assertions.assertEquals(EventHubDataFormat.SOHSV, model.dataFormat());
+ Assertions.assertEquals("brqnkkzjcjb", model.eventSystemProperties().get(0));
+ Assertions.assertEquals(Compression.NONE, model.compression());
+ Assertions.assertEquals("gfcwqmpimaqxzhem", model.managedIdentityResourceId());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-06-04T23:13:27Z"), model.retrievalStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-02-04T05:09:41Z"), model.retrievalStartDate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EventHubDataConnection model = new EventHubDataConnection().withLocation("byjaffmmf")
- .withEventHubResourceId("u")
- .withConsumerGroup("lcplc")
- .withTableName("hihihlhzdsqtzbsr")
- .withMappingRuleName("o")
- .withDataFormat(EventHubDataFormat.CSV)
- .withEventSystemProperties(Arrays.asList("gmvecactxmw", "teyowclu", "ovekqvgqouwi", "zmpjwyiv"))
- .withCompression(Compression.GZIP)
- .withManagedIdentityResourceId("vhrfsphuagrt")
+ EventHubDataConnection model = new EventHubDataConnection().withLocation("t")
+ .withEventHubResourceId("seypxiutcxapz")
+ .withConsumerGroup("y")
+ .withTableName("etoge")
+ .withMappingRuleName("oxslh")
+ .withDataFormat(EventHubDataFormat.SOHSV)
+ .withEventSystemProperties(Arrays.asList("brqnkkzjcjb", "rgaehvvibrxjj", "toqbeitpkxztmoob"))
+ .withCompression(Compression.NONE)
+ .withManagedIdentityResourceId("gfcwqmpimaqxzhem")
.withDatabaseRouting(DatabaseRouting.SINGLE)
- .withRetrievalStartDate(OffsetDateTime.parse("2021-06-04T23:13:27Z"));
+ .withRetrievalStartDate(OffsetDateTime.parse("2021-02-04T05:09:41Z"));
model = BinaryData.fromObject(model).toObject(EventHubDataConnection.class);
- Assertions.assertEquals("byjaffmmf", model.location());
- Assertions.assertEquals("u", model.eventHubResourceId());
- Assertions.assertEquals("lcplc", model.consumerGroup());
- Assertions.assertEquals("hihihlhzdsqtzbsr", model.tableName());
- Assertions.assertEquals("o", model.mappingRuleName());
- Assertions.assertEquals(EventHubDataFormat.CSV, model.dataFormat());
- Assertions.assertEquals("gmvecactxmw", model.eventSystemProperties().get(0));
- Assertions.assertEquals(Compression.GZIP, model.compression());
- Assertions.assertEquals("vhrfsphuagrt", model.managedIdentityResourceId());
+ Assertions.assertEquals("t", model.location());
+ Assertions.assertEquals("seypxiutcxapz", model.eventHubResourceId());
+ Assertions.assertEquals("y", model.consumerGroup());
+ Assertions.assertEquals("etoge", model.tableName());
+ Assertions.assertEquals("oxslh", model.mappingRuleName());
+ Assertions.assertEquals(EventHubDataFormat.SOHSV, model.dataFormat());
+ Assertions.assertEquals("brqnkkzjcjb", model.eventSystemProperties().get(0));
+ Assertions.assertEquals(Compression.NONE, model.compression());
+ Assertions.assertEquals("gfcwqmpimaqxzhem", model.managedIdentityResourceId());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-06-04T23:13:27Z"), model.retrievalStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-02-04T05:09:41Z"), model.retrievalStartDate());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionGetInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionGetInnerTests.java
new file mode 100644
index 0000000000000..99f22ead1b349
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionGetInnerTests.java
@@ -0,0 +1,30 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
+import org.junit.jupiter.api.Assertions;
+
+public final class FollowerDatabaseDefinitionGetInnerTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FollowerDatabaseDefinitionGetInner model = BinaryData.fromString(
+ "{\"properties\":{\"clusterResourceId\":\"gual\",\"attachedDatabaseConfigurationName\":\"b\",\"databaseName\":\"hejjz\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"dgwdslfhot\",\"mcy\",\"pwlbjnpg\"],\"tablesToExclude\":[\"tadehxnltyfsopp\",\"suesnzw\",\"ej\",\"avo\"],\"externalTablesToInclude\":[\"dmoh\",\"tbqvudw\",\"dndnvow\"],\"externalTablesToExclude\":[\"jugwdkcglhsl\",\"zj\",\"yggdtjixh\",\"kuofqweykhme\"],\"materializedViewsToInclude\":[\"fyexfwhy\",\"cibvyvdcsitynn\"],\"materializedViewsToExclude\":[\"dectehfiqsc\",\"eypvhezrkg\",\"hcjrefovgmk\",\"sle\"],\"functionsToInclude\":[\"xyqj\",\"k\",\"attpngjcrcczsq\",\"jh\"],\"functionsToExclude\":[\"ajvnysounqe\"]},\"databaseShareOrigin\":\"Other\"}}")
+ .toObject(FollowerDatabaseDefinitionGetInner.class);
+ Assertions.assertEquals("gual", model.clusterResourceId());
+ Assertions.assertEquals("b", model.attachedDatabaseConfigurationName());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ FollowerDatabaseDefinitionGetInner model
+ = new FollowerDatabaseDefinitionGetInner().withClusterResourceId("gual")
+ .withAttachedDatabaseConfigurationName("b");
+ model = BinaryData.fromObject(model).toObject(FollowerDatabaseDefinitionGetInner.class);
+ Assertions.assertEquals("gual", model.clusterResourceId());
+ Assertions.assertEquals("b", model.attachedDatabaseConfigurationName());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionInnerTests.java
index 8ff8b2c029d3a..a2f2734fa8996 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseDefinitionInnerTests.java
@@ -12,18 +12,19 @@ public final class FollowerDatabaseDefinitionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
FollowerDatabaseDefinitionInner model = BinaryData.fromString(
- "{\"clusterResourceId\":\"xyqj\",\"attachedDatabaseConfigurationName\":\"k\",\"databaseName\":\"t\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"jcrcczsqpjhvmda\",\"v\",\"ysou\",\"q\"],\"tablesToExclude\":[\"noae\"],\"externalTablesToInclude\":[\"hy\",\"ltrpmopj\",\"cma\",\"u\"],\"externalTablesToExclude\":[\"hfuiuaodsfc\",\"kvxod\",\"uozmyzydagfua\",\"bezy\"],\"materializedViewsToInclude\":[\"kktwhrdxw\",\"ywqsmbsurexim\",\"ryocfsfksymdd\"],\"materializedViewsToExclude\":[\"kiiuxhqyudxor\"],\"functionsToInclude\":[\"b\",\"oczvy\",\"fqrvkdvjsllrmvvd\",\"watkpnpulexxb\"],\"functionsToExclude\":[\"truwiqzb\",\"j\",\"sovmyokacspkwl\",\"zdobpxjmflbvvnch\"]},\"databaseShareOrigin\":\"Direct\"}")
+ "{\"clusterResourceId\":\"psiebtfhvpes\",\"attachedDatabaseConfigurationName\":\"pskrdqmh\",\"databaseName\":\"dhtldwkyz\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"kn\",\"ws\"],\"tablesToExclude\":[\"vlxotogtwrupqsx\",\"nmic\",\"kvceoveilovnotyf\",\"fcnj\"],\"externalTablesToInclude\":[\"nxdhbt\"],\"externalTablesToExclude\":[\"h\",\"wpn\"],\"materializedViewsToInclude\":[\"oqnermclfpl\"],\"materializedViewsToExclude\":[\"xus\",\"rpabg\",\"epsbjtazqu\",\"xywpmueefjzwfqkq\"],\"functionsToInclude\":[\"dsuyonobgla\"],\"functionsToExclude\":[\"xtccmg\",\"udxytlmoyrx\",\"wfudwpzntxhdzhl\"]},\"databaseShareOrigin\":\"DataShare\"}")
.toObject(FollowerDatabaseDefinitionInner.class);
- Assertions.assertEquals("xyqj", model.clusterResourceId());
- Assertions.assertEquals("k", model.attachedDatabaseConfigurationName());
+ Assertions.assertEquals("psiebtfhvpes", model.clusterResourceId());
+ Assertions.assertEquals("pskrdqmh", model.attachedDatabaseConfigurationName());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- FollowerDatabaseDefinitionInner model = new FollowerDatabaseDefinitionInner().withClusterResourceId("xyqj")
- .withAttachedDatabaseConfigurationName("k");
+ FollowerDatabaseDefinitionInner model
+ = new FollowerDatabaseDefinitionInner().withClusterResourceId("psiebtfhvpes")
+ .withAttachedDatabaseConfigurationName("pskrdqmh");
model = BinaryData.fromObject(model).toObject(FollowerDatabaseDefinitionInner.class);
- Assertions.assertEquals("xyqj", model.clusterResourceId());
- Assertions.assertEquals("k", model.attachedDatabaseConfigurationName());
+ Assertions.assertEquals("psiebtfhvpes", model.clusterResourceId());
+ Assertions.assertEquals("pskrdqmh", model.attachedDatabaseConfigurationName());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultGetTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultGetTests.java
new file mode 100644
index 0000000000000..dc81b9700d1f3
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultGetTests.java
@@ -0,0 +1,37 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseDefinitionGetInner;
+import com.azure.resourcemanager.kusto.models.FollowerDatabaseListResultGet;
+import java.util.Arrays;
+import org.junit.jupiter.api.Assertions;
+
+public final class FollowerDatabaseListResultGetTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FollowerDatabaseListResultGet model = BinaryData.fromString(
+ "{\"value\":[{\"properties\":{\"clusterResourceId\":\"dxob\",\"attachedDatabaseConfigurationName\":\"bdxkqpxokaj\",\"databaseName\":\"npime\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"xgcp\",\"dg\",\"aajrm\",\"djwzrlov\"],\"tablesToExclude\":[\"whijcoejctbza\",\"s\",\"sycbkbfk\",\"ukdkexxppofmxa\"],\"externalTablesToInclude\":[\"jpgd\",\"toc\",\"j\",\"hvpmoue\"],\"externalTablesToExclude\":[\"zxibqeoj\",\"xqbzvddntwnd\",\"icbtwnpzao\",\"vuhrhcffcyddgl\"],\"materializedViewsToInclude\":[\"hjq\"],\"materializedViewsToExclude\":[\"yeicxmqciwqvhk\",\"ixuigdtopbobj\"],\"functionsToInclude\":[\"m\"],\"functionsToExclude\":[\"a\"]},\"databaseShareOrigin\":\"DataShare\"}},{\"properties\":{\"clusterResourceId\":\"rzayv\",\"attachedDatabaseConfigurationName\":\"t\",\"databaseName\":\"vdfgiotk\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"qxlngx\",\"efgugnxk\"],\"tablesToExclude\":[\"qmi\",\"tthzrvqd\"],\"externalTablesToInclude\":[\"hjybigehoqfbo\"],\"externalTablesToExclude\":[\"anyktzlcuiywg\",\"ywgndrv\",\"nhzgpphrcgyn\",\"ocpecfvmmco\"],\"materializedViewsToInclude\":[\"xlzevgbmqjqabcy\",\"mivkwlzuvcc\",\"wnfnbacf\"],\"materializedViewsToExclude\":[\"l\",\"bxetqgtzxdpn\",\"bqqwxrj\",\"eallnwsubisnj\"],\"functionsToInclude\":[\"mngnzscxaqw\"],\"functionsToExclude\":[\"hcbonqvpkvlr\",\"njeaseipheofloke\",\"y\",\"enjbdlwtgrhp\"]},\"databaseShareOrigin\":\"Other\"}}],\"nextLink\":\"umasxazjpq\"}")
+ .toObject(FollowerDatabaseListResultGet.class);
+ Assertions.assertEquals("dxob", model.value().get(0).clusterResourceId());
+ Assertions.assertEquals("bdxkqpxokaj", model.value().get(0).attachedDatabaseConfigurationName());
+ Assertions.assertEquals("umasxazjpq", model.nextLink());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ FollowerDatabaseListResultGet model = new FollowerDatabaseListResultGet().withValue(Arrays.asList(
+ new FollowerDatabaseDefinitionGetInner().withClusterResourceId("dxob")
+ .withAttachedDatabaseConfigurationName("bdxkqpxokaj"),
+ new FollowerDatabaseDefinitionGetInner().withClusterResourceId("rzayv")
+ .withAttachedDatabaseConfigurationName("t")))
+ .withNextLink("umasxazjpq");
+ model = BinaryData.fromObject(model).toObject(FollowerDatabaseListResultGet.class);
+ Assertions.assertEquals("dxob", model.value().get(0).clusterResourceId());
+ Assertions.assertEquals("bdxkqpxokaj", model.value().get(0).attachedDatabaseConfigurationName());
+ Assertions.assertEquals("umasxazjpq", model.nextLink());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultTests.java
index ba9b6300f986d..38fcee771a856 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabaseListResultTests.java
@@ -14,23 +14,21 @@ public final class FollowerDatabaseListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
FollowerDatabaseListResult model = BinaryData.fromString(
- "{\"value\":[{\"clusterResourceId\":\"zloc\",\"attachedDatabaseConfigurationName\":\"scpai\",\"databaseName\":\"hhbcsglummajtjao\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"nbdxk\",\"pxokajionp\",\"mexgstxgcp\",\"dg\"],\"tablesToExclude\":[\"jrmvdjwzrlo\",\"mcl\",\"hijco\",\"jctbza\"],\"externalTablesToInclude\":[\"sycbkbfk\",\"ukdkexxppofmxa\",\"c\"],\"externalTablesToExclude\":[\"gddtocj\"],\"materializedViewsToInclude\":[\"vpmouexhdzxib\",\"eojnxqbzvddn\"],\"materializedViewsToExclude\":[\"deicbtwnpzao\"],\"functionsToInclude\":[\"hrhcffcyddglmjth\",\"qkwpyeicxmqc\",\"wqvhkhixuigdt\",\"pbobjo\"],\"functionsToExclude\":[\"e\"]},\"databaseShareOrigin\":\"Other\"},{\"clusterResourceId\":\"m\",\"attachedDatabaseConfigurationName\":\"uhrzayvvt\",\"databaseName\":\"vdfgiotk\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"qxlngx\",\"efgugnxk\"],\"tablesToExclude\":[\"qmi\",\"tthzrvqd\"],\"externalTablesToInclude\":[\"hjybigehoqfbo\"],\"externalTablesToExclude\":[\"anyktzlcuiywg\",\"ywgndrv\",\"nhzgpphrcgyn\",\"ocpecfvmmco\"],\"materializedViewsToInclude\":[\"xlzevgbmqjqabcy\",\"mivkwlzuvcc\",\"wnfnbacf\"],\"materializedViewsToExclude\":[\"l\",\"bxetqgtzxdpn\",\"bqqwxrj\",\"eallnwsubisnj\"],\"functionsToInclude\":[\"mngnzscxaqw\"],\"functionsToExclude\":[\"hcbonqvpkvlr\",\"njeaseipheofloke\",\"y\",\"enjbdlwtgrhp\"]},\"databaseShareOrigin\":\"Other\"},{\"clusterResourceId\":\"jumasx\",\"attachedDatabaseConfigurationName\":\"zj\",\"databaseName\":\"yegu\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"xxhejjzzvd\"],\"tablesToExclude\":[\"wdslfhotwmcy\",\"pwlbjnpg\",\"cftadeh\"],\"externalTablesToInclude\":[\"tyfsoppusuesn\",\"wd\"],\"externalTablesToExclude\":[\"avo\"],\"materializedViewsToInclude\":[\"dmoh\",\"tbqvudw\",\"dndnvow\"],\"materializedViewsToExclude\":[\"jugwdkcglhsl\",\"zj\",\"yggdtjixh\",\"kuofqweykhme\"],\"functionsToInclude\":[\"fyexfwhy\",\"cibvyvdcsitynn\"],\"functionsToExclude\":[\"dectehfiqsc\",\"eypvhezrkg\",\"hcjrefovgmk\",\"sle\"]},\"databaseShareOrigin\":\"Direct\"}]}")
+ "{\"value\":[{\"clusterResourceId\":\"njeputtmrywn\",\"attachedDatabaseConfigurationName\":\"zoqftiyqzrnkcqvy\",\"databaseName\":\"whzlsicohoq\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"lryav\",\"hheunmmqhgyx\",\"konocu\",\"oklyaxuconuq\"],\"tablesToExclude\":[\"kbeype\",\"rmjmwvvjektc\"],\"externalTablesToInclude\":[\"nhwlrsffrzpwvl\",\"dqgbiqylihkaetc\"],\"externalTablesToExclude\":[\"fcivfsnkym\",\"ctq\",\"jf\",\"ebrjcxe\"],\"materializedViewsToInclude\":[\"wutttxfvjrbi\",\"phxepcyvahf\",\"ljkyqxjvuuj\",\"gidokgjljyoxgvcl\"],\"materializedViewsToExclude\":[\"sncghkjeszz\",\"bijhtxfvgxbf\",\"mxnehmp\"],\"functionsToInclude\":[\"xgodebfqkkrbmp\",\"kgriwflzlfbx\"],\"functionsToExclude\":[\"zycispn\",\"zahmgkbrpyydhibn\",\"qqkpikadrg\"]},\"databaseShareOrigin\":\"Other\"},{\"clusterResourceId\":\"agnb\",\"attachedDatabaseConfigurationName\":\"ynhijggme\",\"databaseName\":\"siarbutrcvpn\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"hj\",\"unmpxttd\",\"hrbnlankxmyskpbh\",\"nbtkcxywnytnr\"],\"tablesToExclude\":[\"lqidyby\",\"czfc\",\"haaxdbabphl\"],\"externalTablesToInclude\":[\"lfktsths\",\"cocmnyyaztt\",\"twwrqp\"],\"externalTablesToExclude\":[\"ckzywbiexzfeyue\",\"xibxujwbhqwalm\",\"zyoxaepdkzjan\"],\"materializedViewsToInclude\":[\"rhdwbavxbniw\",\"jswztsdbpg\",\"xytxhpzxbz\",\"fzab\"],\"materializedViewsToExclude\":[\"uhxwtctyqiklbbov\"],\"functionsToInclude\":[\"zbhvgyuguosv\",\"kfssxqukkf\",\"l\"],\"functionsToExclude\":[\"sxnkjzkdeslpvlo\",\"wiyighxpkdw\",\"baiuebbaumny\",\"upedeojnabckhs\"]},\"databaseShareOrigin\":\"Direct\"}]}")
.toObject(FollowerDatabaseListResult.class);
- Assertions.assertEquals("zloc", model.value().get(0).clusterResourceId());
- Assertions.assertEquals("scpai", model.value().get(0).attachedDatabaseConfigurationName());
+ Assertions.assertEquals("njeputtmrywn", model.value().get(0).clusterResourceId());
+ Assertions.assertEquals("zoqftiyqzrnkcqvy", model.value().get(0).attachedDatabaseConfigurationName());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
FollowerDatabaseListResult model = new FollowerDatabaseListResult().withValue(Arrays.asList(
- new FollowerDatabaseDefinitionInner().withClusterResourceId("zloc")
- .withAttachedDatabaseConfigurationName("scpai"),
- new FollowerDatabaseDefinitionInner().withClusterResourceId("m")
- .withAttachedDatabaseConfigurationName("uhrzayvvt"),
- new FollowerDatabaseDefinitionInner().withClusterResourceId("jumasx")
- .withAttachedDatabaseConfigurationName("zj")));
+ new FollowerDatabaseDefinitionInner().withClusterResourceId("njeputtmrywn")
+ .withAttachedDatabaseConfigurationName("zoqftiyqzrnkcqvy"),
+ new FollowerDatabaseDefinitionInner().withClusterResourceId("agnb")
+ .withAttachedDatabaseConfigurationName("ynhijggme")));
model = BinaryData.fromObject(model).toObject(FollowerDatabaseListResult.class);
- Assertions.assertEquals("zloc", model.value().get(0).clusterResourceId());
- Assertions.assertEquals("scpai", model.value().get(0).attachedDatabaseConfigurationName());
+ Assertions.assertEquals("njeputtmrywn", model.value().get(0).clusterResourceId());
+ Assertions.assertEquals("zoqftiyqzrnkcqvy", model.value().get(0).attachedDatabaseConfigurationName());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabasePropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabasePropertiesTests.java
new file mode 100644
index 0000000000000..743b59964a30d
--- /dev/null
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/FollowerDatabasePropertiesTests.java
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.kusto.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.kusto.fluent.models.FollowerDatabaseProperties;
+import org.junit.jupiter.api.Assertions;
+
+public final class FollowerDatabasePropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FollowerDatabaseProperties model = BinaryData.fromString(
+ "{\"clusterResourceId\":\"oaeupfhyhltrpmo\",\"attachedDatabaseConfigurationName\":\"jmcmatuokthfu\",\"databaseName\":\"aodsfcpkv\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"uozmyzydagfua\",\"bezy\",\"uokktwhrdxwz\"],\"tablesToExclude\":[\"sm\"],\"externalTablesToInclude\":[\"reximoryocfs\",\"ksymd\",\"ys\",\"kiiuxhqyudxor\"],\"externalTablesToExclude\":[\"b\",\"oczvy\",\"fqrvkdvjsllrmvvd\",\"watkpnpulexxb\"],\"materializedViewsToInclude\":[\"truwiqzb\",\"j\",\"sovmyokacspkwl\",\"zdobpxjmflbvvnch\"],\"materializedViewsToExclude\":[\"ciwwzjuqkhr\"],\"functionsToInclude\":[\"iwkuofos\",\"ghsauuimjmvxied\",\"ugidyjrr\",\"byao\"],\"functionsToExclude\":[\"xc\"]},\"databaseShareOrigin\":\"Direct\"}")
+ .toObject(FollowerDatabaseProperties.class);
+ Assertions.assertEquals("oaeupfhyhltrpmo", model.clusterResourceId());
+ Assertions.assertEquals("jmcmatuokthfu", model.attachedDatabaseConfigurationName());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ FollowerDatabaseProperties model = new FollowerDatabaseProperties().withClusterResourceId("oaeupfhyhltrpmo")
+ .withAttachedDatabaseConfigurationName("jmcmatuokthfu");
+ model = BinaryData.fromObject(model).toObject(FollowerDatabaseProperties.class);
+ Assertions.assertEquals("oaeupfhyhltrpmo", model.clusterResourceId());
+ Assertions.assertEquals("jmcmatuokthfu", model.attachedDatabaseConfigurationName());
+ }
+}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubConnectionPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubConnectionPropertiesTests.java
index 781bdf4c84e49..40b5a58facdd2 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubConnectionPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubConnectionPropertiesTests.java
@@ -16,39 +16,39 @@ public final class IotHubConnectionPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IotHubConnectionProperties model = BinaryData.fromString(
- "{\"iotHubResourceId\":\"stmjlxrri\",\"consumerGroup\":\"ozapeew\",\"tableName\":\"pxlktwkuziycsl\",\"mappingRuleName\":\"ufuztcktyhjtq\",\"dataFormat\":\"PARQUET\",\"eventSystemProperties\":[\"ulwm\",\"rqzz\",\"rjvpglydzgkrvqee\",\"toepryu\"],\"sharedAccessPolicyName\":\"nwy\",\"databaseRouting\":\"Single\",\"retrievalStartDate\":\"2021-01-20T06:32:43Z\",\"provisioningState\":\"Failed\"}")
+ "{\"iotHubResourceId\":\"nhdwdigumbnra\",\"consumerGroup\":\"uzzptjazysdz\",\"tableName\":\"zwwva\",\"mappingRuleName\":\"yuvvfonkp\",\"dataFormat\":\"SOHSV\",\"eventSystemProperties\":[\"kvylauyavl\",\"wmn\",\"sttijfybvp\"],\"sharedAccessPolicyName\":\"ekrsgs\",\"databaseRouting\":\"Multi\",\"retrievalStartDate\":\"2021-08-14T00:34:57Z\",\"provisioningState\":\"Moving\"}")
.toObject(IotHubConnectionProperties.class);
- Assertions.assertEquals("stmjlxrri", model.iotHubResourceId());
- Assertions.assertEquals("ozapeew", model.consumerGroup());
- Assertions.assertEquals("pxlktwkuziycsl", model.tableName());
- Assertions.assertEquals("ufuztcktyhjtq", model.mappingRuleName());
- Assertions.assertEquals(IotHubDataFormat.PARQUET, model.dataFormat());
- Assertions.assertEquals("ulwm", model.eventSystemProperties().get(0));
- Assertions.assertEquals("nwy", model.sharedAccessPolicyName());
- Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-20T06:32:43Z"), model.retrievalStartDate());
+ Assertions.assertEquals("nhdwdigumbnra", model.iotHubResourceId());
+ Assertions.assertEquals("uzzptjazysdz", model.consumerGroup());
+ Assertions.assertEquals("zwwva", model.tableName());
+ Assertions.assertEquals("yuvvfonkp", model.mappingRuleName());
+ Assertions.assertEquals(IotHubDataFormat.SOHSV, model.dataFormat());
+ Assertions.assertEquals("kvylauyavl", model.eventSystemProperties().get(0));
+ Assertions.assertEquals("ekrsgs", model.sharedAccessPolicyName());
+ Assertions.assertEquals(DatabaseRouting.MULTI, model.databaseRouting());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-14T00:34:57Z"), model.retrievalStartDate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- IotHubConnectionProperties model = new IotHubConnectionProperties().withIotHubResourceId("stmjlxrri")
- .withConsumerGroup("ozapeew")
- .withTableName("pxlktwkuziycsl")
- .withMappingRuleName("ufuztcktyhjtq")
- .withDataFormat(IotHubDataFormat.PARQUET)
- .withEventSystemProperties(Arrays.asList("ulwm", "rqzz", "rjvpglydzgkrvqee", "toepryu"))
- .withSharedAccessPolicyName("nwy")
- .withDatabaseRouting(DatabaseRouting.SINGLE)
- .withRetrievalStartDate(OffsetDateTime.parse("2021-01-20T06:32:43Z"));
+ IotHubConnectionProperties model = new IotHubConnectionProperties().withIotHubResourceId("nhdwdigumbnra")
+ .withConsumerGroup("uzzptjazysdz")
+ .withTableName("zwwva")
+ .withMappingRuleName("yuvvfonkp")
+ .withDataFormat(IotHubDataFormat.SOHSV)
+ .withEventSystemProperties(Arrays.asList("kvylauyavl", "wmn", "sttijfybvp"))
+ .withSharedAccessPolicyName("ekrsgs")
+ .withDatabaseRouting(DatabaseRouting.MULTI)
+ .withRetrievalStartDate(OffsetDateTime.parse("2021-08-14T00:34:57Z"));
model = BinaryData.fromObject(model).toObject(IotHubConnectionProperties.class);
- Assertions.assertEquals("stmjlxrri", model.iotHubResourceId());
- Assertions.assertEquals("ozapeew", model.consumerGroup());
- Assertions.assertEquals("pxlktwkuziycsl", model.tableName());
- Assertions.assertEquals("ufuztcktyhjtq", model.mappingRuleName());
- Assertions.assertEquals(IotHubDataFormat.PARQUET, model.dataFormat());
- Assertions.assertEquals("ulwm", model.eventSystemProperties().get(0));
- Assertions.assertEquals("nwy", model.sharedAccessPolicyName());
- Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-20T06:32:43Z"), model.retrievalStartDate());
+ Assertions.assertEquals("nhdwdigumbnra", model.iotHubResourceId());
+ Assertions.assertEquals("uzzptjazysdz", model.consumerGroup());
+ Assertions.assertEquals("zwwva", model.tableName());
+ Assertions.assertEquals("yuvvfonkp", model.mappingRuleName());
+ Assertions.assertEquals(IotHubDataFormat.SOHSV, model.dataFormat());
+ Assertions.assertEquals("kvylauyavl", model.eventSystemProperties().get(0));
+ Assertions.assertEquals("ekrsgs", model.sharedAccessPolicyName());
+ Assertions.assertEquals(DatabaseRouting.MULTI, model.databaseRouting());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-14T00:34:57Z"), model.retrievalStartDate());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubDataConnectionTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubDataConnectionTests.java
index f3b00000b71a8..e5c5991e7963e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubDataConnectionTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/IotHubDataConnectionTests.java
@@ -16,42 +16,42 @@ public final class IotHubDataConnectionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IotHubDataConnection model = BinaryData.fromString(
- "{\"kind\":\"IotHub\",\"properties\":{\"iotHubResourceId\":\"seypxiutcxapz\",\"consumerGroup\":\"y\",\"tableName\":\"etoge\",\"mappingRuleName\":\"oxslh\",\"dataFormat\":\"SOHSV\",\"eventSystemProperties\":[\"brqnkkzjcjb\",\"rgaehvvibrxjj\",\"toqbeitpkxztmoob\"],\"sharedAccessPolicyName\":\"lftidgfcwqmpim\",\"databaseRouting\":\"Single\",\"retrievalStartDate\":\"2021-12-01T05:05:15Z\",\"provisioningState\":\"Running\"},\"location\":\"yhohujswtwkozzwc\",\"id\":\"lkb\",\"name\":\"wpfaj\",\"type\":\"jwltlwtjjgu\"}")
+ "{\"kind\":\"IotHub\",\"properties\":{\"iotHubResourceId\":\"alhsnvkc\",\"consumerGroup\":\"mxzrpoa\",\"tableName\":\"lnwiaaomylwe\",\"mappingRuleName\":\"ulcsethwwnpj\",\"dataFormat\":\"JSON\",\"eventSystemProperties\":[\"wpchwahf\",\"ousnfepgfewe\",\"wlyxgncxyk\",\"hdjhlimmbcx\"],\"sharedAccessPolicyName\":\"h\",\"databaseRouting\":\"Single\",\"retrievalStartDate\":\"2021-08-24T02:48:56Z\",\"provisioningState\":\"Moving\"},\"location\":\"cjzhqi\",\"id\":\"xfpxtgqscja\",\"name\":\"ftjuh\",\"type\":\"qaz\"}")
.toObject(IotHubDataConnection.class);
- Assertions.assertEquals("yhohujswtwkozzwc", model.location());
- Assertions.assertEquals("seypxiutcxapz", model.iotHubResourceId());
- Assertions.assertEquals("y", model.consumerGroup());
- Assertions.assertEquals("etoge", model.tableName());
- Assertions.assertEquals("oxslh", model.mappingRuleName());
- Assertions.assertEquals(IotHubDataFormat.SOHSV, model.dataFormat());
- Assertions.assertEquals("brqnkkzjcjb", model.eventSystemProperties().get(0));
- Assertions.assertEquals("lftidgfcwqmpim", model.sharedAccessPolicyName());
+ Assertions.assertEquals("cjzhqi", model.location());
+ Assertions.assertEquals("alhsnvkc", model.iotHubResourceId());
+ Assertions.assertEquals("mxzrpoa", model.consumerGroup());
+ Assertions.assertEquals("lnwiaaomylwe", model.tableName());
+ Assertions.assertEquals("ulcsethwwnpj", model.mappingRuleName());
+ Assertions.assertEquals(IotHubDataFormat.JSON, model.dataFormat());
+ Assertions.assertEquals("wpchwahf", model.eventSystemProperties().get(0));
+ Assertions.assertEquals("h", model.sharedAccessPolicyName());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-12-01T05:05:15Z"), model.retrievalStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-24T02:48:56Z"), model.retrievalStartDate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- IotHubDataConnection model = new IotHubDataConnection().withLocation("yhohujswtwkozzwc")
- .withIotHubResourceId("seypxiutcxapz")
- .withConsumerGroup("y")
- .withTableName("etoge")
- .withMappingRuleName("oxslh")
- .withDataFormat(IotHubDataFormat.SOHSV)
- .withEventSystemProperties(Arrays.asList("brqnkkzjcjb", "rgaehvvibrxjj", "toqbeitpkxztmoob"))
- .withSharedAccessPolicyName("lftidgfcwqmpim")
+ IotHubDataConnection model = new IotHubDataConnection().withLocation("cjzhqi")
+ .withIotHubResourceId("alhsnvkc")
+ .withConsumerGroup("mxzrpoa")
+ .withTableName("lnwiaaomylwe")
+ .withMappingRuleName("ulcsethwwnpj")
+ .withDataFormat(IotHubDataFormat.JSON)
+ .withEventSystemProperties(Arrays.asList("wpchwahf", "ousnfepgfewe", "wlyxgncxyk", "hdjhlimmbcx"))
+ .withSharedAccessPolicyName("h")
.withDatabaseRouting(DatabaseRouting.SINGLE)
- .withRetrievalStartDate(OffsetDateTime.parse("2021-12-01T05:05:15Z"));
+ .withRetrievalStartDate(OffsetDateTime.parse("2021-08-24T02:48:56Z"));
model = BinaryData.fromObject(model).toObject(IotHubDataConnection.class);
- Assertions.assertEquals("yhohujswtwkozzwc", model.location());
- Assertions.assertEquals("seypxiutcxapz", model.iotHubResourceId());
- Assertions.assertEquals("y", model.consumerGroup());
- Assertions.assertEquals("etoge", model.tableName());
- Assertions.assertEquals("oxslh", model.mappingRuleName());
- Assertions.assertEquals(IotHubDataFormat.SOHSV, model.dataFormat());
- Assertions.assertEquals("brqnkkzjcjb", model.eventSystemProperties().get(0));
- Assertions.assertEquals("lftidgfcwqmpim", model.sharedAccessPolicyName());
+ Assertions.assertEquals("cjzhqi", model.location());
+ Assertions.assertEquals("alhsnvkc", model.iotHubResourceId());
+ Assertions.assertEquals("mxzrpoa", model.consumerGroup());
+ Assertions.assertEquals("lnwiaaomylwe", model.tableName());
+ Assertions.assertEquals("ulcsethwwnpj", model.mappingRuleName());
+ Assertions.assertEquals(IotHubDataFormat.JSON, model.dataFormat());
+ Assertions.assertEquals("wpchwahf", model.eventSystemProperties().get(0));
+ Assertions.assertEquals("h", model.sharedAccessPolicyName());
Assertions.assertEquals(DatabaseRouting.SINGLE, model.databaseRouting());
- Assertions.assertEquals(OffsetDateTime.parse("2021-12-01T05:05:15Z"), model.retrievalStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-24T02:48:56Z"), model.retrievalStartDate());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/LanguageExtensionsListTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/LanguageExtensionsListTests.java
index 578abd76a3991..a0fcab0c350ee 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/LanguageExtensionsListTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/LanguageExtensionsListTests.java
@@ -16,10 +16,10 @@ public final class LanguageExtensionsListTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
LanguageExtensionsList model = BinaryData.fromString(
- "{\"value\":[{\"languageExtensionName\":\"R\",\"languageExtensionImageName\":\"Python3_10_8\",\"languageExtensionCustomImageName\":\"qtrgqjbpfzfsinzg\"},{\"languageExtensionName\":\"R\",\"languageExtensionImageName\":\"R\",\"languageExtensionCustomImageName\":\"zoxxjtf\"}]}")
+ "{\"value\":[{\"languageExtensionName\":\"R\",\"languageExtensionImageName\":\"Python3_11_7_DL\",\"languageExtensionCustomImageName\":\"qtrgqjbpfzfsinzg\"},{\"languageExtensionName\":\"R\",\"languageExtensionImageName\":\"Python3_11_7\",\"languageExtensionCustomImageName\":\"zoxxjtf\"}]}")
.toObject(LanguageExtensionsList.class);
Assertions.assertEquals(LanguageExtensionName.R, model.value().get(0).languageExtensionName());
- Assertions.assertEquals(LanguageExtensionImageName.PYTHON3_10_8,
+ Assertions.assertEquals(LanguageExtensionImageName.PYTHON3_11_7_DL,
model.value().get(0).languageExtensionImageName());
Assertions.assertEquals("qtrgqjbpfzfsinzg", model.value().get(0).languageExtensionCustomImageName());
}
@@ -28,14 +28,14 @@ public void testDeserialize() throws Exception {
public void testSerialize() throws Exception {
LanguageExtensionsList model = new LanguageExtensionsList().withValue(Arrays.asList(
new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.R)
- .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_10_8)
+ .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_11_7_DL)
.withLanguageExtensionCustomImageName("qtrgqjbpfzfsinzg"),
new LanguageExtensionInner().withLanguageExtensionName(LanguageExtensionName.R)
- .withLanguageExtensionImageName(LanguageExtensionImageName.R)
+ .withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_11_7)
.withLanguageExtensionCustomImageName("zoxxjtf")));
model = BinaryData.fromObject(model).toObject(LanguageExtensionsList.class);
Assertions.assertEquals(LanguageExtensionName.R, model.value().get(0).languageExtensionName());
- Assertions.assertEquals(LanguageExtensionImageName.PYTHON3_10_8,
+ Assertions.assertEquals(LanguageExtensionImageName.PYTHON3_11_7_DL,
model.value().get(0).languageExtensionImageName());
Assertions.assertEquals("qtrgqjbpfzfsinzg", model.value().get(0).languageExtensionCustomImageName());
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ListResourceSkusResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ListResourceSkusResultTests.java
index e5c9e38d25789..4c88c8fa646ff 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ListResourceSkusResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ListResourceSkusResultTests.java
@@ -19,45 +19,45 @@ public final class ListResourceSkusResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ListResourceSkusResult model = BinaryData.fromString(
- "{\"value\":[{\"resourceType\":\"qytjrybnwjewgd\",\"sku\":{\"name\":\"Standard_EC8ads_v5\",\"capacity\":1822878262,\"tier\":\"Standard\"},\"capacity\":{\"scaleType\":\"automatic\",\"minimum\":1214178064,\"maximum\":432099850,\"default\":282586156}},{\"resourceType\":\"hin\",\"sku\":{\"name\":\"Standard_L4s\",\"capacity\":412409909,\"tier\":\"Basic\"},\"capacity\":{\"scaleType\":\"automatic\",\"minimum\":1448466618,\"maximum\":372150678,\"default\":1092081926}}]}")
+ "{\"value\":[{\"resourceType\":\"uyfta\",\"sku\":{\"name\":\"Standard_L8s\",\"capacity\":1662588727,\"tier\":\"Standard\"},\"capacity\":{\"scaleType\":\"manual\",\"minimum\":1777343462,\"maximum\":842537299,\"default\":1814420357}},{\"resourceType\":\"nubexk\",\"sku\":{\"name\":\"Standard_L32as_v3\",\"capacity\":986433901,\"tier\":\"Basic\"},\"capacity\":{\"scaleType\":\"automatic\",\"minimum\":848558030,\"maximum\":1929847054,\"default\":1007666972}}]}")
.toObject(ListResourceSkusResult.class);
- Assertions.assertEquals("qytjrybnwjewgd", model.value().get(0).resourceType());
- Assertions.assertEquals(AzureSkuName.STANDARD_EC8ADS_V5, model.value().get(0).sku().name());
- Assertions.assertEquals(1822878262, model.value().get(0).sku().capacity());
+ Assertions.assertEquals("uyfta", model.value().get(0).resourceType());
+ Assertions.assertEquals(AzureSkuName.STANDARD_L8S, model.value().get(0).sku().name());
+ Assertions.assertEquals(1662588727, model.value().get(0).sku().capacity());
Assertions.assertEquals(AzureSkuTier.STANDARD, model.value().get(0).sku().tier());
- Assertions.assertEquals(AzureScaleType.AUTOMATIC, model.value().get(0).capacity().scaleType());
- Assertions.assertEquals(1214178064, model.value().get(0).capacity().minimum());
- Assertions.assertEquals(432099850, model.value().get(0).capacity().maximum());
- Assertions.assertEquals(282586156, model.value().get(0).capacity().defaultProperty());
+ Assertions.assertEquals(AzureScaleType.MANUAL, model.value().get(0).capacity().scaleType());
+ Assertions.assertEquals(1777343462, model.value().get(0).capacity().minimum());
+ Assertions.assertEquals(842537299, model.value().get(0).capacity().maximum());
+ Assertions.assertEquals(1814420357, model.value().get(0).capacity().defaultProperty());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
ListResourceSkusResult model = new ListResourceSkusResult().withValue(Arrays.asList(
- new AzureResourceSkuInner().withResourceType("qytjrybnwjewgd")
- .withSku(new AzureSku().withName(AzureSkuName.STANDARD_EC8ADS_V5)
- .withCapacity(1822878262)
+ new AzureResourceSkuInner().withResourceType("uyfta")
+ .withSku(new AzureSku().withName(AzureSkuName.STANDARD_L8S)
+ .withCapacity(1662588727)
.withTier(AzureSkuTier.STANDARD))
- .withCapacity(new AzureCapacity().withScaleType(AzureScaleType.AUTOMATIC)
- .withMinimum(1214178064)
- .withMaximum(432099850)
- .withDefaultProperty(282586156)),
- new AzureResourceSkuInner().withResourceType("hin")
- .withSku(new AzureSku().withName(AzureSkuName.STANDARD_L4S)
- .withCapacity(412409909)
+ .withCapacity(new AzureCapacity().withScaleType(AzureScaleType.MANUAL)
+ .withMinimum(1777343462)
+ .withMaximum(842537299)
+ .withDefaultProperty(1814420357)),
+ new AzureResourceSkuInner().withResourceType("nubexk")
+ .withSku(new AzureSku().withName(AzureSkuName.STANDARD_L32AS_V3)
+ .withCapacity(986433901)
.withTier(AzureSkuTier.BASIC))
.withCapacity(new AzureCapacity().withScaleType(AzureScaleType.AUTOMATIC)
- .withMinimum(1448466618)
- .withMaximum(372150678)
- .withDefaultProperty(1092081926))));
+ .withMinimum(848558030)
+ .withMaximum(1929847054)
+ .withDefaultProperty(1007666972))));
model = BinaryData.fromObject(model).toObject(ListResourceSkusResult.class);
- Assertions.assertEquals("qytjrybnwjewgd", model.value().get(0).resourceType());
- Assertions.assertEquals(AzureSkuName.STANDARD_EC8ADS_V5, model.value().get(0).sku().name());
- Assertions.assertEquals(1822878262, model.value().get(0).sku().capacity());
+ Assertions.assertEquals("uyfta", model.value().get(0).resourceType());
+ Assertions.assertEquals(AzureSkuName.STANDARD_L8S, model.value().get(0).sku().name());
+ Assertions.assertEquals(1662588727, model.value().get(0).sku().capacity());
Assertions.assertEquals(AzureSkuTier.STANDARD, model.value().get(0).sku().tier());
- Assertions.assertEquals(AzureScaleType.AUTOMATIC, model.value().get(0).capacity().scaleType());
- Assertions.assertEquals(1214178064, model.value().get(0).capacity().minimum());
- Assertions.assertEquals(432099850, model.value().get(0).capacity().maximum());
- Assertions.assertEquals(282586156, model.value().get(0).capacity().defaultProperty());
+ Assertions.assertEquals(AzureScaleType.MANUAL, model.value().get(0).capacity().scaleType());
+ Assertions.assertEquals(1777343462, model.value().get(0).capacity().minimum());
+ Assertions.assertEquals(842537299, model.value().get(0).capacity().maximum());
+ Assertions.assertEquals(1814420357, model.value().get(0).capacity().defaultProperty());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointInnerTests.java
index 8a93113c27d4e..97a618b8dc5c8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointInnerTests.java
@@ -12,24 +12,25 @@ public final class ManagedPrivateEndpointInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagedPrivateEndpointInner model = BinaryData.fromString(
- "{\"properties\":{\"privateLinkResourceId\":\"xbaaabjyv\",\"privateLinkResourceRegion\":\"ffimrzrtuzqogsex\",\"groupId\":\"evfdnwnwm\",\"requestMessage\":\"zsyyceuzso\",\"provisioningState\":\"Canceled\"},\"id\":\"dpfrxtrthzvaytdw\",\"name\":\"qbrqubpaxhexiili\",\"type\":\"pdtii\"}")
+ "{\"properties\":{\"privateLinkResourceId\":\"cslfaoqzpiyylha\",\"privateLinkResourceRegion\":\"swhccsphk\",\"groupId\":\"ivwitqscywugg\",\"requestMessage\":\"luhczbw\",\"provisioningState\":\"Deleting\"},\"id\":\"i\",\"name\":\"sbrgz\",\"type\":\"wmsweypqwd\"}")
.toObject(ManagedPrivateEndpointInner.class);
- Assertions.assertEquals("xbaaabjyv", model.privateLinkResourceId());
- Assertions.assertEquals("ffimrzrtuzqogsex", model.privateLinkResourceRegion());
- Assertions.assertEquals("evfdnwnwm", model.groupId());
- Assertions.assertEquals("zsyyceuzso", model.requestMessage());
+ Assertions.assertEquals("cslfaoqzpiyylha", model.privateLinkResourceId());
+ Assertions.assertEquals("swhccsphk", model.privateLinkResourceRegion());
+ Assertions.assertEquals("ivwitqscywugg", model.groupId());
+ Assertions.assertEquals("luhczbw", model.requestMessage());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ManagedPrivateEndpointInner model = new ManagedPrivateEndpointInner().withPrivateLinkResourceId("xbaaabjyv")
- .withPrivateLinkResourceRegion("ffimrzrtuzqogsex")
- .withGroupId("evfdnwnwm")
- .withRequestMessage("zsyyceuzso");
+ ManagedPrivateEndpointInner model
+ = new ManagedPrivateEndpointInner().withPrivateLinkResourceId("cslfaoqzpiyylha")
+ .withPrivateLinkResourceRegion("swhccsphk")
+ .withGroupId("ivwitqscywugg")
+ .withRequestMessage("luhczbw");
model = BinaryData.fromObject(model).toObject(ManagedPrivateEndpointInner.class);
- Assertions.assertEquals("xbaaabjyv", model.privateLinkResourceId());
- Assertions.assertEquals("ffimrzrtuzqogsex", model.privateLinkResourceRegion());
- Assertions.assertEquals("evfdnwnwm", model.groupId());
- Assertions.assertEquals("zsyyceuzso", model.requestMessage());
+ Assertions.assertEquals("cslfaoqzpiyylha", model.privateLinkResourceId());
+ Assertions.assertEquals("swhccsphk", model.privateLinkResourceRegion());
+ Assertions.assertEquals("ivwitqscywugg", model.groupId());
+ Assertions.assertEquals("luhczbw", model.requestMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointListResultTests.java
index 213060bdc3abc..d744c3b266a66 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointListResultTests.java
@@ -14,25 +14,25 @@ public final class ManagedPrivateEndpointListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagedPrivateEndpointListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"privateLinkResourceId\":\"jhhyxxrwlycoduhp\",\"privateLinkResourceRegion\":\"kgymareqnajxqug\",\"groupId\":\"hky\",\"requestMessage\":\"beddgssofw\",\"provisioningState\":\"Running\"},\"id\":\"alkrmn\",\"name\":\"i\",\"type\":\"pxacqqudfn\"}]}")
+ "{\"value\":[{\"properties\":{\"privateLinkResourceId\":\"rdgrtw\",\"privateLinkResourceRegion\":\"nuuzkopbm\",\"groupId\":\"nrfdw\",\"requestMessage\":\"uhhziuiefozbhdm\",\"provisioningState\":\"Moving\"},\"id\":\"zqhof\",\"name\":\"rmaequ\",\"type\":\"ah\"}]}")
.toObject(ManagedPrivateEndpointListResult.class);
- Assertions.assertEquals("jhhyxxrwlycoduhp", model.value().get(0).privateLinkResourceId());
- Assertions.assertEquals("kgymareqnajxqug", model.value().get(0).privateLinkResourceRegion());
- Assertions.assertEquals("hky", model.value().get(0).groupId());
- Assertions.assertEquals("beddgssofw", model.value().get(0).requestMessage());
+ Assertions.assertEquals("rdgrtw", model.value().get(0).privateLinkResourceId());
+ Assertions.assertEquals("nuuzkopbm", model.value().get(0).privateLinkResourceRegion());
+ Assertions.assertEquals("nrfdw", model.value().get(0).groupId());
+ Assertions.assertEquals("uhhziuiefozbhdm", model.value().get(0).requestMessage());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
ManagedPrivateEndpointListResult model = new ManagedPrivateEndpointListResult()
- .withValue(Arrays.asList(new ManagedPrivateEndpointInner().withPrivateLinkResourceId("jhhyxxrwlycoduhp")
- .withPrivateLinkResourceRegion("kgymareqnajxqug")
- .withGroupId("hky")
- .withRequestMessage("beddgssofw")));
+ .withValue(Arrays.asList(new ManagedPrivateEndpointInner().withPrivateLinkResourceId("rdgrtw")
+ .withPrivateLinkResourceRegion("nuuzkopbm")
+ .withGroupId("nrfdw")
+ .withRequestMessage("uhhziuiefozbhdm")));
model = BinaryData.fromObject(model).toObject(ManagedPrivateEndpointListResult.class);
- Assertions.assertEquals("jhhyxxrwlycoduhp", model.value().get(0).privateLinkResourceId());
- Assertions.assertEquals("kgymareqnajxqug", model.value().get(0).privateLinkResourceRegion());
- Assertions.assertEquals("hky", model.value().get(0).groupId());
- Assertions.assertEquals("beddgssofw", model.value().get(0).requestMessage());
+ Assertions.assertEquals("rdgrtw", model.value().get(0).privateLinkResourceId());
+ Assertions.assertEquals("nuuzkopbm", model.value().get(0).privateLinkResourceRegion());
+ Assertions.assertEquals("nrfdw", model.value().get(0).groupId());
+ Assertions.assertEquals("uhhziuiefozbhdm", model.value().get(0).requestMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointPropertiesTests.java
index 7c9c70fc30228..e435e13600588 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointPropertiesTests.java
@@ -12,24 +12,25 @@ public final class ManagedPrivateEndpointPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagedPrivateEndpointProperties model = BinaryData.fromString(
- "{\"privateLinkResourceId\":\"q\",\"privateLinkResourceRegion\":\"qoaxoruzfgs\",\"groupId\":\"uyfxrxxleptramxj\",\"requestMessage\":\"wlwnwxuqlcv\",\"provisioningState\":\"Deleting\"}")
+ "{\"privateLinkResourceId\":\"ggicccnxqhue\",\"privateLinkResourceRegion\":\"ktt\",\"groupId\":\"stvlzywemhzrnc\",\"requestMessage\":\"tclusiypbsfgy\",\"provisioningState\":\"Succeeded\"}")
.toObject(ManagedPrivateEndpointProperties.class);
- Assertions.assertEquals("q", model.privateLinkResourceId());
- Assertions.assertEquals("qoaxoruzfgs", model.privateLinkResourceRegion());
- Assertions.assertEquals("uyfxrxxleptramxj", model.groupId());
- Assertions.assertEquals("wlwnwxuqlcv", model.requestMessage());
+ Assertions.assertEquals("ggicccnxqhue", model.privateLinkResourceId());
+ Assertions.assertEquals("ktt", model.privateLinkResourceRegion());
+ Assertions.assertEquals("stvlzywemhzrnc", model.groupId());
+ Assertions.assertEquals("tclusiypbsfgy", model.requestMessage());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ManagedPrivateEndpointProperties model = new ManagedPrivateEndpointProperties().withPrivateLinkResourceId("q")
- .withPrivateLinkResourceRegion("qoaxoruzfgs")
- .withGroupId("uyfxrxxleptramxj")
- .withRequestMessage("wlwnwxuqlcv");
+ ManagedPrivateEndpointProperties model
+ = new ManagedPrivateEndpointProperties().withPrivateLinkResourceId("ggicccnxqhue")
+ .withPrivateLinkResourceRegion("ktt")
+ .withGroupId("stvlzywemhzrnc")
+ .withRequestMessage("tclusiypbsfgy");
model = BinaryData.fromObject(model).toObject(ManagedPrivateEndpointProperties.class);
- Assertions.assertEquals("q", model.privateLinkResourceId());
- Assertions.assertEquals("qoaxoruzfgs", model.privateLinkResourceRegion());
- Assertions.assertEquals("uyfxrxxleptramxj", model.groupId());
- Assertions.assertEquals("wlwnwxuqlcv", model.requestMessage());
+ Assertions.assertEquals("ggicccnxqhue", model.privateLinkResourceId());
+ Assertions.assertEquals("ktt", model.privateLinkResourceRegion());
+ Assertions.assertEquals("stvlzywemhzrnc", model.groupId());
+ Assertions.assertEquals("tclusiypbsfgy", model.requestMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilityWithResponseMockTests.java
index 634fc2d9d70e6..bfa298cb6b855 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameAvailabilityWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class ManagedPrivateEndpointsCheckNameAvailabilityWithResponseMockT
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":true,\"name\":\"tzejetjklnt\",\"message\":\"yjuzkdb\",\"reason\":\"Invalid\"}";
+ = "{\"nameAvailable\":true,\"name\":\"kglklbyulidwcw\",\"message\":\"zegjonfhjirwgdn\",\"reason\":\"Invalid\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.managedPrivateEndpoints()
- .checkNameAvailabilityWithResponse("vlwyzg", "blkujrllfojuidjp",
- new ManagedPrivateEndpointsCheckNameRequest().withName("uyjucejikzo"), com.azure.core.util.Context.NONE)
+ .checkNameAvailabilityWithResponse("vlnnpx", "b",
+ new ManagedPrivateEndpointsCheckNameRequest().withName("fiqgeaar"), com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(true, response.nameAvailable());
- Assertions.assertEquals("tzejetjklnt", response.name());
- Assertions.assertEquals("yjuzkdb", response.message());
+ Assertions.assertEquals("kglklbyulidwcw", response.name());
+ Assertions.assertEquals("zegjonfhjirwgdn", response.message());
Assertions.assertEquals(Reason.INVALID, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameRequestTests.java
index 1b75f136bb08e..d58825039ac15 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCheckNameRequestTests.java
@@ -12,15 +12,14 @@ public final class ManagedPrivateEndpointsCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagedPrivateEndpointsCheckNameRequest model
- = BinaryData.fromString("{\"name\":\"ruoujmk\"}").toObject(ManagedPrivateEndpointsCheckNameRequest.class);
- Assertions.assertEquals("ruoujmk", model.name());
+ = BinaryData.fromString("{\"name\":\"fvmwy\"}").toObject(ManagedPrivateEndpointsCheckNameRequest.class);
+ Assertions.assertEquals("fvmwy", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ManagedPrivateEndpointsCheckNameRequest model
- = new ManagedPrivateEndpointsCheckNameRequest().withName("ruoujmk");
+ ManagedPrivateEndpointsCheckNameRequest model = new ManagedPrivateEndpointsCheckNameRequest().withName("fvmwy");
model = BinaryData.fromObject(model).toObject(ManagedPrivateEndpointsCheckNameRequest.class);
- Assertions.assertEquals("ruoujmk", model.name());
+ Assertions.assertEquals("fvmwy", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateMockTests.java
index 8cd1c67107b25..13146aace0515 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsCreateOrUpdateMockTests.java
@@ -21,7 +21,7 @@ public final class ManagedPrivateEndpointsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"privateLinkResourceId\":\"wskondcbrwimuvqe\",\"privateLinkResourceRegion\":\"so\",\"groupId\":\"yrrleaesinuqt\",\"requestMessage\":\"qobbpihehcec\",\"provisioningState\":\"Succeeded\"},\"id\":\"qbr\",\"name\":\"bbmpxdlvykfre\",\"type\":\"crse\"}";
+ = "{\"properties\":{\"privateLinkResourceId\":\"zgfbukklelssx\",\"privateLinkResourceRegion\":\"ycsxzu\",\"groupId\":\"ksrl\",\"requestMessage\":\"desqplpvmjcdo\",\"provisioningState\":\"Succeeded\"},\"id\":\"dyvt\",\"name\":\"owx\",\"type\":\"gpiudeug\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,17 +31,17 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
ManagedPrivateEndpoint response = manager.managedPrivateEndpoints()
- .define("jcitdigsxcdglj")
- .withExistingCluster("pzhz", "tk")
- .withPrivateLinkResourceId("keuachtomf")
- .withPrivateLinkResourceRegion("ytswfp")
- .withGroupId("mdgycxn")
- .withRequestMessage("kwhqj")
+ .define("ve")
+ .withExistingCluster("mlikytw", "czcswka")
+ .withPrivateLinkResourceId("fdv")
+ .withPrivateLinkResourceRegion("hbwrnfxtgddpqth")
+ .withGroupId("hn")
+ .withRequestMessage("aoyankcoeqswa")
.create();
- Assertions.assertEquals("wskondcbrwimuvqe", response.privateLinkResourceId());
- Assertions.assertEquals("so", response.privateLinkResourceRegion());
- Assertions.assertEquals("yrrleaesinuqt", response.groupId());
- Assertions.assertEquals("qobbpihehcec", response.requestMessage());
+ Assertions.assertEquals("zgfbukklelssx", response.privateLinkResourceId());
+ Assertions.assertEquals("ycsxzu", response.privateLinkResourceRegion());
+ Assertions.assertEquals("ksrl", response.groupId());
+ Assertions.assertEquals("desqplpvmjcdo", response.requestMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteMockTests.java
index c267b07e01a39..71aba3360d293 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsDeleteMockTests.java
@@ -27,7 +27,8 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.managedPrivateEndpoints().delete("eg", "o", "fhjirwgdnqzbrfk", com.azure.core.util.Context.NONE);
+ manager.managedPrivateEndpoints()
+ .delete("awzovgkk", "muikjcjcaztbws", "sqowxwc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetWithResponseMockTests.java
index aa6dcca067752..0bacf58f09a15 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class ManagedPrivateEndpointsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"privateLinkResourceId\":\"wvnph\",\"privateLinkResourceRegion\":\"zqtpjhmq\",\"groupId\":\"hvthlaiwdcxsm\",\"requestMessage\":\"zhzdtxetlgydlhqv\",\"provisioningState\":\"Running\"},\"id\":\"xybafiqgea\",\"name\":\"rbgjekglkl\",\"type\":\"yulidwcwvm\"}";
+ = "{\"properties\":{\"privateLinkResourceId\":\"cecybmrqbrjbbmpx\",\"privateLinkResourceRegion\":\"vykfrexcrse\",\"groupId\":\"wjksghudgzhxo\",\"requestMessage\":\"ggsvoujkxibdaf\",\"provisioningState\":\"Creating\"},\"id\":\"dyomkxfbv\",\"name\":\"bhdyir\",\"type\":\"pwpgddei\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,12 +31,12 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
ManagedPrivateEndpoint response = manager.managedPrivateEndpoints()
- .getWithResponse("vdulajv", "ejchcsrlz", "nmzlanru", com.azure.core.util.Context.NONE)
+ .getWithResponse("uvqejosovyrrle", "esi", "uqtljqobbpih", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("wvnph", response.privateLinkResourceId());
- Assertions.assertEquals("zqtpjhmq", response.privateLinkResourceRegion());
- Assertions.assertEquals("hvthlaiwdcxsm", response.groupId());
- Assertions.assertEquals("zhzdtxetlgydlhqv", response.requestMessage());
+ Assertions.assertEquals("cecybmrqbrjbbmpx", response.privateLinkResourceId());
+ Assertions.assertEquals("vykfrexcrse", response.privateLinkResourceRegion());
+ Assertions.assertEquals("wjksghudgzhxo", response.groupId());
+ Assertions.assertEquals("ggsvoujkxibdaf", response.requestMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListMockTests.java
index 9bab26608d5b5..db2614d1ec390 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ManagedPrivateEndpointsListMockTests.java
@@ -22,7 +22,7 @@ public final class ManagedPrivateEndpointsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"privateLinkResourceId\":\"rkolawjm\",\"privateLinkResourceRegion\":\"mwrokcdxfzzzwyja\",\"groupId\":\"itlhguyn\",\"requestMessage\":\"hlgmltxdwhmoz\",\"provisioningState\":\"Moving\"},\"id\":\"vlnsnnjz\",\"name\":\"pafolp\",\"type\":\"mwamxqzragpgdph\"}]}";
+ = "{\"value\":[{\"properties\":{\"privateLinkResourceId\":\"cit\",\"privateLinkResourceRegion\":\"gsxcdgljplkeua\",\"groupId\":\"htomflrytswfp\",\"requestMessage\":\"dgycxnmskwhqjjy\",\"provisioningState\":\"Succeeded\"},\"id\":\"lpshhkvpedwqslsr\",\"name\":\"mpqvwwsk\",\"type\":\"ndcbrwi\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,11 +32,11 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response
- = manager.managedPrivateEndpoints().list("lxrzvhqjwtr", "tgvgzp", com.azure.core.util.Context.NONE);
+ = manager.managedPrivateEndpoints().list("rfkspzhz", "tk", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("rkolawjm", response.iterator().next().privateLinkResourceId());
- Assertions.assertEquals("mwrokcdxfzzzwyja", response.iterator().next().privateLinkResourceRegion());
- Assertions.assertEquals("itlhguyn", response.iterator().next().groupId());
- Assertions.assertEquals("hlgmltxdwhmoz", response.iterator().next().requestMessage());
+ Assertions.assertEquals("cit", response.iterator().next().privateLinkResourceId());
+ Assertions.assertEquals("gsxcdgljplkeua", response.iterator().next().privateLinkResourceRegion());
+ Assertions.assertEquals("htomflrytswfp", response.iterator().next().groupId());
+ Assertions.assertEquals("dgycxnmskwhqjjy", response.iterator().next().requestMessage());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/MigrationClusterPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/MigrationClusterPropertiesTests.java
index 5ae9999d7e324..aafcb8cf68ed8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/MigrationClusterPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/MigrationClusterPropertiesTests.java
@@ -12,7 +12,7 @@ public final class MigrationClusterPropertiesTests {
public void testDeserialize() throws Exception {
MigrationClusterProperties model = BinaryData
.fromString(
- "{\"id\":\"fmppe\",\"uri\":\"vmgxsab\",\"dataIngestionUri\":\"qduujitcjczdz\",\"role\":\"Source\"}")
+ "{\"id\":\"ltmrldh\",\"uri\":\"jzzd\",\"dataIngestionUri\":\"qxhocdgeablgphut\",\"role\":\"Source\"}")
.toObject(MigrationClusterProperties.class);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationDisplayTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationDisplayTests.java
index ccef90eb8c238..a70a5eb08ace4 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationDisplayTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationDisplayTests.java
@@ -12,24 +12,24 @@ public final class OperationDisplayTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
OperationDisplay model = BinaryData.fromString(
- "{\"provider\":\"oqytibyowbblgy\",\"operation\":\"utp\",\"resource\":\"joxoism\",\"description\":\"sbpimlq\"}")
+ "{\"provider\":\"dilmyww\",\"operation\":\"gkxnyedabg\",\"resource\":\"udtjuewbc\",\"description\":\"xuuwhcj\"}")
.toObject(OperationDisplay.class);
- Assertions.assertEquals("oqytibyowbblgy", model.provider());
- Assertions.assertEquals("utp", model.operation());
- Assertions.assertEquals("joxoism", model.resource());
- Assertions.assertEquals("sbpimlq", model.description());
+ Assertions.assertEquals("dilmyww", model.provider());
+ Assertions.assertEquals("gkxnyedabg", model.operation());
+ Assertions.assertEquals("udtjuewbc", model.resource());
+ Assertions.assertEquals("xuuwhcj", model.description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- OperationDisplay model = new OperationDisplay().withProvider("oqytibyowbblgy")
- .withOperation("utp")
- .withResource("joxoism")
- .withDescription("sbpimlq");
+ OperationDisplay model = new OperationDisplay().withProvider("dilmyww")
+ .withOperation("gkxnyedabg")
+ .withResource("udtjuewbc")
+ .withDescription("xuuwhcj");
model = BinaryData.fromObject(model).toObject(OperationDisplay.class);
- Assertions.assertEquals("oqytibyowbblgy", model.provider());
- Assertions.assertEquals("utp", model.operation());
- Assertions.assertEquals("joxoism", model.resource());
- Assertions.assertEquals("sbpimlq", model.description());
+ Assertions.assertEquals("dilmyww", model.provider());
+ Assertions.assertEquals("gkxnyedabg", model.operation());
+ Assertions.assertEquals("udtjuewbc", model.resource());
+ Assertions.assertEquals("xuuwhcj", model.description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationInnerTests.java
index a2a1d61fa4f9d..2f3acd65ceb18 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationInnerTests.java
@@ -13,31 +13,31 @@ public final class OperationInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
OperationInner model = BinaryData.fromString(
- "{\"name\":\"vcyy\",\"display\":{\"provider\":\"gdotcubiipuipwo\",\"operation\":\"nmacj\",\"resource\":\"nizshqvcim\",\"description\":\"vfgmblrrilby\"},\"origin\":\"xsmiccwrwfscjf\",\"properties\":\"datanszqujiz\"}")
+ "{\"name\":\"katnwxyi\",\"display\":{\"provider\":\"dkqqfkuvscxkd\",\"operation\":\"igovi\",\"resource\":\"xk\",\"description\":\"loazuruocbgoo\"},\"origin\":\"te\",\"properties\":\"databfhjxakvvjgsl\"}")
.toObject(OperationInner.class);
- Assertions.assertEquals("vcyy", model.name());
- Assertions.assertEquals("gdotcubiipuipwo", model.display().provider());
- Assertions.assertEquals("nmacj", model.display().operation());
- Assertions.assertEquals("nizshqvcim", model.display().resource());
- Assertions.assertEquals("vfgmblrrilby", model.display().description());
- Assertions.assertEquals("xsmiccwrwfscjf", model.origin());
+ Assertions.assertEquals("katnwxyi", model.name());
+ Assertions.assertEquals("dkqqfkuvscxkd", model.display().provider());
+ Assertions.assertEquals("igovi", model.display().operation());
+ Assertions.assertEquals("xk", model.display().resource());
+ Assertions.assertEquals("loazuruocbgoo", model.display().description());
+ Assertions.assertEquals("te", model.origin());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- OperationInner model = new OperationInner().withName("vcyy")
- .withDisplay(new OperationDisplay().withProvider("gdotcubiipuipwo")
- .withOperation("nmacj")
- .withResource("nizshqvcim")
- .withDescription("vfgmblrrilby"))
- .withOrigin("xsmiccwrwfscjf")
- .withProperties("datanszqujiz");
+ OperationInner model = new OperationInner().withName("katnwxyi")
+ .withDisplay(new OperationDisplay().withProvider("dkqqfkuvscxkd")
+ .withOperation("igovi")
+ .withResource("xk")
+ .withDescription("loazuruocbgoo"))
+ .withOrigin("te")
+ .withProperties("databfhjxakvvjgsl");
model = BinaryData.fromObject(model).toObject(OperationInner.class);
- Assertions.assertEquals("vcyy", model.name());
- Assertions.assertEquals("gdotcubiipuipwo", model.display().provider());
- Assertions.assertEquals("nmacj", model.display().operation());
- Assertions.assertEquals("nizshqvcim", model.display().resource());
- Assertions.assertEquals("vfgmblrrilby", model.display().description());
- Assertions.assertEquals("xsmiccwrwfscjf", model.origin());
+ Assertions.assertEquals("katnwxyi", model.name());
+ Assertions.assertEquals("dkqqfkuvscxkd", model.display().provider());
+ Assertions.assertEquals("igovi", model.display().operation());
+ Assertions.assertEquals("xk", model.display().resource());
+ Assertions.assertEquals("loazuruocbgoo", model.display().description());
+ Assertions.assertEquals("te", model.origin());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationListResultTests.java
index bf52d79dc5fb8..371bc3b0acbdc 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationListResultTests.java
@@ -15,42 +15,49 @@ public final class OperationListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
OperationListResult model = BinaryData.fromString(
- "{\"value\":[{\"name\":\"bkwdlenrds\",\"display\":{\"provider\":\"jbazpjuohminy\",\"operation\":\"norwmduvwpklvx\",\"resource\":\"ygdxpgpqchis\",\"description\":\"pnnbjc\"},\"origin\":\"gibbdaxc\",\"properties\":\"datafozauorsuk\"},{\"name\":\"wbqpl\",\"display\":{\"provider\":\"nuuepzlrp\",\"operation\":\"zsoldwey\",\"resource\":\"dunvmnnrwrbiorkt\",\"description\":\"ywjhhgdnhx\"},\"origin\":\"ivfomiloxgg\",\"properties\":\"datafi\"}],\"nextLink\":\"dieuzaofj\"}")
+ "{\"value\":[{\"name\":\"cyyysfgdot\",\"display\":{\"provider\":\"iipuipwoqonm\",\"operation\":\"jeknizshq\",\"resource\":\"impevf\",\"description\":\"b\"},\"origin\":\"rilbywdx\",\"properties\":\"dataicc\"},{\"name\":\"wfscjfn\",\"display\":{\"provider\":\"zqujizdvoqytiby\",\"operation\":\"bblgyavut\",\"resource\":\"hjoxo\",\"description\":\"msksbp\"},\"origin\":\"lqol\",\"properties\":\"datakcgxxlxsffgcvi\"},{\"name\":\"zdwlvwlyoupfgfb\",\"display\":{\"provider\":\"bdyhgkfminsgowz\",\"operation\":\"tsttktlahbq\",\"resource\":\"tx\",\"description\":\"zukxitmmqtgqq\"},\"origin\":\"hrnxrxc\",\"properties\":\"datauisavokq\"}],\"nextLink\":\"fvazivjlfrqttba\"}")
.toObject(OperationListResult.class);
- Assertions.assertEquals("bkwdlenrds", model.value().get(0).name());
- Assertions.assertEquals("jbazpjuohminy", model.value().get(0).display().provider());
- Assertions.assertEquals("norwmduvwpklvx", model.value().get(0).display().operation());
- Assertions.assertEquals("ygdxpgpqchis", model.value().get(0).display().resource());
- Assertions.assertEquals("pnnbjc", model.value().get(0).display().description());
- Assertions.assertEquals("gibbdaxc", model.value().get(0).origin());
- Assertions.assertEquals("dieuzaofj", model.nextLink());
+ Assertions.assertEquals("cyyysfgdot", model.value().get(0).name());
+ Assertions.assertEquals("iipuipwoqonm", model.value().get(0).display().provider());
+ Assertions.assertEquals("jeknizshq", model.value().get(0).display().operation());
+ Assertions.assertEquals("impevf", model.value().get(0).display().resource());
+ Assertions.assertEquals("b", model.value().get(0).display().description());
+ Assertions.assertEquals("rilbywdx", model.value().get(0).origin());
+ Assertions.assertEquals("fvazivjlfrqttba", model.nextLink());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
OperationListResult model = new OperationListResult().withValue(Arrays.asList(
- new OperationInner().withName("bkwdlenrds")
- .withDisplay(new OperationDisplay().withProvider("jbazpjuohminy")
- .withOperation("norwmduvwpklvx")
- .withResource("ygdxpgpqchis")
- .withDescription("pnnbjc"))
- .withOrigin("gibbdaxc")
- .withProperties("datafozauorsuk"),
- new OperationInner().withName("wbqpl")
- .withDisplay(new OperationDisplay().withProvider("nuuepzlrp")
- .withOperation("zsoldwey")
- .withResource("dunvmnnrwrbiorkt")
- .withDescription("ywjhhgdnhx"))
- .withOrigin("ivfomiloxgg")
- .withProperties("datafi")))
- .withNextLink("dieuzaofj");
+ new OperationInner().withName("cyyysfgdot")
+ .withDisplay(new OperationDisplay().withProvider("iipuipwoqonm")
+ .withOperation("jeknizshq")
+ .withResource("impevf")
+ .withDescription("b"))
+ .withOrigin("rilbywdx")
+ .withProperties("dataicc"),
+ new OperationInner().withName("wfscjfn")
+ .withDisplay(new OperationDisplay().withProvider("zqujizdvoqytiby")
+ .withOperation("bblgyavut")
+ .withResource("hjoxo")
+ .withDescription("msksbp"))
+ .withOrigin("lqol")
+ .withProperties("datakcgxxlxsffgcvi"),
+ new OperationInner().withName("zdwlvwlyoupfgfb")
+ .withDisplay(new OperationDisplay().withProvider("bdyhgkfminsgowz")
+ .withOperation("tsttktlahbq")
+ .withResource("tx")
+ .withDescription("zukxitmmqtgqq"))
+ .withOrigin("hrnxrxc")
+ .withProperties("datauisavokq")))
+ .withNextLink("fvazivjlfrqttba");
model = BinaryData.fromObject(model).toObject(OperationListResult.class);
- Assertions.assertEquals("bkwdlenrds", model.value().get(0).name());
- Assertions.assertEquals("jbazpjuohminy", model.value().get(0).display().provider());
- Assertions.assertEquals("norwmduvwpklvx", model.value().get(0).display().operation());
- Assertions.assertEquals("ygdxpgpqchis", model.value().get(0).display().resource());
- Assertions.assertEquals("pnnbjc", model.value().get(0).display().description());
- Assertions.assertEquals("gibbdaxc", model.value().get(0).origin());
- Assertions.assertEquals("dieuzaofj", model.nextLink());
+ Assertions.assertEquals("cyyysfgdot", model.value().get(0).name());
+ Assertions.assertEquals("iipuipwoqonm", model.value().get(0).display().provider());
+ Assertions.assertEquals("jeknizshq", model.value().get(0).display().operation());
+ Assertions.assertEquals("impevf", model.value().get(0).display().resource());
+ Assertions.assertEquals("b", model.value().get(0).display().description());
+ Assertions.assertEquals("rilbywdx", model.value().get(0).origin());
+ Assertions.assertEquals("fvazivjlfrqttba", model.nextLink());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationResultPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationResultPropertiesTests.java
index 61a6261b7be5a..0b0243c7bf7a8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationResultPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationResultPropertiesTests.java
@@ -11,19 +11,20 @@
public final class OperationResultPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- OperationResultProperties model = BinaryData.fromString(
- "{\"operationKind\":\"zfttsttktlahb\",\"provisioningState\":\"Creating\",\"operationState\":\"xtgzukxitmmqtgqq\"}")
+ OperationResultProperties model = BinaryData
+ .fromString(
+ "{\"operationKind\":\"abwidfcxsspuun\",\"provisioningState\":\"Failed\",\"operationState\":\"hkx\"}")
.toObject(OperationResultProperties.class);
- Assertions.assertEquals("zfttsttktlahb", model.operationKind());
- Assertions.assertEquals("xtgzukxitmmqtgqq", model.operationState());
+ Assertions.assertEquals("abwidfcxsspuun", model.operationKind());
+ Assertions.assertEquals("hkx", model.operationState());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
OperationResultProperties model
- = new OperationResultProperties().withOperationKind("zfttsttktlahb").withOperationState("xtgzukxitmmqtgqq");
+ = new OperationResultProperties().withOperationKind("abwidfcxsspuun").withOperationState("hkx");
model = BinaryData.fromObject(model).toObject(OperationResultProperties.class);
- Assertions.assertEquals("zfttsttktlahb", model.operationKind());
- Assertions.assertEquals("xtgzukxitmmqtgqq", model.operationState());
+ Assertions.assertEquals("abwidfcxsspuun", model.operationKind());
+ Assertions.assertEquals("hkx", model.operationState());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsListMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsListMockTests.java
index 01f4caa6d343b..97aa831f8fbac 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsListMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsListMockTests.java
@@ -22,7 +22,7 @@ public final class OperationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"rkphyjdxr\",\"display\":{\"provider\":\"uqd\",\"operation\":\"xmrgchbapxkiy\",\"resource\":\"j\",\"description\":\"ajb\"},\"origin\":\"cgduusio\",\"properties\":\"datablevpmcluj\"}]}";
+ = "{\"value\":[{\"name\":\"shwddkvbxgk\",\"display\":{\"provider\":\"ybwptda\",\"operation\":\"rvv\",\"resource\":\"ntymtpoiwenazero\",\"description\":\"rs\"},\"origin\":\"lsxkd\",\"properties\":\"dataqapfgsdpc\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,11 +33,11 @@ public void testList() throws Exception {
PagedIterable response = manager.operations().list(com.azure.core.util.Context.NONE);
- Assertions.assertEquals("rkphyjdxr", response.iterator().next().name());
- Assertions.assertEquals("uqd", response.iterator().next().display().provider());
- Assertions.assertEquals("xmrgchbapxkiy", response.iterator().next().display().operation());
- Assertions.assertEquals("j", response.iterator().next().display().resource());
- Assertions.assertEquals("ajb", response.iterator().next().display().description());
- Assertions.assertEquals("cgduusio", response.iterator().next().origin());
+ Assertions.assertEquals("shwddkvbxgk", response.iterator().next().name());
+ Assertions.assertEquals("ybwptda", response.iterator().next().display().provider());
+ Assertions.assertEquals("rvv", response.iterator().next().display().operation());
+ Assertions.assertEquals("ntymtpoiwenazero", response.iterator().next().display().resource());
+ Assertions.assertEquals("rs", response.iterator().next().display().description());
+ Assertions.assertEquals("lsxkd", response.iterator().next().origin());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationsGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationsGetWithResponseMockTests.java
index a787272e3a041..df345ff236025 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationsGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OperationsResultsLocationsGetWithResponseMockTests.java
@@ -27,7 +27,7 @@ public void testGetWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.operationsResultsLocations().getWithResponse("hvyeldotj", "dkwisw", com.azure.core.util.Context.NONE);
+ manager.operationsResultsLocations().getWithResponse("eimipskd", "zatvfuzka", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointInnerTests.java
index 59727207ec262..85cfb4e1bbcf0 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointInnerTests.java
@@ -15,32 +15,36 @@ public final class OutboundNetworkDependenciesEndpointInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
OutboundNetworkDependenciesEndpointInner model = BinaryData.fromString(
- "{\"properties\":{\"category\":\"o\",\"endpoints\":[{\"domainName\":\"jk\",\"endpointDetails\":[{\"port\":1604322971,\"ipAddress\":\"uwqlgzrfzeey\"},{\"port\":32622439,\"ipAddress\":\"ikayuhqlbjbsybb\"}]},{\"domainName\":\"r\",\"endpointDetails\":[{\"port\":1918019278,\"ipAddress\":\"fp\"},{\"port\":1408041355,\"ipAddress\":\"ipaslthaqfxssmwu\"},{\"port\":1363759065,\"ipAddress\":\"srezp\"}]}],\"provisioningState\":\"Creating\"},\"etag\":\"euyowqkd\",\"id\":\"ytisibir\",\"name\":\"gpikpzimejza\",\"type\":\"lfzxiavrmbzonoki\"}")
+ "{\"properties\":{\"category\":\"pcnp\",\"endpoints\":[{\"domainName\":\"a\",\"endpointDetails\":[{\"port\":171079627,\"ipAddress\":\"ccyajg\"}]},{\"domainName\":\"fhwygzlvdnkfxus\",\"endpointDetails\":[{\"port\":1095077901,\"ipAddress\":\"muhapfcqdpsqxqv\"},{\"port\":1014865004,\"ipAddress\":\"oymgccelvezr\"}]},{\"domainName\":\"qlmfeoker\",\"endpointDetails\":[{\"port\":553153301,\"ipAddress\":\"ob\"},{\"port\":1642208339,\"ipAddress\":\"edkowepbqpcrfk\"},{\"port\":1217910065,\"ipAddress\":\"snjvcdwxlpqekftn\"}]}],\"provisioningState\":\"Failed\"},\"etag\":\"syingwfqatmtdht\",\"id\":\"dvypgikdgsz\",\"name\":\"w\",\"type\":\"birryuzhl\"}")
.toObject(OutboundNetworkDependenciesEndpointInner.class);
- Assertions.assertEquals("o", model.category());
- Assertions.assertEquals("jk", model.endpoints().get(0).domainName());
- Assertions.assertEquals(1604322971, model.endpoints().get(0).endpointDetails().get(0).port());
- Assertions.assertEquals("uwqlgzrfzeey", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
+ Assertions.assertEquals("pcnp", model.category());
+ Assertions.assertEquals("a", model.endpoints().get(0).domainName());
+ Assertions.assertEquals(171079627, model.endpoints().get(0).endpointDetails().get(0).port());
+ Assertions.assertEquals("ccyajg", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
OutboundNetworkDependenciesEndpointInner model
- = new OutboundNetworkDependenciesEndpointInner().withCategory("o")
- .withEndpoints(Arrays.asList(
- new EndpointDependency().withDomainName("jk")
- .withEndpointDetails(Arrays.asList(
- new EndpointDetail().withPort(1604322971).withIpAddress("uwqlgzrfzeey"),
- new EndpointDetail().withPort(32622439).withIpAddress("ikayuhqlbjbsybb"))),
- new EndpointDependency().withDomainName("r")
- .withEndpointDetails(
- Arrays.asList(new EndpointDetail().withPort(1918019278).withIpAddress("fp"),
- new EndpointDetail().withPort(1408041355).withIpAddress("ipaslthaqfxssmwu"),
- new EndpointDetail().withPort(1363759065).withIpAddress("srezp")))));
+ = new OutboundNetworkDependenciesEndpointInner().withCategory("pcnp")
+ .withEndpoints(
+ Arrays.asList(
+ new EndpointDependency().withDomainName("a")
+ .withEndpointDetails(
+ Arrays.asList(new EndpointDetail().withPort(171079627).withIpAddress("ccyajg"))),
+ new EndpointDependency().withDomainName("fhwygzlvdnkfxus")
+ .withEndpointDetails(Arrays.asList(
+ new EndpointDetail().withPort(1095077901).withIpAddress("muhapfcqdpsqxqv"),
+ new EndpointDetail().withPort(1014865004).withIpAddress("oymgccelvezr"))),
+ new EndpointDependency().withDomainName("qlmfeoker")
+ .withEndpointDetails(
+ Arrays.asList(new EndpointDetail().withPort(553153301).withIpAddress("ob"),
+ new EndpointDetail().withPort(1642208339).withIpAddress("edkowepbqpcrfk"),
+ new EndpointDetail().withPort(1217910065).withIpAddress("snjvcdwxlpqekftn")))));
model = BinaryData.fromObject(model).toObject(OutboundNetworkDependenciesEndpointInner.class);
- Assertions.assertEquals("o", model.category());
- Assertions.assertEquals("jk", model.endpoints().get(0).domainName());
- Assertions.assertEquals(1604322971, model.endpoints().get(0).endpointDetails().get(0).port());
- Assertions.assertEquals("uwqlgzrfzeey", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
+ Assertions.assertEquals("pcnp", model.category());
+ Assertions.assertEquals("a", model.endpoints().get(0).domainName());
+ Assertions.assertEquals(171079627, model.endpoints().get(0).endpointDetails().get(0).port());
+ Assertions.assertEquals("ccyajg", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointListResultTests.java
index 57000a1f8620b..6b74dd74c6b95 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointListResultTests.java
@@ -16,28 +16,27 @@ public final class OutboundNetworkDependenciesEndpointListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
OutboundNetworkDependenciesEndpointListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"category\":\"fvpdbo\",\"endpoints\":[{\"domainName\":\"zsjqlh\",\"endpointDetails\":[{}]},{\"domainName\":\"bdeibqipqk\",\"endpointDetails\":[{},{}]},{\"domainName\":\"ndzwmkrefa\",\"endpointDetails\":[{},{},{},{}]},{\"domainName\":\"rwkq\",\"endpointDetails\":[{},{}]}],\"provisioningState\":\"Moving\"},\"etag\":\"j\",\"id\":\"jivfxzsjabib\",\"name\":\"ystawfsdjpvkvp\",\"type\":\"jxbkzbzkdvn\"}],\"nextLink\":\"abudurgk\"}")
+ "{\"value\":[{\"properties\":{\"category\":\"kwpjgwwspughftqs\",\"endpoints\":[{\"domainName\":\"ujxukndxd\",\"endpointDetails\":[{},{},{},{}]},{\"domainName\":\"guufzd\",\"endpointDetails\":[{},{}]},{\"domainName\":\"tfih\",\"endpointDetails\":[{},{},{},{}]}],\"provisioningState\":\"Canceled\"},\"etag\":\"ingamvp\",\"id\":\"ho\",\"name\":\"zqzudph\",\"type\":\"amvdkfwynwcvtbv\"}],\"nextLink\":\"yhmtnvyqiat\"}")
.toObject(OutboundNetworkDependenciesEndpointListResult.class);
- Assertions.assertEquals("fvpdbo", model.value().get(0).category());
- Assertions.assertEquals("zsjqlh", model.value().get(0).endpoints().get(0).domainName());
+ Assertions.assertEquals("kwpjgwwspughftqs", model.value().get(0).category());
+ Assertions.assertEquals("ujxukndxd", model.value().get(0).endpoints().get(0).domainName());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
OutboundNetworkDependenciesEndpointListResult model = new OutboundNetworkDependenciesEndpointListResult()
- .withValue(Arrays.asList(new OutboundNetworkDependenciesEndpointInner().withCategory("fvpdbo")
+ .withValue(Arrays.asList(new OutboundNetworkDependenciesEndpointInner().withCategory("kwpjgwwspughftqs")
.withEndpoints(Arrays.asList(
- new EndpointDependency().withDomainName("zsjqlh")
- .withEndpointDetails(Arrays.asList(new EndpointDetail())),
- new EndpointDependency().withDomainName("bdeibqipqk")
- .withEndpointDetails(Arrays.asList(new EndpointDetail(), new EndpointDetail())),
- new EndpointDependency().withDomainName("ndzwmkrefa")
+ new EndpointDependency().withDomainName("ujxukndxd")
.withEndpointDetails(Arrays.asList(new EndpointDetail(), new EndpointDetail(),
new EndpointDetail(), new EndpointDetail())),
- new EndpointDependency().withDomainName("rwkq")
- .withEndpointDetails(Arrays.asList(new EndpointDetail(), new EndpointDetail()))))));
+ new EndpointDependency().withDomainName("guufzd")
+ .withEndpointDetails(Arrays.asList(new EndpointDetail(), new EndpointDetail())),
+ new EndpointDependency().withDomainName("tfih")
+ .withEndpointDetails(Arrays.asList(new EndpointDetail(), new EndpointDetail(),
+ new EndpointDetail(), new EndpointDetail()))))));
model = BinaryData.fromObject(model).toObject(OutboundNetworkDependenciesEndpointListResult.class);
- Assertions.assertEquals("fvpdbo", model.value().get(0).category());
- Assertions.assertEquals("zsjqlh", model.value().get(0).endpoints().get(0).domainName());
+ Assertions.assertEquals("kwpjgwwspughftqs", model.value().get(0).category());
+ Assertions.assertEquals("ujxukndxd", model.value().get(0).endpoints().get(0).domainName());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointPropertiesTests.java
index 0589aa6e46d5b..f2d4d48e5f1a2 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/OutboundNetworkDependenciesEndpointPropertiesTests.java
@@ -15,25 +15,27 @@ public final class OutboundNetworkDependenciesEndpointPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
OutboundNetworkDependenciesEndpointProperties model = BinaryData.fromString(
- "{\"category\":\"jq\",\"endpoints\":[{\"domainName\":\"zpfrla\",\"endpointDetails\":[{\"port\":1822187571,\"ipAddress\":\"oiindfpwpjy\"}]}],\"provisioningState\":\"Moving\"}")
+ "{\"category\":\"joqrvqqaatj\",\"endpoints\":[{\"domainName\":\"goupmfiibfg\",\"endpointDetails\":[{\"port\":1249202476,\"ipAddress\":\"vrwxkv\"},{\"port\":46928565,\"ipAddress\":\"llqwjygvjayvblmh\"},{\"port\":1458242132,\"ipAddress\":\"hbxvvyhgsopbyrqu\"},{\"port\":175567556,\"ipAddress\":\"uvwzfbnh\"}]}],\"provisioningState\":\"Canceled\"}")
.toObject(OutboundNetworkDependenciesEndpointProperties.class);
- Assertions.assertEquals("jq", model.category());
- Assertions.assertEquals("zpfrla", model.endpoints().get(0).domainName());
- Assertions.assertEquals(1822187571, model.endpoints().get(0).endpointDetails().get(0).port());
- Assertions.assertEquals("oiindfpwpjy", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
+ Assertions.assertEquals("joqrvqqaatj", model.category());
+ Assertions.assertEquals("goupmfiibfg", model.endpoints().get(0).domainName());
+ Assertions.assertEquals(1249202476, model.endpoints().get(0).endpointDetails().get(0).port());
+ Assertions.assertEquals("vrwxkv", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- OutboundNetworkDependenciesEndpointProperties model
- = new OutboundNetworkDependenciesEndpointProperties().withCategory("jq")
- .withEndpoints(Arrays.asList(new EndpointDependency().withDomainName("zpfrla")
- .withEndpointDetails(
- Arrays.asList(new EndpointDetail().withPort(1822187571).withIpAddress("oiindfpwpjy")))));
+ OutboundNetworkDependenciesEndpointProperties model = new OutboundNetworkDependenciesEndpointProperties()
+ .withCategory("joqrvqqaatj")
+ .withEndpoints(Arrays.asList(new EndpointDependency().withDomainName("goupmfiibfg")
+ .withEndpointDetails(Arrays.asList(new EndpointDetail().withPort(1249202476).withIpAddress("vrwxkv"),
+ new EndpointDetail().withPort(46928565).withIpAddress("llqwjygvjayvblmh"),
+ new EndpointDetail().withPort(1458242132).withIpAddress("hbxvvyhgsopbyrqu"),
+ new EndpointDetail().withPort(175567556).withIpAddress("uvwzfbnh")))));
model = BinaryData.fromObject(model).toObject(OutboundNetworkDependenciesEndpointProperties.class);
- Assertions.assertEquals("jq", model.category());
- Assertions.assertEquals("zpfrla", model.endpoints().get(0).domainName());
- Assertions.assertEquals(1822187571, model.endpoints().get(0).endpointDetails().get(0).port());
- Assertions.assertEquals("oiindfpwpjy", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
+ Assertions.assertEquals("joqrvqqaatj", model.category());
+ Assertions.assertEquals("goupmfiibfg", model.endpoints().get(0).domainName());
+ Assertions.assertEquals(1249202476, model.endpoints().get(0).endpointDetails().get(0).port());
+ Assertions.assertEquals("vrwxkv", model.endpoints().get(0).endpointDetails().get(0).ipAddress());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionInnerTests.java
index b549a5db18421..ae9823190aad1 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionInnerTests.java
@@ -13,19 +13,20 @@ public final class PrivateEndpointConnectionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateEndpointConnectionInner model = BinaryData.fromString(
- "{\"properties\":{\"privateEndpoint\":{\"id\":\"ayhuy\"},\"privateLinkServiceConnectionState\":{\"status\":\"kpode\",\"description\":\"oginuvamiheognar\",\"actionsRequired\":\"xth\"},\"groupId\":\"tusivyevcciqihn\",\"provisioningState\":\"ngbwjz\"},\"id\":\"fygxgispemvtzfk\",\"name\":\"fublj\",\"type\":\"fxqeof\"}")
+ "{\"properties\":{\"privateEndpoint\":{\"id\":\"arxzxtheot\"},\"privateLinkServiceConnectionState\":{\"status\":\"ivyevcciqihnhun\",\"description\":\"wjzrnfygxgisp\",\"actionsRequired\":\"vtz\"},\"groupId\":\"ufubl\",\"provisioningState\":\"fxqeof\"},\"id\":\"e\",\"name\":\"jhqjbasvmsmjqul\",\"type\":\"gsntnbybkzgcwr\"}")
.toObject(PrivateEndpointConnectionInner.class);
- Assertions.assertEquals("kpode", model.privateLinkServiceConnectionState().status());
- Assertions.assertEquals("oginuvamiheognar", model.privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("ivyevcciqihnhun", model.privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("wjzrnfygxgisp", model.privateLinkServiceConnectionState().description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- PrivateEndpointConnectionInner model = new PrivateEndpointConnectionInner()
- .withPrivateLinkServiceConnectionState(new PrivateLinkServiceConnectionStateProperty().withStatus("kpode")
- .withDescription("oginuvamiheognar"));
+ PrivateEndpointConnectionInner model
+ = new PrivateEndpointConnectionInner().withPrivateLinkServiceConnectionState(
+ new PrivateLinkServiceConnectionStateProperty().withStatus("ivyevcciqihnhun")
+ .withDescription("wjzrnfygxgisp"));
model = BinaryData.fromObject(model).toObject(PrivateEndpointConnectionInner.class);
- Assertions.assertEquals("kpode", model.privateLinkServiceConnectionState().status());
- Assertions.assertEquals("oginuvamiheognar", model.privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("ivyevcciqihnhun", model.privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("wjzrnfygxgisp", model.privateLinkServiceConnectionState().description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionListResultTests.java
index f8f7cec5e3be8..39e231454b30c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionListResultTests.java
@@ -15,27 +15,25 @@ public final class PrivateEndpointConnectionListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateEndpointConnectionListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"privateEndpoint\":{\"id\":\"oa\"},\"privateLinkServiceConnectionState\":{\"status\":\"kniod\",\"description\":\"oebwnujhemms\",\"actionsRequired\":\"dkcrodt\"},\"groupId\":\"nfwjlfltkacjvefk\",\"provisioningState\":\"foakgg\"},\"id\":\"pagao\",\"name\":\"pulpqblylsyxk\",\"type\":\"jnsjervtiagxsd\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"mpsbzkfzbeyv\"},\"privateLinkServiceConnectionState\":{\"status\":\"qi\",\"description\":\"invkjjxdxrbuu\",\"actionsRequired\":\"clewyhm\"},\"groupId\":\"paztzpofncck\",\"provisioningState\":\"fz\"},\"id\":\"hxx\",\"name\":\"uyqaxzfeqztppr\",\"type\":\"o\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"jaltolmnc\"},\"privateLinkServiceConnectionState\":{\"status\":\"obqwcsdbnwdcfh\",\"description\":\"qdpfuvglsbjjca\",\"actionsRequired\":\"xbvtvudu\"},\"groupId\":\"cormr\",\"provisioningState\":\"qtvcofudflvkgj\"},\"id\":\"gdknnqv\",\"name\":\"aznqntoru\",\"type\":\"sgsahmkycgr\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"uetae\"},\"privateLinkServiceConnectionState\":{\"status\":\"ruvdmov\",\"description\":\"zlxwabmqoefkifr\",\"actionsRequired\":\"puqujmqlgkfbtn\"},\"groupId\":\"aongbj\",\"provisioningState\":\"tujitcjedft\"},\"id\":\"ae\",\"name\":\"kojvd\",\"type\":\"pzfoqoui\"}]}")
+ "{\"value\":[{\"properties\":{\"privateEndpoint\":{\"id\":\"dcygqukyhejhz\"},\"privateLinkServiceConnectionState\":{\"status\":\"xgfpelolppv\",\"description\":\"r\",\"actionsRequired\":\"vu\"},\"groupId\":\"raehtwdwrft\",\"provisioningState\":\"iby\"},\"id\":\"dl\",\"name\":\"h\",\"type\":\"hfwpracstwit\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"vxccedcp\"},\"privateLinkServiceConnectionState\":{\"status\":\"dyodnwzxltj\",\"description\":\"nhltiugcxn\",\"actionsRequired\":\"vwxqibyqunyo\"},\"groupId\":\"wlmdjrkv\",\"provisioningState\":\"bvfvpdbod\"},\"id\":\"izsjqlhkrr\",\"name\":\"bdeibqipqk\",\"type\":\"hvxndzwmkrefajpj\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"qnyhgb\"},\"privateLinkServiceConnectionState\":{\"status\":\"tjivfxzsjabib\",\"description\":\"stawfsdjpvkv\",\"actionsRequired\":\"jxbkzbzkdvn\"},\"groupId\":\"abudurgk\",\"provisioningState\":\"mokzhjjklf\"},\"id\":\"mouwqlgzrfzeey\",\"name\":\"bizikayuhq\",\"type\":\"bjbsybb\"}]}")
.toObject(PrivateEndpointConnectionListResult.class);
- Assertions.assertEquals("kniod", model.value().get(0).privateLinkServiceConnectionState().status());
- Assertions.assertEquals("oebwnujhemms", model.value().get(0).privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("xgfpelolppv", model.value().get(0).privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("r", model.value().get(0).privateLinkServiceConnectionState().description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
PrivateEndpointConnectionListResult model = new PrivateEndpointConnectionListResult().withValue(Arrays.asList(
new PrivateEndpointConnectionInner().withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionStateProperty().withStatus("kniod").withDescription("oebwnujhemms")),
+ new PrivateLinkServiceConnectionStateProperty().withStatus("xgfpelolppv").withDescription("r")),
new PrivateEndpointConnectionInner().withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionStateProperty().withStatus("qi").withDescription("invkjjxdxrbuu")),
+ new PrivateLinkServiceConnectionStateProperty().withStatus("dyodnwzxltj")
+ .withDescription("nhltiugcxn")),
new PrivateEndpointConnectionInner().withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionStateProperty().withStatus("obqwcsdbnwdcfh")
- .withDescription("qdpfuvglsbjjca")),
- new PrivateEndpointConnectionInner().withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionStateProperty().withStatus("ruvdmov")
- .withDescription("zlxwabmqoefkifr"))));
+ new PrivateLinkServiceConnectionStateProperty().withStatus("tjivfxzsjabib")
+ .withDescription("stawfsdjpvkv"))));
model = BinaryData.fromObject(model).toObject(PrivateEndpointConnectionListResult.class);
- Assertions.assertEquals("kniod", model.value().get(0).privateLinkServiceConnectionState().status());
- Assertions.assertEquals("oebwnujhemms", model.value().get(0).privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("xgfpelolppv", model.value().get(0).privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("r", model.value().get(0).privateLinkServiceConnectionState().description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionPropertiesTests.java
index fc936fb89ad93..dad5b025ab10e 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionPropertiesTests.java
@@ -13,19 +13,19 @@ public final class PrivateEndpointConnectionPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateEndpointConnectionProperties model = BinaryData.fromString(
- "{\"privateEndpoint\":{\"id\":\"qjhqjbas\"},\"privateLinkServiceConnectionState\":{\"status\":\"smjqulngsntnbyb\",\"description\":\"gc\",\"actionsRequired\":\"wclxxwrl\"},\"groupId\":\"ouskcqvkocrc\",\"provisioningState\":\"kwt\"}")
+ "{\"privateEndpoint\":{\"id\":\"xxwr\"},\"privateLinkServiceConnectionState\":{\"status\":\"douskcqvkocrcjdk\",\"description\":\"nh\",\"actionsRequired\":\"njbiksqrglssain\"},\"groupId\":\"jwnzlljfmp\",\"provisioningState\":\"ebvmgxsabkyqd\"}")
.toObject(PrivateEndpointConnectionProperties.class);
- Assertions.assertEquals("smjqulngsntnbyb", model.privateLinkServiceConnectionState().status());
- Assertions.assertEquals("gc", model.privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("douskcqvkocrcjdk", model.privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("nh", model.privateLinkServiceConnectionState().description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
PrivateEndpointConnectionProperties model
= new PrivateEndpointConnectionProperties().withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionStateProperty().withStatus("smjqulngsntnbyb").withDescription("gc"));
+ new PrivateLinkServiceConnectionStateProperty().withStatus("douskcqvkocrcjdk").withDescription("nh"));
model = BinaryData.fromObject(model).toObject(PrivateEndpointConnectionProperties.class);
- Assertions.assertEquals("smjqulngsntnbyb", model.privateLinkServiceConnectionState().status());
- Assertions.assertEquals("gc", model.privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("douskcqvkocrcjdk", model.privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("nh", model.privateLinkServiceConnectionState().description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java
index 713269fdc2f27..21f309c0c5e02 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java
@@ -22,7 +22,7 @@ public final class PrivateEndpointConnectionsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"privateEndpoint\":{\"id\":\"rweft\"},\"privateLinkServiceConnectionState\":{\"status\":\"qejpmvssehaepwa\",\"description\":\"xtczhupeuknijd\",\"actionsRequired\":\"yespydjfbocyv\"},\"groupId\":\"ulrtywikdmh\",\"provisioningState\":\"Succeeded\"},\"id\":\"uacdixmxuf\",\"name\":\"sryjqgdkfno\",\"type\":\"oeoq\"}";
+ = "{\"properties\":{\"privateEndpoint\":{\"id\":\"gxyivpinbmh\"},\"privateLinkServiceConnectionState\":{\"status\":\"jijkgqxnhmbke\",\"description\":\"jauj\",\"actionsRequired\":\"annggiy\"},\"groupId\":\"kdtaaw\",\"provisioningState\":\"Succeeded\"},\"id\":\"umrrqmbzm\",\"name\":\"kratbnxwbj\",\"type\":\"idbirkfpkso\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,13 +32,13 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PrivateEndpointConnection response = manager.privateEndpointConnections()
- .define("ecmslclbl")
- .withExistingCluster("uovmaonurjt", "mghihp")
+ .define("ukkutvl")
+ .withExistingCluster("yskbruff", "l")
.withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionStateProperty().withStatus("gctmgxuupbezq").withDescription("ydrtc"))
+ new PrivateLinkServiceConnectionStateProperty().withStatus("hbcdsziry").withDescription("ndo"))
.create();
- Assertions.assertEquals("qejpmvssehaepwa", response.privateLinkServiceConnectionState().status());
- Assertions.assertEquals("xtczhupeuknijd", response.privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("jijkgqxnhmbke", response.privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("jauj", response.privateLinkServiceConnectionState().description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteMockTests.java
index c694ca56a8284..6ae02f1816e45 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsDeleteMockTests.java
@@ -28,7 +28,7 @@ public void testDelete() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
manager.privateEndpointConnections()
- .delete("etnjuhpsprkz", "aupia", "cxnafbwqrooh", com.azure.core.util.Context.NONE);
+ .delete("knyuxgvttxpn", "upzaamrdixtre", "ids", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java
index 5220465ba9017..46340318efc82 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class PrivateEndpointConnectionsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"privateEndpoint\":{\"id\":\"yctww\"},\"privateLinkServiceConnectionState\":{\"status\":\"wxjlmec\",\"description\":\"gygzyvn\",\"actionsRequired\":\"zaifghtmoqqtlff\"},\"groupId\":\"bkrkjj\",\"provisioningState\":\"vfqnvhnqoewdo\"},\"id\":\"yetesy\",\"name\":\"vidbztjhqtfb\",\"type\":\"vnynkb\"}";
+ = "{\"properties\":{\"privateEndpoint\":{\"id\":\"mqkyojwyvfkmbts\"},\"privateLinkServiceConnectionState\":{\"status\":\"hxsgxj\",\"description\":\"mzrrscubiwsdrn\",\"actionsRequired\":\"qwodiffjx\"},\"groupId\":\"rmmuabwibvjo\",\"provisioningState\":\"onmcyefoyzb\"},\"id\":\"wine\",\"name\":\"fvfkak\",\"type\":\"oldtvevboclzhz\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,10 +31,10 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PrivateEndpointConnection response = manager.privateEndpointConnections()
- .getWithResponse("hiqfyuttdiy", "b", "vnwsw", com.azure.core.util.Context.NONE)
+ .getWithResponse("vjhvefgwbm", "jchnta", "faymxbulpz", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("wxjlmec", response.privateLinkServiceConnectionState().status());
- Assertions.assertEquals("gygzyvn", response.privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("hxsgxj", response.privateLinkServiceConnectionState().status());
+ Assertions.assertEquals("mzrrscubiwsdrn", response.privateLinkServiceConnectionState().description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListMockTests.java
index 703548f641103..c65f1a0b9703f 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointConnectionsListMockTests.java
@@ -22,7 +22,7 @@ public final class PrivateEndpointConnectionsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"privateEndpoint\":{\"id\":\"wvqsgny\"},\"privateLinkServiceConnectionState\":{\"status\":\"uzivensrpmeyyvp\",\"description\":\"atlb\",\"actionsRequired\":\"pzgsk\"},\"groupId\":\"fhfv\",\"provisioningState\":\"mknbnxwcdommpv\"},\"id\":\"awz\",\"name\":\"gbrt\",\"type\":\"uiaclkiexhajlfn\"}]}";
+ = "{\"value\":[{\"properties\":{\"privateEndpoint\":{\"id\":\"ehaepwamcxtc\"},\"privateLinkServiceConnectionState\":{\"status\":\"upeuknijduyye\",\"description\":\"ydjfb\",\"actionsRequired\":\"yv\"},\"groupId\":\"ulrtywikdmh\",\"provisioningState\":\"kuflgbh\"},\"id\":\"uacdixmxuf\",\"name\":\"sryjqgdkfno\",\"type\":\"oeoq\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,10 +32,10 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response
- = manager.privateEndpointConnections().list("ma", "lpdwwexymzvlazi", com.azure.core.util.Context.NONE);
+ = manager.privateEndpointConnections().list("stacsjvhrweftkwq", "jp", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("uzivensrpmeyyvp",
+ Assertions.assertEquals("upeuknijduyye",
response.iterator().next().privateLinkServiceConnectionState().status());
- Assertions.assertEquals("atlb", response.iterator().next().privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("ydjfb", response.iterator().next().privateLinkServiceConnectionState().description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointPropertyTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointPropertyTests.java
index c7b4974a2a184..dcb095974c124 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointPropertyTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateEndpointPropertyTests.java
@@ -11,7 +11,7 @@ public final class PrivateEndpointPropertyTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateEndpointProperty model
- = BinaryData.fromString("{\"id\":\"xbnjbiksq\"}").toObject(PrivateEndpointProperty.class);
+ = BinaryData.fromString("{\"id\":\"jitcjczdzevn\"}").toObject(PrivateEndpointProperty.class);
}
@org.junit.jupiter.api.Test
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceInnerTests.java
index f03241a51d5f1..145356ecbbbdc 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceInnerTests.java
@@ -11,7 +11,7 @@ public final class PrivateLinkResourceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateLinkResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"groupId\":\"xgfpelolppv\",\"requiredMembers\":[\"pqvujzraehtwdwrf\"],\"requiredZoneNames\":[\"iby\"]},\"id\":\"dl\",\"name\":\"h\",\"type\":\"hfwpracstwit\"}")
+ "{\"properties\":{\"groupId\":\"zimejzanlfzx\",\"requiredMembers\":[\"rmbzo\",\"okixrjqcir\"],\"requiredZoneNames\":[\"frl\",\"zszrnwoiindfpw\"]},\"id\":\"ylwbtlhflsjcdhsz\",\"name\":\"jvfbgofelja\",\"type\":\"rqmq\"}")
.toObject(PrivateLinkResourceInner.class);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceListResultTests.java
index f8e7bd0aee0cd..7d20eb7cf4ea3 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourceListResultTests.java
@@ -13,15 +13,14 @@ public final class PrivateLinkResourceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateLinkResourceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"groupId\":\"rzgszufoxci\",\"requiredMembers\":[\"idoamciodhkha\"],\"requiredZoneNames\":[\"hnzbonl\",\"ntoe\",\"okdwb\"]},\"id\":\"kszzcmrvexztv\",\"name\":\"t\",\"type\":\"gsfraoyzkoow\"},{\"properties\":{\"groupId\":\"nguxawqaldsy\",\"requiredMembers\":[\"imerqfobwyznk\",\"ykutwpf\",\"pagmhrskdsnf\",\"sd\"],\"requiredZoneNames\":[\"gtdlmk\",\"zev\",\"l\"]},\"id\":\"wpusdsttwvogv\",\"name\":\"bejdcn\",\"type\":\"qqmoaku\"},{\"properties\":{\"groupId\":\"jzrwrdgrtw\",\"requiredMembers\":[\"u\",\"zkopb\",\"inrfdwoyu\"],\"requiredZoneNames\":[\"iuiefozbhdmsm\",\"mzqhoftrmaequi\",\"hxicslfaoqz\"]},\"id\":\"yylhalnswhccsp\",\"name\":\"kaivwit\",\"type\":\"scywuggwoluhc\"},{\"properties\":{\"groupId\":\"emh\",\"requiredMembers\":[\"sbrgz\",\"wmsweypqwd\",\"ggicccnxqhue\"],\"requiredZoneNames\":[\"ttlstvlzywemhz\"]},\"id\":\"csdtclusiypbs\",\"name\":\"gytguslfead\",\"type\":\"ygqukyhejh\"}]}")
+ "{\"value\":[{\"properties\":{\"groupId\":\"ldgmfpgvmpip\",\"requiredMembers\":[\"thaqfxssmwu\"],\"requiredZoneNames\":[\"dsrezpdrhneuyow\",\"kdw\"]},\"id\":\"i\",\"name\":\"ib\",\"type\":\"rcgp\"}]}")
.toObject(PrivateLinkResourceListResult.class);
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
PrivateLinkResourceListResult model
- = new PrivateLinkResourceListResult().withValue(Arrays.asList(new PrivateLinkResourceInner(),
- new PrivateLinkResourceInner(), new PrivateLinkResourceInner(), new PrivateLinkResourceInner()));
+ = new PrivateLinkResourceListResult().withValue(Arrays.asList(new PrivateLinkResourceInner()));
model = BinaryData.fromObject(model).toObject(PrivateLinkResourceListResult.class);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcePropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcePropertiesTests.java
index 9a5b11532788d..3bcc9f236c693 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcePropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcePropertiesTests.java
@@ -11,7 +11,7 @@ public final class PrivateLinkResourcePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateLinkResourceProperties model = BinaryData.fromString(
- "{\"groupId\":\"hevxcced\",\"requiredMembers\":[\"md\",\"odn\",\"zxltjcvn\"],\"requiredZoneNames\":[\"iugcxnavvwxq\",\"byqunyow\",\"wlmdjrkv\"]}")
+ "{\"groupId\":\"dvriiiojnal\",\"requiredMembers\":[\"kvtvsexso\"],\"requiredZoneNames\":[\"luqhhahhxv\"]}")
.toObject(PrivateLinkResourceProperties.class);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetWithResponseMockTests.java
index c6462a44130ab..9eac7ae354f35 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class PrivateLinkResourcesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"groupId\":\"hzjkn\",\"requiredMembers\":[\"gvttx\",\"nrup\"],\"requiredZoneNames\":[\"mrdixtreki\",\"swyskbruffg\",\"lukkutvlxhrpqhvm\",\"lcouqehbhbcdszir\"]},\"id\":\"an\",\"name\":\"oypmbltoorm\",\"type\":\"fqlwxldykalsy\"}";
+ = "{\"properties\":{\"groupId\":\"xj\",\"requiredMembers\":[\"cmpzqjhhhqx\"],\"requiredZoneNames\":[\"vcacoyv\"]},\"id\":\"bsizus\",\"name\":\"szlbscm\",\"type\":\"lzijiufehgmvflnw\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PrivateLinkResource response = manager.privateLinkResources()
- .getWithResponse("e", "oyzbamwineofvf", "akpoldtvevbo", com.azure.core.util.Context.NONE)
+ .getWithResponse("ypsjoq", "jenkyh", "qzvs", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListMockTests.java
index dfe67d7072504..97c832a25d8a1 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkResourcesListMockTests.java
@@ -21,7 +21,7 @@ public final class PrivateLinkResourcesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"groupId\":\"ymxbulpzealb\",\"requiredMembers\":[\"yojwyvfkmbtsu\",\"hxsgxj\",\"mmzrrscub\"],\"requiredZoneNames\":[\"drnpxqwodiff\"]},\"id\":\"cjrmmua\",\"name\":\"wibvjogj\",\"type\":\"nmc\"}]}";
+ = "{\"value\":[{\"properties\":{\"groupId\":\"yewnfnzhhhqos\",\"requiredMembers\":[\"jkutycyarnr\",\"ohguabz\",\"ghktdpy\",\"z\"],\"requiredZoneNames\":[\"eocnhzqrottj\",\"cfyjzp\",\"wrlohapqinfszpyg\"]},\"id\":\"d\",\"name\":\"mrjzral\",\"type\":\"xpjb\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,7 +31,7 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response
- = manager.privateLinkResources().list("vjhvefgwbm", "jchnta", com.azure.core.util.Context.NONE);
+ = manager.privateLinkResources().list("dgo", "ewijymrhbguz", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkServiceConnectionStatePropertyTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkServiceConnectionStatePropertyTests.java
index 3a943f68d8a39..5b90842d7da8c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkServiceConnectionStatePropertyTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/PrivateLinkServiceConnectionStatePropertyTests.java
@@ -11,19 +11,19 @@
public final class PrivateLinkServiceConnectionStatePropertyTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- PrivateLinkServiceConnectionStateProperty model
- = BinaryData.fromString("{\"status\":\"lssai\",\"description\":\"p\",\"actionsRequired\":\"nzl\"}")
- .toObject(PrivateLinkServiceConnectionStateProperty.class);
- Assertions.assertEquals("lssai", model.status());
- Assertions.assertEquals("p", model.description());
+ PrivateLinkServiceConnectionStateProperty model = BinaryData
+ .fromString("{\"status\":\"krwpdap\",\"description\":\"sbdkvwr\",\"actionsRequired\":\"feusnhut\"}")
+ .toObject(PrivateLinkServiceConnectionStateProperty.class);
+ Assertions.assertEquals("krwpdap", model.status());
+ Assertions.assertEquals("sbdkvwr", model.description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
PrivateLinkServiceConnectionStateProperty model
- = new PrivateLinkServiceConnectionStateProperty().withStatus("lssai").withDescription("p");
+ = new PrivateLinkServiceConnectionStateProperty().withStatus("krwpdap").withDescription("sbdkvwr");
model = BinaryData.fromObject(model).toObject(PrivateLinkServiceConnectionStateProperty.class);
- Assertions.assertEquals("lssai", model.status());
- Assertions.assertEquals("p", model.description());
+ Assertions.assertEquals("krwpdap", model.status());
+ Assertions.assertEquals("sbdkvwr", model.description());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabasePropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabasePropertiesTests.java
index cc065e5389f13..ec465dc582982 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabasePropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabasePropertiesTests.java
@@ -13,16 +13,16 @@ public final class ReadOnlyFollowingDatabasePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ReadOnlyFollowingDatabaseProperties model = BinaryData.fromString(
- "{\"provisioningState\":\"Succeeded\",\"softDeletePeriod\":\"PT117H46M54S\",\"hotCachePeriod\":\"PT191H20M49S\",\"statistics\":{\"size\":33.585636},\"leaderClusterResourceId\":\"fku\",\"attachedDatabaseConfigurationName\":\"cxkdmligovi\",\"principalsModificationKind\":\"Replace\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"loazuruocbgoo\",\"bteoybf\"],\"tablesToExclude\":[\"akvvjgslordi\",\"mywwtkgkxnyed\",\"b\"],\"externalTablesToInclude\":[\"udtjuewbc\",\"hxuuwhcjyxccybvp\",\"yakk\",\"dzpxgwjpl\"],\"externalTablesToExclude\":[\"stcyohpfkyrkdbd\",\"iogsjkmnwq\",\"nobaiyhddviacegf\"],\"materializedViewsToInclude\":[\"tfpmvmemfnczdw\",\"vbalxlllc\",\"podbzevwrdnh\"],\"materializedViewsToExclude\":[\"uvsj\",\"swsmys\",\"uluqypfc\"],\"functionsToInclude\":[\"rchpqbmfpjbabwid\"],\"functionsToExclude\":[\"sspuunnoxyhkx\",\"qddrihpfhoqcaae\",\"dao\",\"djvlpj\"]},\"originalDatabaseName\":\"kzbrmsgeivsiy\",\"databaseShareOrigin\":\"DataShare\",\"suspensionDetails\":{\"suspensionStartDate\":\"2021-08-20T00:02:05Z\"}}")
+ "{\"provisioningState\":\"Canceled\",\"softDeletePeriod\":\"PT133H19M40S\",\"hotCachePeriod\":\"PT125H19M50S\",\"statistics\":{\"size\":27.006971},\"leaderClusterResourceId\":\"dncj\",\"attachedDatabaseConfigurationName\":\"onbzoggculapzwy\",\"principalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"qxepnylbfuaj\",\"yjt\"],\"tablesToExclude\":[\"fqzhv\"],\"externalTablesToInclude\":[\"byfmowuxr\",\"jpvd\"],\"externalTablesToExclude\":[\"zwiivwzjbhyzs\",\"jrkambtrnegvmnv\",\"q\",\"qvldspastjbkkd\"],\"materializedViewsToInclude\":[\"vestmjl\"],\"materializedViewsToExclude\":[\"ilozapeewchpxlk\"],\"functionsToInclude\":[\"uziycsl\",\"vu\",\"uztcktyhjtqed\"],\"functionsToExclude\":[\"ulwm\",\"rqzz\",\"rjvpglydzgkrvqee\",\"toepryu\"]},\"originalDatabaseName\":\"wytpzdmovz\",\"databaseShareOrigin\":\"Direct\",\"suspensionDetails\":{\"suspensionStartDate\":\"2021-06-08T04:09:14Z\"}}")
.toObject(ReadOnlyFollowingDatabaseProperties.class);
- Assertions.assertEquals(Duration.parse("PT191H20M49S"), model.hotCachePeriod());
+ Assertions.assertEquals(Duration.parse("PT125H19M50S"), model.hotCachePeriod());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
ReadOnlyFollowingDatabaseProperties model
- = new ReadOnlyFollowingDatabaseProperties().withHotCachePeriod(Duration.parse("PT191H20M49S"));
+ = new ReadOnlyFollowingDatabaseProperties().withHotCachePeriod(Duration.parse("PT125H19M50S"));
model = BinaryData.fromObject(model).toObject(ReadOnlyFollowingDatabaseProperties.class);
- Assertions.assertEquals(Duration.parse("PT191H20M49S"), model.hotCachePeriod());
+ Assertions.assertEquals(Duration.parse("PT125H19M50S"), model.hotCachePeriod());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabaseTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabaseTests.java
index de0cf1c49b170..65ce216d68ee2 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabaseTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ReadOnlyFollowingDatabaseTests.java
@@ -13,18 +13,18 @@ public final class ReadOnlyFollowingDatabaseTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ReadOnlyFollowingDatabase model = BinaryData.fromString(
- "{\"kind\":\"ReadOnlyFollowing\",\"properties\":{\"provisioningState\":\"Succeeded\",\"softDeletePeriod\":\"PT189H4M16S\",\"hotCachePeriod\":\"PT238H46M6S\",\"statistics\":{\"size\":94.85628},\"leaderClusterResourceId\":\"kynscliqhzv\",\"attachedDatabaseConfigurationName\":\"nk\",\"principalsModificationKind\":\"None\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"otppnv\"],\"tablesToExclude\":[\"xhihfrbbcevqagtl\"],\"externalTablesToInclude\":[\"lfkqojpy\",\"vgtrdcnifmzzs\",\"ymbrnysuxmpraf\"],\"externalTablesToExclude\":[\"khocxvdfffwaf\"],\"materializedViewsToInclude\":[\"udaspavehh\",\"vkbunzozudh\",\"xg\",\"moy\"],\"materializedViewsToExclude\":[\"yuibhm\",\"dnbzydvfvfcjn\"],\"functionsToInclude\":[\"isrvhm\",\"orffukiscv\",\"mzhwplefaxvxi\",\"cbtgnhnz\"],\"functionsToExclude\":[\"xtjjfzqlqhycav\",\"dggxdbeesmi\",\"knlrariaawiuagy\",\"wqfbylyrfgiagt\"]},\"originalDatabaseName\":\"jocqwogfnzjvusf\",\"databaseShareOrigin\":\"Direct\",\"suspensionDetails\":{\"suspensionStartDate\":\"2021-08-30T15:20:16Z\"}},\"location\":\"xylfsb\",\"id\":\"kadpysown\",\"name\":\"tgkbugrjqctojc\",\"type\":\"isofieypefojyqd\"}")
+ "{\"kind\":\"ReadOnlyFollowing\",\"properties\":{\"provisioningState\":\"Creating\",\"softDeletePeriod\":\"PT175H34M27S\",\"hotCachePeriod\":\"PT40H32M34S\",\"statistics\":{\"size\":39.45976},\"leaderClusterResourceId\":\"ilcbtgnhnzeyqxtj\",\"attachedDatabaseConfigurationName\":\"zqlqhyc\",\"principalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":{\"tablesToInclude\":[\"xdbeesmieknl\",\"ariaawi\",\"agy\"],\"tablesToExclude\":[\"fbylyrfg\"],\"externalTablesToInclude\":[\"tcojocqwo\",\"fnzjvusfzldm\",\"zuxylfsbtkadpyso\"],\"externalTablesToExclude\":[\"tgkbugrjqctojc\",\"isofieypefojyqd\",\"cuplcplcwkhih\",\"hlhzdsqtzbsrgno\"],\"materializedViewsToInclude\":[\"hfgmvecactxm\"],\"materializedViewsToExclude\":[\"e\",\"owcluqo\"],\"functionsToInclude\":[\"qvgqouw\",\"fzmpjwyivq\"],\"functionsToExclude\":[\"xcvhrfs\"]},\"originalDatabaseName\":\"uagrttikteusqc\",\"databaseShareOrigin\":\"Direct\",\"suspensionDetails\":{\"suspensionStartDate\":\"2021-07-05T09:11:28Z\"}},\"location\":\"ubyjaffmmf\",\"id\":\"lcqcuubgqibrt\",\"name\":\"lmetttwgdslqxi\",\"type\":\"hrmooi\"}")
.toObject(ReadOnlyFollowingDatabase.class);
- Assertions.assertEquals("xylfsb", model.location());
- Assertions.assertEquals(Duration.parse("PT238H46M6S"), model.hotCachePeriod());
+ Assertions.assertEquals("ubyjaffmmf", model.location());
+ Assertions.assertEquals(Duration.parse("PT40H32M34S"), model.hotCachePeriod());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ReadOnlyFollowingDatabase model
- = new ReadOnlyFollowingDatabase().withLocation("xylfsb").withHotCachePeriod(Duration.parse("PT238H46M6S"));
+ ReadOnlyFollowingDatabase model = new ReadOnlyFollowingDatabase().withLocation("ubyjaffmmf")
+ .withHotCachePeriod(Duration.parse("PT40H32M34S"));
model = BinaryData.fromObject(model).toObject(ReadOnlyFollowingDatabase.class);
- Assertions.assertEquals("xylfsb", model.location());
- Assertions.assertEquals(Duration.parse("PT238H46M6S"), model.hotCachePeriod());
+ Assertions.assertEquals("ubyjaffmmf", model.location());
+ Assertions.assertEquals(Duration.parse("PT40H32M34S"), model.hotCachePeriod());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuCapabilitiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuCapabilitiesTests.java
index 98b079f582c1f..3e82afeaa9bcb 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuCapabilitiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuCapabilitiesTests.java
@@ -11,7 +11,8 @@ public final class ResourceSkuCapabilitiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ResourceSkuCapabilities model
- = BinaryData.fromString("{\"name\":\"bsrfbj\",\"value\":\"twss\"}").toObject(ResourceSkuCapabilities.class);
+ = BinaryData.fromString("{\"name\":\"nhdldwmgxcx\",\"value\":\"lpmutwuoegrpkhj\"}")
+ .toObject(ResourceSkuCapabilities.class);
}
@org.junit.jupiter.api.Test
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuZoneDetailsTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuZoneDetailsTests.java
index ba30b3903d046..afc42ab78d21c 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuZoneDetailsTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ResourceSkuZoneDetailsTests.java
@@ -11,7 +11,7 @@ public final class ResourceSkuZoneDetailsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ResourceSkuZoneDetails model = BinaryData.fromString(
- "{\"name\":[\"dxxiv\",\"tvtc\",\"aqtdoqmcbx\",\"wvxysl\"],\"capabilities\":[{\"name\":\"fxoblytkb\",\"value\":\"pe\"},{\"name\":\"wfbkrvrns\",\"value\":\"hqjohxcrsbfova\"},{\"name\":\"ruvw\",\"value\":\"sqfsubcgjbirxb\"}]}")
+ "{\"name\":[\"wqapnedgfbcvk\"],\"capabilities\":[{\"name\":\"pkeqdcvdrhvoo\",\"value\":\"otbobzdopcj\"}]}")
.toObject(ResourceSkuZoneDetails.class);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImageInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImageInnerTests.java
index 4091b3ca07a29..1432de6d8b012 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImageInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImageInnerTests.java
@@ -13,21 +13,24 @@ public final class SandboxCustomImageInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SandboxCustomImageInner model = BinaryData.fromString(
- "{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"skfc\",\"requirementsFileContent\":\"qumiek\",\"provisioningState\":\"Failed\"},\"id\":\"zikhl\",\"name\":\"fjhdg\",\"type\":\"gge\"}")
+ "{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"rvexztvb\",\"baseImageName\":\"gsfraoyzkoow\",\"requirementsFileContent\":\"mnguxawqaldsyu\",\"provisioningState\":\"Creating\"},\"id\":\"merqfobwyznkb\",\"name\":\"kutwpf\",\"type\":\"pagmhrskdsnf\"}")
.toObject(SandboxCustomImageInner.class);
Assertions.assertEquals(Language.PYTHON, model.language());
- Assertions.assertEquals("skfc", model.languageVersion());
- Assertions.assertEquals("qumiek", model.requirementsFileContent());
+ Assertions.assertEquals("rvexztvb", model.languageVersion());
+ Assertions.assertEquals("gsfraoyzkoow", model.baseImageName());
+ Assertions.assertEquals("mnguxawqaldsyu", model.requirementsFileContent());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SandboxCustomImageInner model = new SandboxCustomImageInner().withLanguage(Language.PYTHON)
- .withLanguageVersion("skfc")
- .withRequirementsFileContent("qumiek");
+ .withLanguageVersion("rvexztvb")
+ .withBaseImageName("gsfraoyzkoow")
+ .withRequirementsFileContent("mnguxawqaldsyu");
model = BinaryData.fromObject(model).toObject(SandboxCustomImageInner.class);
Assertions.assertEquals(Language.PYTHON, model.language());
- Assertions.assertEquals("skfc", model.languageVersion());
- Assertions.assertEquals("qumiek", model.requirementsFileContent());
+ Assertions.assertEquals("rvexztvb", model.languageVersion());
+ Assertions.assertEquals("gsfraoyzkoow", model.baseImageName());
+ Assertions.assertEquals("mnguxawqaldsyu", model.requirementsFileContent());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagePropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagePropertiesTests.java
index fbebbb5c4c611..b041f52ce4f44 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagePropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagePropertiesTests.java
@@ -13,21 +13,24 @@ public final class SandboxCustomImagePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SandboxCustomImageProperties model = BinaryData.fromString(
- "{\"language\":\"Python\",\"languageVersion\":\"unygaeqid\",\"requirementsFileContent\":\"fatpxllrxcyjmoa\",\"provisioningState\":\"Running\"}")
+ "{\"language\":\"Python\",\"languageVersion\":\"oakgtdlmkkzev\",\"baseImageName\":\"hewpusdsttwv\",\"requirementsFileContent\":\"vbbejdcng\",\"provisioningState\":\"Running\"}")
.toObject(SandboxCustomImageProperties.class);
Assertions.assertEquals(Language.PYTHON, model.language());
- Assertions.assertEquals("unygaeqid", model.languageVersion());
- Assertions.assertEquals("fatpxllrxcyjmoa", model.requirementsFileContent());
+ Assertions.assertEquals("oakgtdlmkkzev", model.languageVersion());
+ Assertions.assertEquals("hewpusdsttwv", model.baseImageName());
+ Assertions.assertEquals("vbbejdcng", model.requirementsFileContent());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SandboxCustomImageProperties model = new SandboxCustomImageProperties().withLanguage(Language.PYTHON)
- .withLanguageVersion("unygaeqid")
- .withRequirementsFileContent("fatpxllrxcyjmoa");
+ .withLanguageVersion("oakgtdlmkkzev")
+ .withBaseImageName("hewpusdsttwv")
+ .withRequirementsFileContent("vbbejdcng");
model = BinaryData.fromObject(model).toObject(SandboxCustomImageProperties.class);
Assertions.assertEquals(Language.PYTHON, model.language());
- Assertions.assertEquals("unygaeqid", model.languageVersion());
- Assertions.assertEquals("fatpxllrxcyjmoa", model.requirementsFileContent());
+ Assertions.assertEquals("oakgtdlmkkzev", model.languageVersion());
+ Assertions.assertEquals("hewpusdsttwv", model.baseImageName());
+ Assertions.assertEquals("vbbejdcng", model.requirementsFileContent());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilityWithResponseMockTests.java
index 8937f9046d68d..115eb391ae6d8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameAvailabilityWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class SandboxCustomImagesCheckNameAvailabilityWithResponseMockTests
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":true,\"name\":\"pucygvoavyunss\",\"message\":\"ghiee\",\"reason\":\"AlreadyExists\"}";
+ = "{\"nameAvailable\":true,\"name\":\"ogiyetes\",\"message\":\"vidbztjhqtfb\",\"reason\":\"Invalid\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.sandboxCustomImages()
- .checkNameAvailabilityWithResponse("kmrocxne", "v",
- new SandboxCustomImagesCheckNameRequest().withName("mtodl"), com.azure.core.util.Context.NONE)
+ .checkNameAvailabilityWithResponse("oqqtl", "fhzbkr",
+ new SandboxCustomImagesCheckNameRequest().withName("jjjavfqnvhnq"), com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(true, response.nameAvailable());
- Assertions.assertEquals("pucygvoavyunss", response.name());
- Assertions.assertEquals("ghiee", response.message());
- Assertions.assertEquals(Reason.ALREADY_EXISTS, response.reason());
+ Assertions.assertEquals("ogiyetes", response.name());
+ Assertions.assertEquals("vidbztjhqtfb", response.message());
+ Assertions.assertEquals(Reason.INVALID, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameRequestTests.java
index c9832983f7da5..3992166f4bae8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCheckNameRequestTests.java
@@ -12,14 +12,14 @@ public final class SandboxCustomImagesCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SandboxCustomImagesCheckNameRequest model
- = BinaryData.fromString("{\"name\":\"varmywdmj\"}").toObject(SandboxCustomImagesCheckNameRequest.class);
- Assertions.assertEquals("varmywdmj", model.name());
+ = BinaryData.fromString("{\"name\":\"oakufgm\"}").toObject(SandboxCustomImagesCheckNameRequest.class);
+ Assertions.assertEquals("oakufgm", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SandboxCustomImagesCheckNameRequest model = new SandboxCustomImagesCheckNameRequest().withName("varmywdmj");
+ SandboxCustomImagesCheckNameRequest model = new SandboxCustomImagesCheckNameRequest().withName("oakufgm");
model = BinaryData.fromObject(model).toObject(SandboxCustomImagesCheckNameRequest.class);
- Assertions.assertEquals("varmywdmj", model.name());
+ Assertions.assertEquals("oakufgm", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateMockTests.java
index 6e1235526ddc7..b1e6b69b4e273 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesCreateOrUpdateMockTests.java
@@ -22,7 +22,7 @@ public final class SandboxCustomImagesCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"tqpbrlcy\",\"requirementsFileContent\":\"uczkgofxyfsruc\",\"provisioningState\":\"Succeeded\"},\"id\":\"rpcjttbstvjeaqnr\",\"name\":\"vvf\",\"type\":\"oxmlghktuidv\"}";
+ = "{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"ezq\",\"baseImageName\":\"ydrtc\",\"requirementsFileContent\":\"kdqkkyihzt\",\"provisioningState\":\"Succeeded\"},\"id\":\"mgqzgwldoyc\",\"name\":\"illcecfehu\",\"type\":\"aoaguhicqlli\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,15 +32,17 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
SandboxCustomImage response = manager.sandboxCustomImages()
- .define("aq")
- .withExistingCluster("gvvpasek", "gbuxantuygdh")
+ .define("prkzya")
+ .withExistingCluster("ynkbwetnju", "p")
.withLanguage(Language.PYTHON)
- .withLanguageVersion("rpiwrqofulo")
- .withRequirementsFileContent("jnlex")
+ .withLanguageVersion("ccxnafbwqroohtuo")
+ .withBaseImageName("aonurjtumg")
+ .withRequirementsFileContent("hpv")
.create();
Assertions.assertEquals(Language.PYTHON, response.language());
- Assertions.assertEquals("tqpbrlcy", response.languageVersion());
- Assertions.assertEquals("uczkgofxyfsruc", response.requirementsFileContent());
+ Assertions.assertEquals("ezq", response.languageVersion());
+ Assertions.assertEquals("ydrtc", response.baseImageName());
+ Assertions.assertEquals("kdqkkyihzt", response.requirementsFileContent());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteMockTests.java
index 37269124a38f2..9d3173c52fc48 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesDeleteMockTests.java
@@ -27,7 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.sandboxCustomImages().delete("r", "hmbpyryxamebly", "yvk", com.azure.core.util.Context.NONE);
+ manager.sandboxCustomImages().delete("l", "ecvo", "ygzyvneezaifght", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetWithResponseMockTests.java
index c896e0925f385..d52682350578b 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesGetWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class SandboxCustomImagesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"tzuuvb\",\"requirementsFileContent\":\"grebwggahttzlsw\",\"provisioningState\":\"Failed\"},\"id\":\"qfutlxjo\",\"name\":\"zasunwqrjzfrgq\",\"type\":\"aohcmbuocn\"}";
+ = "{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"lbijpzgsksrfhfvo\",\"baseImageName\":\"knbnxwcdommpvfq\",\"requirementsFileContent\":\"zfgbrttuiaclkie\",\"provisioningState\":\"Canceled\"},\"id\":\"jlfnthiq\",\"name\":\"yuttdiygbpvnwswm\",\"type\":\"xkyctwwgzwx\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,11 +32,12 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
SandboxCustomImage response = manager.sandboxCustomImages()
- .getWithResponse("mzwcjjncqt", "z", "izvg", com.azure.core.util.Context.NONE)
+ .getWithResponse("wwexymzvlazipbh", "wvqsgny", "uuzivensrpmeyyvp", com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(Language.PYTHON, response.language());
- Assertions.assertEquals("tzuuvb", response.languageVersion());
- Assertions.assertEquals("grebwggahttzlsw", response.requirementsFileContent());
+ Assertions.assertEquals("lbijpzgsksrfhfvo", response.languageVersion());
+ Assertions.assertEquals("knbnxwcdommpvfq", response.baseImageName());
+ Assertions.assertEquals("zfgbrttuiaclkie", response.requirementsFileContent());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterMockTests.java
index 532578d3a4795..e77f693eaf7af 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListByClusterMockTests.java
@@ -23,7 +23,7 @@ public final class SandboxCustomImagesListByClusterMockTests {
@Test
public void testListByCluster() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"qwoyxqvapco\",\"requirementsFileContent\":\"oucqpqojx\",\"provisioningState\":\"Creating\"},\"id\":\"rzdcgdzbenribcaw\",\"name\":\"tzqdd\",\"type\":\"jwfljhznamtua\"}]}";
+ = "{\"value\":[{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"zkgofxyf\",\"baseImageName\":\"uc\",\"requirementsFileContent\":\"rrp\",\"provisioningState\":\"Deleting\"},\"id\":\"tbstvjeaqnrmv\",\"name\":\"fkoxmlghktuidvr\",\"type\":\"azlp\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,10 +33,11 @@ public void testListByCluster() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
PagedIterable response
- = manager.sandboxCustomImages().listByCluster("gnzxojpslsvj", "pli", com.azure.core.util.Context.NONE);
+ = manager.sandboxCustomImages().listByCluster("uuerctatoyi", "tqpbrlcy", com.azure.core.util.Context.NONE);
Assertions.assertEquals(Language.PYTHON, response.iterator().next().language());
- Assertions.assertEquals("qwoyxqvapco", response.iterator().next().languageVersion());
- Assertions.assertEquals("oucqpqojx", response.iterator().next().requirementsFileContent());
+ Assertions.assertEquals("zkgofxyf", response.iterator().next().languageVersion());
+ Assertions.assertEquals("uc", response.iterator().next().baseImageName());
+ Assertions.assertEquals("rrp", response.iterator().next().requirementsFileContent());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListResultTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListResultTests.java
index a368e229cb36a..5834a945b7944 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListResultTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SandboxCustomImagesListResultTests.java
@@ -15,31 +15,27 @@ public final class SandboxCustomImagesListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SandboxCustomImagesListResult model = BinaryData.fromString(
- "{\"nextLink\":\"dndrdvstkwqqtche\",\"value\":[{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"tdaaygdvwvg\",\"requirementsFileContent\":\"ohgwxrtfudxepxg\",\"provisioningState\":\"Succeeded\"},\"id\":\"gvr\",\"name\":\"mnpkukghimdblxg\",\"type\":\"imfnjhfjx\"},{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"zk\",\"requirementsFileContent\":\"oqreyfkzikfjawn\",\"provisioningState\":\"Moving\"},\"id\":\"vxwc\",\"name\":\"elpcirelsfeaenwa\",\"type\":\"fatkld\"},{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"jhwuaanozjos\",\"requirementsFileContent\":\"youlp\",\"provisioningState\":\"Moving\"},\"id\":\"xagl\",\"name\":\"vimjwos\",\"type\":\"tx\"}]}")
+ "{\"nextLink\":\"c\",\"value\":[{\"properties\":{\"language\":\"Python\",\"languageVersion\":\"waezkojvd\",\"baseImageName\":\"zfoqouicybxar\",\"requirementsFileContent\":\"szufoxciqopidoa\",\"provisioningState\":\"Canceled\"},\"id\":\"odhkha\",\"name\":\"xkhnzbonlwnto\",\"type\":\"gokdwbwhks\"}]}")
.toObject(SandboxCustomImagesListResult.class);
- Assertions.assertEquals("dndrdvstkwqqtche", model.nextLink());
+ Assertions.assertEquals("c", model.nextLink());
Assertions.assertEquals(Language.PYTHON, model.value().get(0).language());
- Assertions.assertEquals("tdaaygdvwvg", model.value().get(0).languageVersion());
- Assertions.assertEquals("ohgwxrtfudxepxg", model.value().get(0).requirementsFileContent());
+ Assertions.assertEquals("waezkojvd", model.value().get(0).languageVersion());
+ Assertions.assertEquals("zfoqouicybxar", model.value().get(0).baseImageName());
+ Assertions.assertEquals("szufoxciqopidoa", model.value().get(0).requirementsFileContent());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SandboxCustomImagesListResult model = new SandboxCustomImagesListResult().withNextLink("dndrdvstkwqqtche")
- .withValue(Arrays.asList(
- new SandboxCustomImageInner().withLanguage(Language.PYTHON)
- .withLanguageVersion("tdaaygdvwvg")
- .withRequirementsFileContent("ohgwxrtfudxepxg"),
- new SandboxCustomImageInner().withLanguage(Language.PYTHON)
- .withLanguageVersion("zk")
- .withRequirementsFileContent("oqreyfkzikfjawn"),
- new SandboxCustomImageInner().withLanguage(Language.PYTHON)
- .withLanguageVersion("jhwuaanozjos")
- .withRequirementsFileContent("youlp")));
+ SandboxCustomImagesListResult model = new SandboxCustomImagesListResult().withNextLink("c")
+ .withValue(Arrays.asList(new SandboxCustomImageInner().withLanguage(Language.PYTHON)
+ .withLanguageVersion("waezkojvd")
+ .withBaseImageName("zfoqouicybxar")
+ .withRequirementsFileContent("szufoxciqopidoa")));
model = BinaryData.fromObject(model).toObject(SandboxCustomImagesListResult.class);
- Assertions.assertEquals("dndrdvstkwqqtche", model.nextLink());
+ Assertions.assertEquals("c", model.nextLink());
Assertions.assertEquals(Language.PYTHON, model.value().get(0).language());
- Assertions.assertEquals("tdaaygdvwvg", model.value().get(0).languageVersion());
- Assertions.assertEquals("ohgwxrtfudxepxg", model.value().get(0).requirementsFileContent());
+ Assertions.assertEquals("waezkojvd", model.value().get(0).languageVersion());
+ Assertions.assertEquals("zfoqouicybxar", model.value().get(0).baseImageName());
+ Assertions.assertEquals("szufoxciqopidoa", model.value().get(0).requirementsFileContent());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptCheckNameRequestTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptCheckNameRequestTests.java
index 95ce8e7e80591..b78486231bc38 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptCheckNameRequestTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptCheckNameRequestTests.java
@@ -12,14 +12,14 @@ public final class ScriptCheckNameRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ScriptCheckNameRequest model
- = BinaryData.fromString("{\"name\":\"iuxxpshneekulfg\"}").toObject(ScriptCheckNameRequest.class);
- Assertions.assertEquals("iuxxpshneekulfg", model.name());
+ = BinaryData.fromString("{\"name\":\"ufiqndieuzaof\"}").toObject(ScriptCheckNameRequest.class);
+ Assertions.assertEquals("ufiqndieuzaof", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ScriptCheckNameRequest model = new ScriptCheckNameRequest().withName("iuxxpshneekulfg");
+ ScriptCheckNameRequest model = new ScriptCheckNameRequest().withName("ufiqndieuzaof");
model = BinaryData.fromObject(model).toObject(ScriptCheckNameRequest.class);
- Assertions.assertEquals("iuxxpshneekulfg", model.name());
+ Assertions.assertEquals("ufiqndieuzaof", model.name());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilityWithResponseMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilityWithResponseMockTests.java
index a58f73d673ad1..764b79464b933 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsCheckNameAvailabilityWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class ScriptsCheckNameAvailabilityWithResponseMockTests {
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
String responseStr
- = "{\"nameAvailable\":false,\"name\":\"vqvwzkjopwbe\",\"message\":\"r\",\"reason\":\"AlreadyExists\"}";
+ = "{\"nameAvailable\":true,\"name\":\"pucygvoavyunss\",\"message\":\"ghiee\",\"reason\":\"AlreadyExists\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));
CheckNameResult response = manager.scripts()
- .checkNameAvailabilityWithResponse("d", "opedbwdpyqyybxub", "dnafcbqwre",
- new ScriptCheckNameRequest().withName("jelaqacigele"), com.azure.core.util.Context.NONE)
+ .checkNameAvailabilityWithResponse("zfrgqhaohcm", "uocnjrohmbpyr", "xameblydyvkfkm",
+ new ScriptCheckNameRequest().withName("ocxnehvsmtodl"), com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(false, response.nameAvailable());
- Assertions.assertEquals("vqvwzkjopwbe", response.name());
- Assertions.assertEquals("r", response.message());
+ Assertions.assertEquals(true, response.nameAvailable());
+ Assertions.assertEquals("pucygvoavyunss", response.name());
+ Assertions.assertEquals("ghiee", response.message());
Assertions.assertEquals(Reason.ALREADY_EXISTS, response.reason());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteMockTests.java
index 45ad24f16ec55..0c3163b3c4f11 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/ScriptsDeleteMockTests.java
@@ -27,8 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- manager.scripts()
- .delete("qoyueayfbpcmsplb", "rrueqthwmg", "mbscbbx", "gdhxi", com.azure.core.util.Context.NONE);
+ manager.scripts().delete("grebwggahttzlsw", "ajqfutlx", "oqza", "unwqr", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionInnerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionInnerTests.java
index fdae377e1c4b8..b6f441b50d64a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionInnerTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionInnerTests.java
@@ -11,7 +11,7 @@ public final class SkuDescriptionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SkuDescriptionInner model = BinaryData.fromString(
- "{\"resourceType\":\"fudwpznt\",\"name\":\"dzhlrq\",\"tier\":\"hckfrlhrx\",\"locations\":[\"yvpycanuzbpzk\"],\"locationInfo\":[{\"location\":\"uwbc\",\"zones\":[\"bmehh\"],\"zoneDetails\":[{\"name\":[\"us\",\"tslhspkdeem\",\"ofmxagkvtmelmqkr\"],\"capabilities\":[{},{},{}]},{\"name\":[\"juahaquhcdhmdual\",\"exq\",\"vfadmws\"],\"capabilities\":[{}]},{\"name\":[\"xpvgo\",\"zlfmisgwbnbbeld\"],\"capabilities\":[{}]}]},{\"location\":\"zbaliourqha\",\"zones\":[\"hashsfwxosow\",\"xcug\",\"cjooxdjebwpucwwf\"],\"zoneDetails\":[{\"name\":[\"meue\",\"ivyhzceuojgjrwju\"],\"capabilities\":[{},{}]},{\"name\":[\"mcdytdxwitxnrj\",\"wgqwgxhn\",\"skxfbk\"],\"capabilities\":[{}]}]},{\"location\":\"gklwn\",\"zones\":[\"jdauwhvy\",\"wzbtdhxu\",\"znbmpowuwprzq\"],\"zoneDetails\":[{\"name\":[\"lupj\",\"khfxobbcswsrt\"],\"capabilities\":[{},{},{},{}]},{\"name\":[\"rbpbewtghfgblcg\",\"xzvlvqhjkbegib\",\"nmxiebwwaloayqc\",\"wrtz\"],\"capabilities\":[{}]},{\"name\":[\"yzm\",\"txon\",\"mtsavjcbpwxqp\"],\"capabilities\":[{},{},{}]}]}],\"restrictions\":[\"datatguvriuhp\",\"datawmdyvxqtay\"]}")
+ "{\"resourceType\":\"fbjfdtwssotftpvj\",\"name\":\"exilzznfqqnvwpmq\",\"tier\":\"ruoujmk\",\"locations\":[\"wqytjrybnwjewgdr\",\"ervnaenqpehi\"],\"locationInfo\":[{\"location\":\"ygmi\",\"zones\":[\"nzdndslgna\",\"qig\",\"nduhavhqlkthum\",\"qolbgyc\"],\"zoneDetails\":[{\"name\":[\"tgccymvaolpss\"],\"capabilities\":[{},{},{},{}]},{\"name\":[\"mdnbbglzpswiy\",\"mcwyhzdxssadb\",\"mnvdfzn\"],\"capabilities\":[{}]},{\"name\":[\"vxzbncb\",\"ylpstdbhhxsrzdz\",\"cers\",\"dntnevf\"],\"capabilities\":[{},{},{},{}]},{\"name\":[\"gtdsslswt\",\"weriofzpyqsem\",\"abnetshh\"],\"capabilities\":[{}]}]},{\"location\":\"edplvwiwubmw\",\"zones\":[\"sldnkwwtppjflcxo\"],\"zoneDetails\":[{\"name\":[\"nzmnsikvm\"],\"capabilities\":[{}]},{\"name\":[\"qkdltfz\",\"mhhv\",\"gureodkwobdag\",\"tibqdxbxwakb\"],\"capabilities\":[{}]},{\"name\":[\"dlkzgxhuri\",\"lbpodxunk\",\"ebxmubyynt\"],\"capabilities\":[{},{}]},{\"name\":[\"tkoievseotgq\",\"l\"],\"capabilities\":[{},{},{},{}]}]}],\"restrictions\":[\"datalauwzizxbmpgcjef\",\"datazmuvpbttdumorppx\",\"databmnzbtbhjpgl\",\"datafgohdneuelfphs\"]}")
.toObject(SkuDescriptionInner.class);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionListTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionListTests.java
index 37ccd19ac63b7..5b41c3819707a 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionListTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuDescriptionListTests.java
@@ -11,7 +11,7 @@ public final class SkuDescriptionListTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SkuDescriptionList model = BinaryData.fromString(
- "{\"value\":[{\"resourceType\":\"j\",\"name\":\"idokgjlj\",\"tier\":\"xgvcl\",\"locations\":[\"sncghkjeszz\",\"bijhtxfvgxbf\",\"mxnehmp\"],\"locationInfo\":[{\"location\":\"xgodebfqkkrbmp\",\"zones\":[\"riwflzlfb\"],\"zoneDetails\":[{}]},{\"location\":\"uzycispnqza\",\"zones\":[\"kbrpyydhibnuq\",\"kpikadrgvt\"],\"zoneDetails\":[{},{}]}],\"restrictions\":[\"datauynhijg\",\"datamebf\",\"dataiarbutrcvpna\"]},{\"resourceType\":\"mhjrunmpxttdbhr\",\"name\":\"l\",\"tier\":\"kx\",\"locations\":[\"k\",\"bhenbtkcxywnyt\",\"rsyn\",\"qidybyx\"],\"locationInfo\":[{\"location\":\"clha\",\"zones\":[\"babphlwrqlfk\",\"sthsu\"],\"zoneDetails\":[{},{},{}]},{\"location\":\"mnyyazt\",\"zones\":[\"wwrq\",\"uedck\"],\"zoneDetails\":[{},{},{}]},{\"location\":\"biexzfeyu\",\"zones\":[\"ibx\",\"jwbhqwalmuz\",\"oxaepd\",\"zjancuxr\"],\"zoneDetails\":[{},{},{}]},{\"location\":\"bavxbniwdjswzt\",\"zones\":[\"pgn\"],\"zoneDetails\":[{}]}],\"restrictions\":[\"datapzxbz\",\"datafzab\",\"datalcuhxwtctyqiklb\"]},{\"resourceType\":\"vplwzbhv\",\"name\":\"u\",\"tier\":\"osvmk\",\"locations\":[\"xquk\"],\"locationInfo\":[{\"location\":\"l\",\"zones\":[\"sxnkjzkdeslpvlo\",\"wiyighxpkdw\",\"baiuebbaumny\",\"upedeojnabckhs\"],\"zoneDetails\":[{},{},{},{}]},{\"location\":\"psiebtfhvpes\",\"zones\":[\"krdqmh\",\"jdhtldwkyzxu\",\"tkncwsc\"],\"zoneDetails\":[{},{},{},{}]},{\"location\":\"lxotogtwrupq\",\"zones\":[\"nmic\"],\"zoneDetails\":[{}]}],\"restrictions\":[\"datao\",\"dataeil\",\"datavnotyfjfcnj\",\"datak\"]},{\"resourceType\":\"x\",\"name\":\"bttk\",\"tier\":\"ywpnvjt\",\"locations\":[\"ermclfplphoxuscr\",\"abgy\"],\"locationInfo\":[{\"location\":\"bjtazqugxywpmu\",\"zones\":[\"jzwf\"],\"zoneDetails\":[{}]}],\"restrictions\":[\"dataids\",\"datayonobgl\",\"dataocqxtccmg\",\"dataudxytlmoyrx\"]}]}")
+ "{\"value\":[{\"resourceType\":\"bm\",\"name\":\"wuwprzqlv\",\"tier\":\"alupjm\",\"locations\":[\"xobbcswsrt\",\"riplrbpbewtg\",\"fgb\"],\"locationInfo\":[{\"location\":\"wxzvlvqhjkb\",\"zones\":[\"btn\",\"xiebwwaloayqcg\",\"rtzju\",\"gwyzm\"],\"zoneDetails\":[{},{},{},{}]}],\"restrictions\":[\"datagmtsavjcbpwxqpsr\",\"datanftguvriuhpr\",\"datamdyvxqtayriw\"]},{\"resourceType\":\"oyq\",\"name\":\"xrmcqibycnojvk\",\"tier\":\"e\",\"locations\":[\"gzva\",\"apj\",\"zhpvgqzcjrvxd\",\"zlmwlxkvugfhz\"],\"locationInfo\":[{\"location\":\"wjvzunluthnn\",\"zones\":[\"xipeilpjzuaejx\",\"ultskzbbtdz\"],\"zoneDetails\":[{},{},{},{}]},{\"location\":\"e\",\"zones\":[\"pwo\"],\"zoneDetails\":[{},{}]},{\"location\":\"kfpbs\",\"zones\":[\"f\"],\"zoneDetails\":[{}]},{\"location\":\"uusdttouwa\",\"zones\":[\"kqvkelnsmvbxwyjs\",\"lh\"],\"zoneDetails\":[{},{}]}],\"restrictions\":[\"datan\",\"dataixisxyawjoy\",\"dataqcslyjpkiid\"]},{\"resourceType\":\"exznelixhnr\",\"name\":\"folhbnxknal\",\"tier\":\"lp\",\"locations\":[\"dtpnapnyiropuhp\",\"gvpgy\",\"gqgitxmedjvcsl\"],\"locationInfo\":[{\"location\":\"wwncwzzhxgk\",\"zones\":[\"gucnapkte\",\"ellwptfdy\"],\"zoneDetails\":[{},{},{}]},{\"location\":\"qbuaceopzfqr\",\"zones\":[\"ao\",\"ppcqeqxolz\",\"ahzxctobgbk\"],\"zoneDetails\":[{},{},{},{}]}],\"restrictions\":[\"datapostmgrcfbunrm\",\"dataqjhhkxbpv\",\"dataymjhxxjyngudivkr\"]},{\"resourceType\":\"wbxqzvszjfau\",\"name\":\"fdxxivetvtcqaqtd\",\"tier\":\"mcbxvwvxysl\",\"locations\":[\"sfxobl\",\"tkblmpewww\",\"bkrvrnsvshqj\"],\"locationInfo\":[{\"location\":\"crsbfovasr\",\"zones\":[\"wbhsqfsub\"],\"zoneDetails\":[{}]}],\"restrictions\":[\"datarxbpyb\"]}]}")
.toObject(SkuDescriptionList.class);
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuLocationInfoItemTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuLocationInfoItemTests.java
index 6d71be7e1a82c..fb95ed9ee2e87 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuLocationInfoItemTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkuLocationInfoItemTests.java
@@ -14,20 +14,19 @@ public final class SkuLocationInfoItemTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SkuLocationInfoItem model = BinaryData.fromString(
- "{\"location\":\"iwwroyqbexrmc\",\"zones\":[\"ycnojvknmefqsg\",\"vah\",\"pjyzhpv\"],\"zoneDetails\":[{\"name\":[\"rvxdjzlmw\"],\"capabilities\":[{\"name\":\"ug\",\"value\":\"zovawjvz\"},{\"name\":\"luthn\",\"value\":\"rnxipei\"},{\"name\":\"jzuaejxdultskzbb\",\"value\":\"zumveekgpwo\"},{\"name\":\"hkfpbs\",\"value\":\"ofd\"}]},{\"name\":[\"us\",\"ttouwaboekqvkel\",\"smv\"],\"capabilities\":[{\"name\":\"jsflhhcaalnjix\",\"value\":\"xyawj\"},{\"name\":\"aq\",\"value\":\"lyjpk\"},{\"name\":\"dzyexznelixh\",\"value\":\"ztfolhbnxk\"},{\"name\":\"laulppg\",\"value\":\"tpnapnyiropuhpig\"}]},{\"name\":[\"ylgqgitxmedjvcsl\",\"n\",\"wwncwzzhxgk\",\"rmgucnap\"],\"capabilities\":[{\"name\":\"ellwptfdy\",\"value\":\"fqbuaceopzf\"},{\"name\":\"hhuao\",\"value\":\"pcqeqx\"},{\"name\":\"z\",\"value\":\"hzxct\"},{\"name\":\"gbkdmoizpos\",\"value\":\"grcfb\"}]},{\"name\":[\"mfqjhhkxbp\",\"jy\",\"jhxxjyn\",\"u\"],\"capabilities\":[{\"name\":\"r\",\"value\":\"wbxqzvszjfau\"}]}]}")
+ "{\"location\":\"yhtozfikdowwqu\",\"zones\":[\"zx\",\"lvithhqzonosgg\"],\"zoneDetails\":[{\"name\":[\"fwdsj\",\"ka\",\"jutiiswacff\",\"dkzzewkfvhqcrail\"],\"capabilities\":[{\"name\":\"pfuflrw\",\"value\":\"hdlxyjrxsagafcn\"}]}]}")
.toObject(SkuLocationInfoItem.class);
- Assertions.assertEquals("iwwroyqbexrmc", model.location());
- Assertions.assertEquals("ycnojvknmefqsg", model.zones().get(0));
+ Assertions.assertEquals("yhtozfikdowwqu", model.location());
+ Assertions.assertEquals("zx", model.zones().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SkuLocationInfoItem model = new SkuLocationInfoItem().withLocation("iwwroyqbexrmc")
- .withZones(Arrays.asList("ycnojvknmefqsg", "vah", "pjyzhpv"))
- .withZoneDetails(Arrays.asList(new ResourceSkuZoneDetails(), new ResourceSkuZoneDetails(),
- new ResourceSkuZoneDetails(), new ResourceSkuZoneDetails()));
+ SkuLocationInfoItem model = new SkuLocationInfoItem().withLocation("yhtozfikdowwqu")
+ .withZones(Arrays.asList("zx", "lvithhqzonosgg"))
+ .withZoneDetails(Arrays.asList(new ResourceSkuZoneDetails()));
model = BinaryData.fromObject(model).toObject(SkuLocationInfoItem.class);
- Assertions.assertEquals("iwwroyqbexrmc", model.location());
- Assertions.assertEquals("ycnojvknmefqsg", model.zones().get(0));
+ Assertions.assertEquals("yhtozfikdowwqu", model.location());
+ Assertions.assertEquals("zx", model.zones().get(0));
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkusListMockTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkusListMockTests.java
index defb2c9b4cd39..91903f46dc201 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkusListMockTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SkusListMockTests.java
@@ -21,7 +21,7 @@ public final class SkusListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"resourceType\":\"whixmonstsh\",\"name\":\"xgvelfclduccbird\",\"tier\":\"uwc\",\"locations\":[\"egstmninwjizci\",\"nghgshej\"],\"locationInfo\":[{\"location\":\"xqmul\",\"zones\":[\"xqzv\",\"ers\"],\"zoneDetails\":[{\"name\":[\"rwnamikzeb\",\"qbsms\",\"ziqgfuh\"],\"capabilities\":[{},{}]},{\"name\":[\"swhvhczznvfbycj\",\"xjww\",\"xzv\",\"mwmxqhndvnoamld\"],\"capabilities\":[{},{},{},{}]},{\"name\":[\"hdjhhflz\",\"kxcoxpelnje\",\"agltsxoa\"],\"capabilities\":[{},{}]}]},{\"location\":\"g\",\"zones\":[\"pbswvefloccsrm\"],\"zoneDetails\":[{\"name\":[\"ipgawtxx\"],\"capabilities\":[{}]},{\"name\":[\"xcjxgrytfmpcy\",\"ilrmcaykggnox\"],\"capabilities\":[{}]},{\"name\":[\"sxwpndfcpfnznthj\",\"wkjaos\"],\"capabilities\":[{},{},{},{}]},{\"name\":[\"oamktcq\",\"os\",\"gbzahgxqdlyr\",\"ltlaprltzkatbhj\"],\"capabilities\":[{},{},{}]}]}],\"restrictions\":[\"datas\",\"dataqeqala\",\"datavlagun\"]}]}";
+ = "{\"value\":[{\"resourceType\":\"xpxiwfcngjs\",\"name\":\"sii\",\"tier\":\"mkzjvkviir\",\"locations\":[\"grwsdp\",\"ra\",\"zvzbglbyv\",\"ctctbrxkjz\"],\"locationInfo\":[{\"location\":\"xff\",\"zones\":[\"kwfbkgo\",\"xwopdbydpizqa\",\"lnapxbiygn\",\"gjkn\"],\"zoneDetails\":[{\"name\":[\"ttuxuuyilflqoiqu\",\"rehmr\"],\"capabilities\":[{},{}]},{\"name\":[\"ujztcz\"],\"capabilities\":[{},{}]}]},{\"location\":\"jtwhauunf\",\"zones\":[\"jletlxsmrpddo\"],\"zoneDetails\":[{\"name\":[\"owa\",\"iynknlq\",\"zdvpiw\",\"xqszdtmaajquh\"],\"capabilities\":[{}]}]},{\"location\":\"lrjvmtyg\",\"zones\":[\"zyos\",\"spshckfkyjp\",\"sp\"],\"zoneDetails\":[{\"name\":[\"fppyogtieyujtvcz\"],\"capabilities\":[{}]},{\"name\":[\"rxmunjdxvgln\"],\"capabilities\":[{}]}]}],\"restrictions\":[\"datapaglqivbgk\",\"datavkhpzvuqdflvo\",\"dataiypfp\"]}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,7 +30,7 @@ public void testList() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureEnvironment.AZURE));
- PagedIterable response = manager.skus().list("yinljqe", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.skus().list("n", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SuspensionDetailsTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SuspensionDetailsTests.java
index efb86d70b2b28..2219b7e55e545 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SuspensionDetailsTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/SuspensionDetailsTests.java
@@ -12,16 +12,16 @@
public final class SuspensionDetailsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- SuspensionDetails model = BinaryData.fromString("{\"suspensionStartDate\":\"2021-04-16T08:57:57Z\"}")
+ SuspensionDetails model = BinaryData.fromString("{\"suspensionStartDate\":\"2021-07-29T14:30:38Z\"}")
.toObject(SuspensionDetails.class);
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-16T08:57:57Z"), model.suspensionStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-07-29T14:30:38Z"), model.suspensionStartDate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SuspensionDetails model
- = new SuspensionDetails().withSuspensionStartDate(OffsetDateTime.parse("2021-04-16T08:57:57Z"));
+ = new SuspensionDetails().withSuspensionStartDate(OffsetDateTime.parse("2021-07-29T14:30:38Z"));
model = BinaryData.fromObject(model).toObject(SuspensionDetails.class);
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-16T08:57:57Z"), model.suspensionStartDate());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-07-29T14:30:38Z"), model.suspensionStartDate());
}
}
diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/TableLevelSharingPropertiesTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/TableLevelSharingPropertiesTests.java
index 87a1f0b851ef6..0b81c8fcad2a8 100644
--- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/TableLevelSharingPropertiesTests.java
+++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/generated/TableLevelSharingPropertiesTests.java
@@ -13,37 +13,37 @@ public final class TableLevelSharingPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
TableLevelSharingProperties model = BinaryData.fromString(
- "{\"tablesToInclude\":[\"wwzjuqkhrsajiwku\",\"foskghsauuimj\"],\"tablesToExclude\":[\"ied\",\"ugidyjrr\",\"byao\",\"v\"],\"externalTablesToInclude\":[\"sonpclhocohs\",\"kevle\",\"gz\"],\"externalTablesToExclude\":[\"hfmvfaxkffe\"],\"materializedViewsToInclude\":[\"hl\"],\"materializedViewsToExclude\":[\"zy\"],\"functionsToInclude\":[\"xmzsbbzogg\",\"grxwbu\",\"vjxxjnsp\",\"dptkoenkouk\"],\"functionsToExclude\":[\"dwtiukbldngkp\",\"cipazyxoegukgjnp\",\"ucgygevqz\"]}")
+ "{\"tablesToInclude\":[\"lhocohslkev\",\"eggzfb\",\"hfmvfaxkffe\"],\"tablesToExclude\":[\"hl\"],\"externalTablesToInclude\":[\"zy\"],\"externalTablesToExclude\":[\"xmzsbbzogg\",\"grxwbu\",\"vjxxjnsp\",\"dptkoenkouk\"],\"materializedViewsToInclude\":[\"dwtiukbldngkp\",\"cipazyxoegukgjnp\",\"ucgygevqz\"],\"materializedViewsToExclude\":[\"pmr\"],\"functionsToInclude\":[\"zcdrqjsdpydnfyhx\",\"eoejzic\",\"ifsjttgzfbishcb\"],\"functionsToExclude\":[\"jdeyeamdpha\",\"alpbuxwgipwhon\",\"wkgshwa\",\"kix\"]}")
.toObject(TableLevelSharingProperties.class);
- Assertions.assertEquals("wwzjuqkhrsajiwku", model.tablesToInclude().get(0));
- Assertions.assertEquals("ied", model.tablesToExclude().get(0));
- Assertions.assertEquals("sonpclhocohs", model.externalTablesToInclude().get(0));
- Assertions.assertEquals("hfmvfaxkffe", model.externalTablesToExclude().get(0));
- Assertions.assertEquals("hl", model.materializedViewsToInclude().get(0));
- Assertions.assertEquals("zy", model.materializedViewsToExclude().get(0));
- Assertions.assertEquals("xmzsbbzogg", model.functionsToInclude().get(0));
- Assertions.assertEquals("dwtiukbldngkp", model.functionsToExclude().get(0));
+ Assertions.assertEquals("lhocohslkev", model.tablesToInclude().get(0));
+ Assertions.assertEquals("hl", model.tablesToExclude().get(0));
+ Assertions.assertEquals("zy", model.externalTablesToInclude().get(0));
+ Assertions.assertEquals("xmzsbbzogg", model.externalTablesToExclude().get(0));
+ Assertions.assertEquals("dwtiukbldngkp", model.materializedViewsToInclude().get(0));
+ Assertions.assertEquals("pmr", model.materializedViewsToExclude().get(0));
+ Assertions.assertEquals("zcdrqjsdpydnfyhx", model.functionsToInclude().get(0));
+ Assertions.assertEquals("jdeyeamdpha", model.functionsToExclude().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- TableLevelSharingProperties model
- = new TableLevelSharingProperties().withTablesToInclude(Arrays.asList("wwzjuqkhrsajiwku", "foskghsauuimj"))
- .withTablesToExclude(Arrays.asList("ied", "ugidyjrr", "byao", "v"))
- .withExternalTablesToInclude(Arrays.asList("sonpclhocohs", "kevle", "gz"))
- .withExternalTablesToExclude(Arrays.asList("hfmvfaxkffe"))
- .withMaterializedViewsToInclude(Arrays.asList("hl"))
- .withMaterializedViewsToExclude(Arrays.asList("zy"))
- .withFunctionsToInclude(Arrays.asList("xmzsbbzogg", "grxwbu", "vjxxjnsp", "dptkoenkouk"))
- .withFunctionsToExclude(Arrays.asList("dwtiukbldngkp", "cipazyxoegukgjnp", "ucgygevqz"));
+ TableLevelSharingProperties model = new TableLevelSharingProperties()
+ .withTablesToInclude(Arrays.asList("lhocohslkev", "eggzfb", "hfmvfaxkffe"))
+ .withTablesToExclude(Arrays.asList("hl"))
+ .withExternalTablesToInclude(Arrays.asList("zy"))
+ .withExternalTablesToExclude(Arrays.asList("xmzsbbzogg", "grxwbu", "vjxxjnsp", "dptkoenkouk"))
+ .withMaterializedViewsToInclude(Arrays.asList("dwtiukbldngkp", "cipazyxoegukgjnp", "ucgygevqz"))
+ .withMaterializedViewsToExclude(Arrays.asList("pmr"))
+ .withFunctionsToInclude(Arrays.asList("zcdrqjsdpydnfyhx", "eoejzic", "ifsjttgzfbishcb"))
+ .withFunctionsToExclude(Arrays.asList("jdeyeamdpha", "alpbuxwgipwhon", "wkgshwa", "kix"));
model = BinaryData.fromObject(model).toObject(TableLevelSharingProperties.class);
- Assertions.assertEquals("wwzjuqkhrsajiwku", model.tablesToInclude().get(0));
- Assertions.assertEquals("ied", model.tablesToExclude().get(0));
- Assertions.assertEquals("sonpclhocohs", model.externalTablesToInclude().get(0));
- Assertions.assertEquals("hfmvfaxkffe", model.externalTablesToExclude().get(0));
- Assertions.assertEquals("hl", model.materializedViewsToInclude().get(0));
- Assertions.assertEquals("zy", model.materializedViewsToExclude().get(0));
- Assertions.assertEquals("xmzsbbzogg", model.functionsToInclude().get(0));
- Assertions.assertEquals("dwtiukbldngkp", model.functionsToExclude().get(0));
+ Assertions.assertEquals("lhocohslkev", model.tablesToInclude().get(0));
+ Assertions.assertEquals("hl", model.tablesToExclude().get(0));
+ Assertions.assertEquals("zy", model.externalTablesToInclude().get(0));
+ Assertions.assertEquals("xmzsbbzogg", model.externalTablesToExclude().get(0));
+ Assertions.assertEquals("dwtiukbldngkp", model.materializedViewsToInclude().get(0));
+ Assertions.assertEquals("pmr", model.materializedViewsToExclude().get(0));
+ Assertions.assertEquals("zcdrqjsdpydnfyhx", model.functionsToInclude().get(0));
+ Assertions.assertEquals("jdeyeamdpha", model.functionsToExclude().get(0));
}
}