From ae2e6bd8c95695eb7660f943ddd35998f9cdf970 Mon Sep 17 00:00:00 2001
From: Minghao Chen <30464227+HarveyLink@users.noreply.github.com>
Date: Wed, 22 Oct 2025 11:35:01 +0800
Subject: [PATCH 1/3] first regen
---
.../Generated/ArmDataBoxEdgeModelFactory.cs | 149 +++++++----
.../Generated/BandwidthScheduleCollection.cs | 24 +-
.../BandwidthScheduleData.Serialization.cs | 12 +-
.../src/Generated/BandwidthScheduleData.cs | 12 +-
.../Generated/BandwidthScheduleResource.cs | 12 +-
.../Generated/DataBoxEdgeAlertCollection.cs | 16 +-
.../src/Generated/DataBoxEdgeAlertResource.cs | 4 +-
.../Generated/DataBoxEdgeDeviceCollection.cs | 20 +-
.../DataBoxEdgeDeviceData.Serialization.cs | 12 +
.../src/Generated/DataBoxEdgeDeviceData.cs | 7 +-
.../Generated/DataBoxEdgeDeviceResource.cs | 116 ++++-----
.../src/Generated/DataBoxEdgeJobCollection.cs | 12 +-
.../src/Generated/DataBoxEdgeJobData.cs | 4 +-
.../src/Generated/DataBoxEdgeJobResource.cs | 4 +-
.../src/Generated/DataBoxEdgeOrderResource.cs | 16 +-
.../DataBoxEdgeRoleAddonCollection.cs | 36 +--
.../Generated/DataBoxEdgeRoleAddonResource.cs | 12 +-
.../Generated/DataBoxEdgeRoleCollection.cs | 20 +-
.../src/Generated/DataBoxEdgeRoleResource.cs | 20 +-
.../Generated/DataBoxEdgeShareCollection.cs | 20 +-
.../src/Generated/DataBoxEdgeShareResource.cs | 16 +-
.../DataBoxEdgeStorageAccountCollection.cs | 24 +-
...xEdgeStorageAccountCredentialCollection.cs | 20 +-
...BoxEdgeStorageAccountCredentialResource.cs | 12 +-
.../DataBoxEdgeStorageAccountResource.cs | 16 +-
.../DataBoxEdgeStorageContainerCollection.cs | 24 +-
.../DataBoxEdgeStorageContainerResource.cs | 16 +-
.../Generated/DataBoxEdgeTriggerCollection.cs | 20 +-
.../Generated/DataBoxEdgeTriggerResource.cs | 12 +-
.../Generated/DataBoxEdgeUserCollection.cs | 20 +-
.../src/Generated/DataBoxEdgeUserResource.cs | 12 +-
...icProactiveLogCollectionSettingResource.cs | 8 +-
.../DiagnosticRemoteSupportSettingResource.cs | 8 +-
.../Extensions/DataBoxEdgeExtensions.cs | 12 +-
...ockableDataBoxEdgeResourceGroupResource.cs | 4 +-
...MockableDataBoxEdgeSubscriptionResource.cs | 8 +-
.../Models/AddonList.Serialization.cs | 20 +-
.../src/Generated/Models/AddonList.cs | 27 +-
.../Models/AlertList.Serialization.cs | 20 +-
.../src/Generated/Models/AlertList.cs | 23 +-
.../AvailableDataBoxEdgeSku.Serialization.cs | 8 +-
.../Models/AvailableDataBoxEdgeSku.cs | 7 +-
...ailableDataBoxEdgeSkuList.Serialization.cs | 20 +-
.../Models/AvailableDataBoxEdgeSkuList.cs | 23 +-
.../BandwidthSchedulesList.Serialization.cs | 20 +-
.../Models/BandwidthSchedulesList.cs | 23 +-
.../Models/ContainerList.Serialization.cs | 20 +-
.../src/Generated/Models/ContainerList.cs | 23 +-
.../DataBoxEdgeDeviceList.Serialization.cs | 20 +-
.../Generated/Models/DataBoxEdgeDeviceList.cs | 23 +-
...BoxEdgeLoadBalancerConfig.Serialization.cs | 27 +-
.../Models/DataBoxEdgeLoadBalancerConfig.cs | 7 +-
.../DataBoxEdgeNodeList.Serialization.cs | 20 +-
.../Generated/Models/DataBoxEdgeNodeList.cs | 23 +-
.../Generated/Models/EdgeKubernetesRole.cs | 8 +-
.../GenerateCertResult.Serialization.cs | 10 +-
.../Generated/Models/GenerateCertResult.cs | 4 +-
...ngMetricConfigurationList.Serialization.cs | 20 +-
.../MonitoringMetricConfigurationList.cs | 23 +-
.../Models/OrderList.Serialization.cs | 20 +-
.../src/Generated/Models/OrderList.cs | 23 +-
.../Models/RoleList.Serialization.cs | 20 +-
.../src/Generated/Models/RoleList.cs | 27 +-
.../Models/ShareList.Serialization.cs | 20 +-
.../src/Generated/Models/ShareList.cs | 23 +-
...rageAccountCredentialList.Serialization.cs | 20 +-
.../Models/StorageAccountCredentialList.cs | 23 +-
.../StorageAccountList.Serialization.cs | 20 +-
.../Generated/Models/StorageAccountList.cs | 23 +-
.../Models/TriggerList.Serialization.cs | 20 +-
.../src/Generated/Models/TriggerList.cs | 27 +-
.../Models/UserList.Serialization.cs | 20 +-
.../src/Generated/Models/UserList.cs | 23 +-
.../MonitoringMetricConfigurationResource.cs | 12 +-
.../RestOperations/AddonsRestOperations.cs | 94 +++----
.../RestOperations/AlertsRestOperations.cs | 26 +-
.../AvailableSkusRestOperations.cs | 10 +-
.../BandwidthSchedulesRestOperations.cs | 46 ++--
.../ContainersRestOperations.cs | 86 +++----
.../DeviceCapacityCheckRestOperations.cs | 10 +-
.../DeviceCapacityInfoRestOperations.cs | 10 +-
.../RestOperations/DevicesRestOperations.cs | 234 +++++++++---------
.../DiagnosticSettingsRestOperations.cs | 34 +--
.../RestOperations/JobsRestOperations.cs | 10 +-
.../MonitoringConfigRestOperations.cs | 82 +++---
.../RestOperations/NodesRestOperations.cs | 18 +-
.../RestOperations/OrdersRestOperations.cs | 54 ++--
.../RestOperations/RolesRestOperations.cs | 42 ++--
.../RestOperations/SharesRestOperations.cs | 50 ++--
...StorageAccountCredentialsRestOperations.cs | 42 ++--
.../StorageAccountsRestOperations.cs | 50 ++--
.../SupportPackagesRestOperations.cs | 10 +-
.../RestOperations/TriggersRestOperations.cs | 46 ++--
.../RestOperations/UsersRestOperations.cs | 42 ++--
.../src/autorest.md | 6 +-
.../Sample_BandwidthScheduleCollection.cs | 13 +-
.../Sample_BandwidthScheduleResource.cs | 9 +-
.../Sample_DataBoxEdgeAlertCollection.cs | 8 +-
.../Sample_DataBoxEdgeAlertResource.cs | 2 +-
.../Sample_DataBoxEdgeDeviceCollection.cs | 18 +-
.../Sample_DataBoxEdgeDeviceResource.cs | 36 +--
.../Sample_DataBoxEdgeJobCollection.cs | 6 +-
.../Samples/Sample_DataBoxEdgeJobResource.cs | 2 +-
.../Sample_DataBoxEdgeOrderResource.cs | 8 +-
.../Sample_DataBoxEdgeRoleAddonCollection.cs | 10 +-
.../Sample_DataBoxEdgeRoleAddonResource.cs | 6 +-
.../Sample_DataBoxEdgeRoleCollection.cs | 10 +-
.../Samples/Sample_DataBoxEdgeRoleResource.cs | 6 +-
.../Sample_DataBoxEdgeShareCollection.cs | 10 +-
.../Sample_DataBoxEdgeShareResource.cs | 8 +-
...ple_DataBoxEdgeStorageAccountCollection.cs | 10 +-
...xEdgeStorageAccountCredentialCollection.cs | 10 +-
...BoxEdgeStorageAccountCredentialResource.cs | 6 +-
...ample_DataBoxEdgeStorageAccountResource.cs | 6 +-
...e_DataBoxEdgeStorageContainerCollection.cs | 10 +-
...ple_DataBoxEdgeStorageContainerResource.cs | 8 +-
.../Sample_DataBoxEdgeTriggerCollection.cs | 10 +-
.../Sample_DataBoxEdgeTriggerResource.cs | 6 +-
.../Sample_DataBoxEdgeUserCollection.cs | 10 +-
.../Samples/Sample_DataBoxEdgeUserResource.cs | 6 +-
...icProactiveLogCollectionSettingResource.cs | 4 +-
..._DiagnosticRemoteSupportSettingResource.cs | 4 +-
...e_MonitoringMetricConfigurationResource.cs | 6 +-
.../Sample_SubscriptionResourceExtensions.cs | 4 +-
124 files changed, 1482 insertions(+), 1272 deletions(-)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs
index 8212ba50cd1a..f07d09bbe621 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.ComponentModel;
using System.Linq;
using System.Net;
using Azure.Core;
@@ -34,9 +35,9 @@ public static partial class ArmDataBoxEdgeModelFactory
/// List of Shipment Types supported by this SKU.
/// The capability info of the SKU.
/// A new instance for mocking.
- public static AvailableDataBoxEdgeSku AvailableDataBoxEdgeSku(string resourceType = null, DataBoxEdgeSkuName? name = null, string kind = null, DataBoxEdgeSkuTier? tier = null, string size = null, string family = null, IEnumerable locations = null, IEnumerable apiVersions = null, IEnumerable locationInfo = null, IEnumerable costs = null, DataBoxEdgeSkuSignupOption? signupOption = null, DataBoxEdgeSkuVersion? version = null, DataBoxEdgeSkuAvailability? availability = null, IEnumerable shipmentTypes = null, IEnumerable capabilities = null)
+ public static AvailableDataBoxEdgeSku AvailableDataBoxEdgeSku(string resourceType = null, DataBoxEdgeSkuName? name = null, string kind = null, DataBoxEdgeSkuTier? tier = null, string size = null, string family = null, IEnumerable locations = null, IEnumerable apiVersions = null, IEnumerable locationInfo = null, IEnumerable costs = null, DataBoxEdgeSkuSignupOption? signupOption = null, DataBoxEdgeSkuVersion? version = null, DataBoxEdgeSkuAvailability? availability = null, IEnumerable shipmentTypes = null, IEnumerable capabilities = null)
{
- locations ??= new List();
+ locations ??= new List();
apiVersions ??= new List();
locationInfo ??= new List();
costs ??= new List();
@@ -122,8 +123,9 @@ public static DataBoxEdgeSkuCapability DataBoxEdgeSkuCapability(string name = nu
/// The details of the move operation on this resource.
/// The details of Edge Profile for this resource.
/// The details of data-residency related properties for this resource.
+ /// Kubernetes Workload Profile.
/// A new instance for mocking.
- public static DataBoxEdgeDeviceData DataBoxEdgeDeviceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, DataBoxEdgeSku sku = null, ETag? etag = null, ManagedServiceIdentity identity = null, DataBoxEdgeDeviceKind? kind = null, DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus = null, string serialNumber = null, string description = null, string modelDescription = null, DataBoxEdgeDeviceType? deviceType = null, string friendlyName = null, string culture = null, string deviceModel = null, string deviceSoftwareVersion = null, long? deviceLocalCapacity = null, string timeZone = null, string deviceHcsVersion = null, IEnumerable configuredRoleTypes = null, int? nodeCount = null, DataBoxEdgeResourceMoveDetails resourceMoveDetails = null, EdgeProfileSubscription edgeSubscription = null, DataBoxEdgeDataResidencyType? residencyType = null)
+ public static DataBoxEdgeDeviceData DataBoxEdgeDeviceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, DataBoxEdgeSku sku = null, ETag? etag = null, ManagedServiceIdentity identity = null, DataBoxEdgeDeviceKind? kind = null, DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus = null, string serialNumber = null, string description = null, string modelDescription = null, DataBoxEdgeDeviceType? deviceType = null, string friendlyName = null, string culture = null, string deviceModel = null, string deviceSoftwareVersion = null, long? deviceLocalCapacity = null, string timeZone = null, string deviceHcsVersion = null, IEnumerable configuredRoleTypes = null, int? nodeCount = null, DataBoxEdgeResourceMoveDetails resourceMoveDetails = null, EdgeProfileSubscription edgeSubscription = null, DataBoxEdgeDataResidencyType? residencyType = null, string kubernetesWorkloadProfile = null)
{
tags ??= new Dictionary();
configuredRoleTypes ??= new List();
@@ -156,6 +158,7 @@ public static DataBoxEdgeDeviceData DataBoxEdgeDeviceData(ResourceIdentifier id
resourceMoveDetails,
edgeSubscription != null ? new EdgeProfile(edgeSubscription, serializedAdditionalRawData: null) : null,
residencyType != null ? new DataResidency(residencyType, serializedAdditionalRawData: null) : null,
+ kubernetesWorkloadProfile,
serializedAdditionalRawData: null);
}
@@ -259,7 +262,7 @@ public static DataBoxEdgeAlertErrorDetails DataBoxEdgeAlertErrorDetails(string e
/// The bandwidth rate in Mbps.
/// The days of the week when this schedule is applicable.
/// A new instance for mocking.
- public static BandwidthScheduleData BandwidthScheduleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, TimeSpan startOn = default, TimeSpan stopOn = default, int rateInMbps = default, IEnumerable days = null)
+ public static BandwidthScheduleData BandwidthScheduleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string startOn = null, string stopOn = null, int rateInMbps = default, IEnumerable days = null)
{
days ??= new List();
@@ -350,7 +353,7 @@ public static DiagnosticRemoteSupportSettingData DiagnosticRemoteSupportSettingD
///
/// Gets or sets expiry time in UTC.
/// A new instance for mocking.
- public static GenerateCertResult GenerateCertResult(string publicKey = null, string privateKey = null, DateTimeOffset? expireOn = null)
+ public static GenerateCertResult GenerateCertResult(string publicKey = null, string privateKey = null, string expireOn = null)
{
return new GenerateCertResult(publicKey, privateKey, expireOn, serializedAdditionalRawData: null);
}
@@ -454,30 +457,6 @@ public static DataBoxEdgeJobData DataBoxEdgeJobData(ResourceIdentifier id = null
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The error details.
- /// The code intended for programmatic access.
- /// The message that describes the error in detail.
- /// A new instance for mocking.
- public static DataBoxEdgeJobErrorDetails DataBoxEdgeJobErrorDetails(IEnumerable errorDetails = null, string code = null, string message = null)
- {
- errorDetails ??= new List();
-
- return new DataBoxEdgeJobErrorDetails(errorDetails?.ToList(), code, message, serializedAdditionalRawData: null);
- }
-
- /// Initializes a new instance of .
- /// The recommended actions.
- /// The code intended for programmatic access.
- /// The message that describes the error in detail.
- /// A new instance for mocking.
- public static DataBoxEdgeJobErrorItem DataBoxEdgeJobErrorItem(IEnumerable recommendations = null, string code = null, string message = null)
- {
- recommendations ??= new List();
-
- return new DataBoxEdgeJobErrorItem(recommendations?.ToList(), code, message, serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The download phase.
/// Percentage of completion.
@@ -508,6 +487,30 @@ public static UpdateInstallProgress UpdateInstallProgress(int? percentComplete =
return new UpdateInstallProgress(percentComplete, numberOfUpdatesToInstall, numberOfUpdatesInstalled, serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The error details.
+ /// The code intended for programmatic access.
+ /// The message that describes the error in detail.
+ /// A new instance for mocking.
+ public static DataBoxEdgeJobErrorDetails DataBoxEdgeJobErrorDetails(IEnumerable errorDetails = null, string code = null, string message = null)
+ {
+ errorDetails ??= new List();
+
+ return new DataBoxEdgeJobErrorDetails(errorDetails?.ToList(), code, message, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The recommended actions.
+ /// The code intended for programmatic access.
+ /// The message that describes the error in detail.
+ /// A new instance for mocking.
+ public static DataBoxEdgeJobErrorItem DataBoxEdgeJobErrorItem(IEnumerable recommendations = null, string code = null, string message = null)
+ {
+ recommendations ??= new List();
+
+ return new DataBoxEdgeJobErrorItem(recommendations?.ToList(), code, message, serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -925,24 +928,6 @@ public static DataBoxEdgeStorageContainerData DataBoxEdgeStorageContainerData(Re
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// Trigger Kind.
- /// A new instance for mocking.
- public static DataBoxEdgeTriggerData DataBoxEdgeTriggerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string kind = null)
- {
- return new DataBoxEdgeTriggerData(
- id,
- name,
- resourceType,
- systemData,
- kind == null ? default : new TriggerEventType(kind),
- serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -969,6 +954,24 @@ public static TriggerSupportPackageContent TriggerSupportPackageContent(Resource
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// Trigger Kind.
+ /// A new instance for mocking.
+ public static DataBoxEdgeTriggerData DataBoxEdgeTriggerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string kind = null)
+ {
+ return new DataBoxEdgeTriggerData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ kind == null ? default : new TriggerEventType(kind),
+ serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -1409,10 +1412,13 @@ public static EdgeKubernetesRoleNetwork EdgeKubernetesRoleNetwork(CniConfig cniC
/// Initializes a new instance of .
/// Load balancer type.
/// Load balancer version.
+ /// Load balancer ipconfig.
/// A new instance for mocking.
- public static DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType = null, string version = null)
+ public static DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType = null, string version = null, IEnumerable ipRange = null)
{
- return new DataBoxEdgeLoadBalancerConfig(loadBalancerConfigType, version, serializedAdditionalRawData: null);
+ ipRange ??= new List();
+
+ return new DataBoxEdgeLoadBalancerConfig(loadBalancerConfigType, version, ipRange?.ToList(), serializedAdditionalRawData: null);
}
/// Initializes a new instance of .
@@ -1462,5 +1468,50 @@ public static PeriodicTimerEventTrigger PeriodicTimerEventTrigger(ResourceIdenti
sinkInfoRoleId != null ? new DataBoxEdgeRoleSinkInfo(sinkInfoRoleId, serializedAdditionalRawData: null) : null,
customContextTag);
}
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// The SKU type.
+ /// The etag for the devices.
+ /// Msi identity of the resource. Current supported identity types: None, SystemAssigned, UserAssigned.
+ /// The kind of the device.
+ /// The status of the Data Box Edge/Gateway device.
+ /// The Serial Number of Data Box Edge/Gateway device.
+ /// The Description of the Data Box Edge/Gateway device.
+ /// The description of the Data Box Edge/Gateway device model.
+ /// The type of the Data Box Edge/Gateway device.
+ /// The Data Box Edge/Gateway device name.
+ /// The Data Box Edge/Gateway device culture.
+ /// The Data Box Edge/Gateway device model.
+ /// The Data Box Edge/Gateway device software version.
+ /// The Data Box Edge/Gateway device local capacity in MB.
+ /// The Data Box Edge/Gateway device timezone.
+ /// The device software version number of the device (eg: 1.2.18105.6).
+ /// Type of compute roles configured.
+ /// The number of nodes in the cluster.
+ /// The details of the move operation on this resource.
+ /// The details of Edge Profile for this resource.
+ /// The details of data-residency related properties for this resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static DataBoxEdgeDeviceData DataBoxEdgeDeviceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, DataBoxEdgeSku sku, ETag? etag, ManagedServiceIdentity identity, DataBoxEdgeDeviceKind? kind, DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus, string serialNumber, string description, string modelDescription, DataBoxEdgeDeviceType? deviceType, string friendlyName, string culture, string deviceModel, string deviceSoftwareVersion, long? deviceLocalCapacity, string timeZone, string deviceHcsVersion, IEnumerable configuredRoleTypes, int? nodeCount, DataBoxEdgeResourceMoveDetails resourceMoveDetails, EdgeProfileSubscription edgeSubscription, DataBoxEdgeDataResidencyType? residencyType)
+ {
+ return DataBoxEdgeDeviceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, sku: sku, etag: etag, identity: identity, kind: kind, dataBoxEdgeDeviceStatus: dataBoxEdgeDeviceStatus, serialNumber: serialNumber, description: description, modelDescription: modelDescription, deviceType: deviceType, friendlyName: friendlyName, culture: culture, deviceModel: deviceModel, deviceSoftwareVersion: deviceSoftwareVersion, deviceLocalCapacity: deviceLocalCapacity, timeZone: timeZone, deviceHcsVersion: deviceHcsVersion, configuredRoleTypes: configuredRoleTypes, nodeCount: nodeCount, resourceMoveDetails: resourceMoveDetails, edgeSubscription: edgeSubscription, residencyType: residencyType, kubernetesWorkloadProfile: default);
+ }
+
+ /// Initializes a new instance of .
+ /// Load balancer type.
+ /// Load balancer version.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType, string version)
+ {
+ return DataBoxEdgeLoadBalancerConfig(loadBalancerConfigType: loadBalancerConfigType, version: version, ipRange: default);
+ }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleCollection.cs
index b256238743a5..0a0608a36394 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -73,7 +73,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The bandwidth schedule name which needs to be added/updated.
+ /// The bandwidth schedule name.
/// The bandwidth schedule to be added or updated.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -122,7 +122,7 @@ public virtual async Task> CreateOrUpdat
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The bandwidth schedule name which needs to be added/updated.
+ /// The bandwidth schedule name.
/// The bandwidth schedule to be added or updated.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string n
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string name, Cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken canc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public virtual async Task> GetIfExis
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.Serialization.cs
index 68910c57a95b..6e135833d42d 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.Serialization.cs
@@ -41,9 +41,9 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri
writer.WritePropertyName("properties"u8);
writer.WriteStartObject();
writer.WritePropertyName("start"u8);
- writer.WriteStringValue(StartOn, "T");
+ writer.WriteStringValue(StartOn);
writer.WritePropertyName("stop"u8);
- writer.WriteStringValue(StopOn, "T");
+ writer.WriteStringValue(StopOn);
writer.WritePropertyName("rateInMbps"u8);
writer.WriteNumberValue(RateInMbps);
writer.WritePropertyName("days"u8);
@@ -80,8 +80,8 @@ internal static BandwidthScheduleData DeserializeBandwidthScheduleData(JsonEleme
string name = default;
ResourceType type = default;
SystemData systemData = default;
- TimeSpan start = default;
- TimeSpan stop = default;
+ string start = default;
+ string stop = default;
int rateInMbps = default;
IList days = default;
IDictionary serializedAdditionalRawData = default;
@@ -123,12 +123,12 @@ internal static BandwidthScheduleData DeserializeBandwidthScheduleData(JsonEleme
{
if (property0.NameEquals("start"u8))
{
- start = property0.Value.GetTimeSpan("T");
+ start = property0.Value.GetString();
continue;
}
if (property0.NameEquals("stop"u8))
{
- stop = property0.Value.GetTimeSpan("T");
+ stop = property0.Value.GetString();
continue;
}
if (property0.NameEquals("rateInMbps"u8))
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.cs
index 4ac0f2a86c74..0e4a76b4ebb5 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.cs
@@ -57,9 +57,11 @@ public partial class BandwidthScheduleData : ResourceData
/// The stop time of the schedule in UTC.
/// The bandwidth rate in Mbps.
/// The days of the week when this schedule is applicable.
- /// is null.
- public BandwidthScheduleData(TimeSpan startOn, TimeSpan stopOn, int rateInMbps, IEnumerable days)
+ /// , or is null.
+ public BandwidthScheduleData(string startOn, string stopOn, int rateInMbps, IEnumerable days)
{
+ Argument.AssertNotNull(startOn, nameof(startOn));
+ Argument.AssertNotNull(stopOn, nameof(stopOn));
Argument.AssertNotNull(days, nameof(days));
StartOn = startOn;
@@ -78,7 +80,7 @@ public BandwidthScheduleData(TimeSpan startOn, TimeSpan stopOn, int rateInMbps,
/// The bandwidth rate in Mbps.
/// The days of the week when this schedule is applicable.
/// Keeps track of any properties unknown to the library.
- internal BandwidthScheduleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, TimeSpan startOn, TimeSpan stopOn, int rateInMbps, IList days, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData)
+ internal BandwidthScheduleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string startOn, string stopOn, int rateInMbps, IList days, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData)
{
StartOn = startOn;
StopOn = stopOn;
@@ -93,9 +95,9 @@ internal BandwidthScheduleData()
}
/// The start time of the schedule in UTC.
- public TimeSpan StartOn { get; set; }
+ public string StartOn { get; set; }
/// The stop time of the schedule in UTC.
- public TimeSpan StopOn { get; set; }
+ public string StopOn { get; set; }
/// The bandwidth rate in Mbps.
public int RateInMbps { get; set; }
/// The days of the week when this schedule is applicable.
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleResource.cs
index 06fbcb9997fa..8e24c48c2f6a 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancella
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -311,7 +311,7 @@ public virtual async Task> UpdateAsync(W
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertCollection.cs
index d76c52e6dbee..b7c2db5199e7 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -109,7 +109,7 @@ public virtual async Task> GetAsync(string na
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -154,7 +154,7 @@ public virtual Response Get(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -184,7 +184,7 @@ public virtual AsyncPageable GetAllAsync(CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -214,7 +214,7 @@ public virtual Pageable GetAll(CancellationToken cance
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -300,7 +300,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -345,7 +345,7 @@ public virtual async Task> GetIfExist
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertResource.cs
index 0f83b576ec5f..837e985eecec 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeAlertResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceCollection.cs
index 24d4ff564331..696ac0e77c3a 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceCollection.cs
@@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -116,7 +116,7 @@ public virtual async Task> CreateOrUpdat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -167,7 +167,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -212,7 +212,7 @@ public virtual async Task> GetAsync(string d
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -257,7 +257,7 @@ public virtual Response Get(string deviceName, Cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -288,7 +288,7 @@ public virtual AsyncPageable GetAllAsync(string expan
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -319,7 +319,7 @@ public virtual Pageable GetAll(string expand = null,
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -362,7 +362,7 @@ public virtual async Task> ExistsAsync(string deviceName, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -405,7 +405,7 @@ public virtual Response Exists(string deviceName, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -450,7 +450,7 @@ public virtual async Task> GetIfExis
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.Serialization.cs
index 6263a2cf4ceb..e7495db051d3 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.Serialization.cs
@@ -150,6 +150,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri
writer.WritePropertyName("dataResidency"u8);
writer.WriteObjectValue(DataResidency, options);
}
+ if (options.Format != "W" && Optional.IsDefined(KubernetesWorkloadProfile))
+ {
+ writer.WritePropertyName("kubernetesWorkloadProfile"u8);
+ writer.WriteStringValue(KubernetesWorkloadProfile);
+ }
writer.WriteEndObject();
}
@@ -200,6 +205,7 @@ internal static DataBoxEdgeDeviceData DeserializeDataBoxEdgeDeviceData(JsonEleme
DataBoxEdgeResourceMoveDetails resourceMoveDetails = default;
EdgeProfile edgeProfile = default;
DataResidency dataResidency = default;
+ string kubernetesWorkloadProfile = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
@@ -414,6 +420,11 @@ internal static DataBoxEdgeDeviceData DeserializeDataBoxEdgeDeviceData(JsonEleme
dataResidency = DataResidency.DeserializeDataResidency(property0.Value, options);
continue;
}
+ if (property0.NameEquals("kubernetesWorkloadProfile"u8))
+ {
+ kubernetesWorkloadProfile = property0.Value.GetString();
+ continue;
+ }
}
continue;
}
@@ -451,6 +462,7 @@ internal static DataBoxEdgeDeviceData DeserializeDataBoxEdgeDeviceData(JsonEleme
resourceMoveDetails,
edgeProfile,
dataResidency,
+ kubernetesWorkloadProfile,
serializedAdditionalRawData);
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.cs
index 0a86587fd25e..a320384de748 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceData.cs
@@ -86,8 +86,9 @@ public DataBoxEdgeDeviceData(AzureLocation location) : base(location)
/// The details of the move operation on this resource.
/// The details of Edge Profile for this resource.
/// The details of data-residency related properties for this resource.
+ /// Kubernetes Workload Profile.
/// Keeps track of any properties unknown to the library.
- internal DataBoxEdgeDeviceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, DataBoxEdgeSku sku, ETag? etag, ManagedServiceIdentity identity, DataBoxEdgeDeviceKind? kind, DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus, string serialNumber, string description, string modelDescription, DataBoxEdgeDeviceType? deviceType, string friendlyName, string culture, string deviceModel, string deviceSoftwareVersion, long? deviceLocalCapacity, string timeZone, string deviceHcsVersion, IReadOnlyList configuredRoleTypes, int? nodeCount, DataBoxEdgeResourceMoveDetails resourceMoveDetails, EdgeProfile edgeProfile, DataResidency dataResidency, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location)
+ internal DataBoxEdgeDeviceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, DataBoxEdgeSku sku, ETag? etag, ManagedServiceIdentity identity, DataBoxEdgeDeviceKind? kind, DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus, string serialNumber, string description, string modelDescription, DataBoxEdgeDeviceType? deviceType, string friendlyName, string culture, string deviceModel, string deviceSoftwareVersion, long? deviceLocalCapacity, string timeZone, string deviceHcsVersion, IReadOnlyList configuredRoleTypes, int? nodeCount, DataBoxEdgeResourceMoveDetails resourceMoveDetails, EdgeProfile edgeProfile, DataResidency dataResidency, string kubernetesWorkloadProfile, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location)
{
Sku = sku;
ETag = etag;
@@ -110,6 +111,7 @@ internal DataBoxEdgeDeviceData(ResourceIdentifier id, string name, ResourceType
ResourceMoveDetails = resourceMoveDetails;
EdgeProfile = edgeProfile;
DataResidency = dataResidency;
+ KubernetesWorkloadProfile = kubernetesWorkloadProfile;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
@@ -177,5 +179,8 @@ public DataBoxEdgeDataResidencyType? ResidencyType
DataResidency.ResidencyType = value;
}
}
+
+ /// Kubernetes Workload Profile.
+ public string KubernetesWorkloadProfile { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceResource.cs
index a17e831599b6..e1ee815f9b41 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeDeviceResource.cs
@@ -127,7 +127,7 @@ public virtual DataBoxEdgeAlertCollection GetDataBoxEdgeAlerts()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -158,7 +158,7 @@ public virtual async Task> GetDataBoxEdgeAler
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -196,7 +196,7 @@ public virtual BandwidthScheduleCollection GetBandwidthSchedules()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -227,7 +227,7 @@ public virtual async Task> GetBandwidthSched
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -279,7 +279,7 @@ public virtual DataBoxEdgeJobCollection GetDataBoxEdgeJobs()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -310,7 +310,7 @@ public virtual async Task> GetDataBoxEdgeJobAsy
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual DataBoxEdgeRoleCollection GetDataBoxEdgeRoles()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -386,7 +386,7 @@ public virtual async Task> GetDataBoxEdgeRoleA
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -424,7 +424,7 @@ public virtual DataBoxEdgeShareCollection GetDataBoxEdgeShares()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -455,7 +455,7 @@ public virtual async Task> GetDataBoxEdgeShar
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -493,7 +493,7 @@ public virtual DataBoxEdgeStorageAccountCredentialCollection GetDataBoxEdgeStora
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -524,7 +524,7 @@ public virtual async Task>
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -562,7 +562,7 @@ public virtual DataBoxEdgeStorageAccountCollection GetDataBoxEdgeStorageAccounts
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -593,7 +593,7 @@ public virtual async Task> GetDataBo
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -631,7 +631,7 @@ public virtual DataBoxEdgeTriggerCollection GetDataBoxEdgeTriggers()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -662,7 +662,7 @@ public virtual async Task> GetDataBoxEdgeTr
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -700,7 +700,7 @@ public virtual DataBoxEdgeUserCollection GetDataBoxEdgeUsers()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -731,7 +731,7 @@ public virtual async Task> GetDataBoxEdgeUserA
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -762,7 +762,7 @@ public virtual Response GetDataBoxEdgeUser(string name,
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -802,7 +802,7 @@ public virtual async Task> GetAsync(Cancella
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -842,7 +842,7 @@ public virtual Response Get(CancellationToken cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -884,7 +884,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -926,7 +926,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -968,7 +968,7 @@ public virtual async Task> UpdateAsync(DataB
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1010,7 +1010,7 @@ public virtual Response Update(DataBoxEdgeDevicePatch
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1052,7 +1052,7 @@ public virtual async Task DownloadUpdatesAsync(WaitUntil waitUntil
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1094,7 +1094,7 @@ public virtual ArmOperation DownloadUpdates(WaitUntil waitUntil, CancellationTok
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1132,7 +1132,7 @@ public virtual async Task> GenerateCertificateAsync
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1170,7 +1170,7 @@ public virtual Response GenerateCertificate(CancellationToke
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1208,7 +1208,7 @@ public virtual async Task> GetExtendedIn
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1246,7 +1246,7 @@ public virtual Response GetExtendedInformation(Ca
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1288,7 +1288,7 @@ public virtual async Task InstallUpdatesAsync(WaitUntil waitUntil,
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1330,7 +1330,7 @@ public virtual ArmOperation InstallUpdates(WaitUntil waitUntil, CancellationToke
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1368,7 +1368,7 @@ public virtual async Task> GetNetwork
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1406,7 +1406,7 @@ public virtual Response GetNetworkSettings(Can
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1448,7 +1448,7 @@ public virtual async Task ScanForUpdatesAsync(WaitUntil waitUntil,
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1490,7 +1490,7 @@ public virtual ArmOperation ScanForUpdates(WaitUntil waitUntil, CancellationToke
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1536,7 +1536,7 @@ public virtual async Task CreateOrUpdateSecuritySettingsAsync(Wait
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1582,7 +1582,7 @@ public virtual ArmOperation CreateOrUpdateSecuritySettings(WaitUntil waitUntil,
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1624,7 +1624,7 @@ public virtual async Task> UpdateExtende
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1666,7 +1666,7 @@ public virtual Response UpdateExtendedInformation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1704,7 +1704,7 @@ public virtual async Task> GetUpdateSum
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1742,7 +1742,7 @@ public virtual Response GetUpdateSummary(Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1784,7 +1784,7 @@ public virtual async Task> UploadCertificate
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -1826,7 +1826,7 @@ public virtual Response UploadCertificate(UploadCerti
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -1869,7 +1869,7 @@ public virtual async Task CheckResourceCreationFeasibilityAsync(Wa
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -1912,7 +1912,7 @@ public virtual ArmOperation CheckResourceCreationFeasibility(WaitUntil waitUntil
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -1946,7 +1946,7 @@ public virtual async Task> GetDeviceCapa
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -1980,7 +1980,7 @@ public virtual Response GetDeviceCapacityInfo(Can
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -2006,7 +2006,7 @@ public virtual AsyncPageable GetEdgeNodesAsync(CancellationToke
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -2032,7 +2032,7 @@ public virtual Pageable GetEdgeNodes(CancellationToken cancella
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -2074,7 +2074,7 @@ public virtual async Task TriggerSupportPackageAsync(WaitUntil wai
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -2116,7 +2116,7 @@ public virtual ArmOperation TriggerSupportPackage(WaitUntil waitUntil, TriggerSu
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -2178,7 +2178,7 @@ public virtual async Task> AddTagAsync(strin
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -2240,7 +2240,7 @@ public virtual Response AddTag(string key, string val
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -2297,7 +2297,7 @@ public virtual async Task> SetTagsAsync(IDic
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -2354,7 +2354,7 @@ public virtual Response SetTags(IDictionary
///
-
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -2414,7 +2414,7 @@ public virtual async Task> RemoveTagAsync(st
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobCollection.cs
index 00b16b2217f2..66ec8fcedc3d 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobCollection.cs
@@ -61,7 +61,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -106,7 +106,7 @@ public virtual async Task> GetAsync(string name
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -151,7 +151,7 @@ public virtual Response Get(string name, CancellationTok
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -194,7 +194,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -237,7 +237,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual async Task> GetIfExistsA
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobData.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobData.cs
index 79e4ea47a5af..4f253899b6da 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobData.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobData.cs
@@ -52,7 +52,7 @@ public partial class DataBoxEdgeJobData : ResourceData
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal DataBoxEdgeJobData()
+ public DataBoxEdgeJobData()
{
}
@@ -118,6 +118,6 @@ internal DataBoxEdgeJobData(ResourceIdentifier id, string name, ResourceType res
/// ARM ID of the entity that was refreshed.
public ResourceIdentifier RefreshedEntityId { get; }
/// If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.).
- public string Folder { get; }
+ public string Folder { get; set; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobResource.cs
index d3cb174346f5..d8930e9f7741 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeJobResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellatio
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeOrderResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeOrderResource.cs
index b56fe7988e94..2a398b46bc71 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeOrderResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeOrderResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken cancella
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -311,7 +311,7 @@ public virtual async Task> CreateOrUpdate
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -357,7 +357,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil w
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -395,7 +395,7 @@ public virtual async Task> GetDataCent
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonCollection.cs
index 508fe7ef32db..9525fa471a90 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -73,7 +73,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The addon name.
+ /// The name of the addon.
/// The addon properties.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -113,7 +113,7 @@ public virtual async Task> CreateOrUp
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -122,7 +122,7 @@ public virtual async Task> CreateOrUp
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The addon name.
+ /// The name of the addon.
/// The addon properties.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnt
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -170,7 +170,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnt
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
/// is null.
@@ -207,7 +207,7 @@ public virtual async Task> GetAsync(strin
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -215,7 +215,7 @@ public virtual async Task> GetAsync(strin
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
/// is null.
@@ -252,7 +252,7 @@ public virtual Response Get(string addonName, Canc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken c
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -320,7 +320,7 @@ public virtual Pageable GetAll(CancellationToken c
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
/// is null.
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string addonName, Cancella
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -363,7 +363,7 @@ public virtual async Task> ExistsAsync(string addonName, Cancella
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
/// is null.
@@ -398,7 +398,7 @@ public virtual Response Exists(string addonName, CancellationToken cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -406,7 +406,7 @@ public virtual Response Exists(string addonName, CancellationToken cancell
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
/// is null.
@@ -443,7 +443,7 @@ public virtual async Task> GetIfE
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -451,7 +451,7 @@ public virtual async Task> GetIfE
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
/// is null.
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonResource.cs
index 6fd5ea821562..829c43d59ce7 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleAddonResource.cs
@@ -102,7 +102,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -142,7 +142,7 @@ public virtual async Task> GetAsync(Cance
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -182,7 +182,7 @@ public virtual Response Get(CancellationToken canc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -224,7 +224,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -266,7 +266,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual async Task> UpdateAsyn
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleCollection.cs
index 6f6e96936a97..9e1cb3679070 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdateA
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil wa
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string nam
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string name, CancellationTo
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(CancellationTo
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public virtual async Task> GetIfExists
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleResource.cs
index fc10dac0b73a..fe7f0402570b 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeRoleResource.cs
@@ -108,7 +108,7 @@ public virtual DataBoxEdgeRoleAddonCollection GetDataBoxEdgeRoleAddons()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -116,7 +116,7 @@ public virtual DataBoxEdgeRoleAddonCollection GetDataBoxEdgeRoleAddons()
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
@@ -139,7 +139,7 @@ public virtual async Task> GetDataBoxEdge
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -147,7 +147,7 @@ public virtual async Task> GetDataBoxEdge
///
///
///
- /// The addon name.
+ /// The name of the addon.
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
@@ -177,7 +177,7 @@ public virtual MonitoringMetricConfigurationResource GetMonitoringMetricConfigur
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -217,7 +217,7 @@ public virtual async Task> GetAsync(Cancellati
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -257,7 +257,7 @@ public virtual Response Get(CancellationToken cancellat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -299,7 +299,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -341,7 +341,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -387,7 +387,7 @@ public virtual async Task> UpdateAsync(Wai
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareCollection.cs
index 618fc266616d..161871ffcbeb 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdate
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil w
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string na
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken cance
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public virtual async Task> GetIfExist
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareResource.cs
index 2f15fa7b60b9..d343f5a23486 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeShareResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken cancella
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -311,7 +311,7 @@ public virtual async Task> UpdateAsync(Wa
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -357,7 +357,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -399,7 +399,7 @@ public virtual async Task RefreshAsync(WaitUntil waitUntil, Cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCollection.cs
index f6abe853b985..163317038aa5 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -73,7 +73,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The StorageAccount name.
+ /// The storage account name.
/// The StorageAccount properties.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -113,7 +113,7 @@ public virtual async Task> Creat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -122,7 +122,7 @@ public virtual async Task> Creat
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The StorageAccount name.
+ /// The storage account name.
/// The StorageAccount properties.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(Wa
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> GetAsync(
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string storageAcc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Canc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationTo
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string storageAccountName,
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual Response Exists(string storageAccountName, CancellationToke
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public virtual async Task> G
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialCollection.cs
index 0fc46504be11..90e7fc9d4386 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -113,7 +113,7 @@ public virtual async Task
///
-
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateO
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task>
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAll
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(Canc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public virtual async Task
///
-
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialResource.cs
index e0f71dc6e8e0..fcb46264dfed 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountCredentialResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task>
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -181,7 +181,7 @@ public virtual Response Get(Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -311,7 +311,7 @@ public virtual async Task
///
-
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountResource.cs
index c2975037d2b0..6700d018edb0 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageAccountResource.cs
@@ -108,7 +108,7 @@ public virtual DataBoxEdgeStorageContainerCollection GetDataBoxEdgeStorageContai
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -139,7 +139,7 @@ public virtual async Task> GetData
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -170,7 +170,7 @@ public virtual Response GetDataBoxEdgeStora
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -210,7 +210,7 @@ public virtual async Task> GetAsync(
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -250,7 +250,7 @@ public virtual Response Get(CancellationToken
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -292,7 +292,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -334,7 +334,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -380,7 +380,7 @@ public virtual async Task> Updat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerCollection.cs
index 27f5022e3db7..62168b924e9c 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -73,7 +73,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The container name.
+ /// The container Name.
/// The container properties.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -113,7 +113,7 @@ public virtual async Task> Cre
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -122,7 +122,7 @@ public virtual async Task> Cre
///
///
/// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- /// The container name.
+ /// The container Name.
/// The container properties.
/// The cancellation token to use.
/// is an empty string, and was expected to be non-empty.
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> GetAsyn
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string containe
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Ca
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual Pageable GetAll(Cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string containerName, Canc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual Response Exists(string containerName, CancellationToken can
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public virtual async Task>
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerResource.cs
index fa121a789718..af0b69becf03 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeStorageContainerResource.cs
@@ -102,7 +102,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -142,7 +142,7 @@ public virtual async Task> GetAsyn
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -182,7 +182,7 @@ public virtual Response Get(CancellationTok
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -224,7 +224,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -266,7 +266,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -312,7 +312,7 @@ public virtual async Task> Upd
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -358,7 +358,7 @@ public virtual ArmOperation Update(WaitUnti
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -400,7 +400,7 @@ public virtual async Task RefreshAsync(WaitUntil waitUntil, Cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerCollection.cs
index bda27381285d..b0f165543b1b 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpda
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string name, Cancellatio
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(string filt
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -314,7 +314,7 @@ public virtual Pageable GetAll(string filter = null,
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -400,7 +400,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -445,7 +445,7 @@ public virtual async Task> GetIfExi
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerResource.cs
index d47da68afa31..4d03a5f74864 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeTriggerResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -311,7 +311,7 @@ public virtual async Task> UpdateAsync(
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserCollection.cs
index d70959f73057..ea1778580abb 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserCollection.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserCollection.cs
@@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdateA
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil wa
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string nam
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -252,7 +252,7 @@ public virtual Response Get(string name, CancellationTo
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(string filter
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -314,7 +314,7 @@ public virtual Pageable GetAll(string filter = null, Ca
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string name, CancellationT
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -400,7 +400,7 @@ public virtual Response Exists(string name, CancellationToken cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -445,7 +445,7 @@ public virtual async Task> GetIfExists
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserResource.cs
index 1a8e90d6f9db..f389cbcd14b2 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DataBoxEdgeUserResource.cs
@@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellati
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken cancellat
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -311,7 +311,7 @@ public virtual async Task> UpdateAsync(Wai
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticProactiveLogCollectionSettingResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticProactiveLogCollectionSettingResource.cs
index cf744eb06784..800ec932508e 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticProactiveLogCollectionSettingResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticProactiveLogCollectionSettingResource.cs
@@ -100,7 +100,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -140,7 +140,7 @@ public virtual async Task
///
-
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -180,7 +180,7 @@ public virtual Response Get(Can
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -226,7 +226,7 @@ public virtual async Task
///
-
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticRemoteSupportSettingResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticRemoteSupportSettingResource.cs
index 18ac27856dce..f12b23c5c73b 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticRemoteSupportSettingResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/DiagnosticRemoteSupportSettingResource.cs
@@ -100,7 +100,7 @@ internal static void ValidateResourceId(ResourceIdentifier id)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -140,7 +140,7 @@ public virtual async Task> GetA
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -180,7 +180,7 @@ public virtual Response Get(Cancellation
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -226,7 +226,7 @@ public virtual async Task>
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/DataBoxEdgeExtensions.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/DataBoxEdgeExtensions.cs
index cb9261d1a0c5..6424e0bfe7ab 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/DataBoxEdgeExtensions.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/DataBoxEdgeExtensions.cs
@@ -367,7 +367,7 @@ public static DataBoxEdgeDeviceCollection GetDataBoxEdgeDevices(this ResourceGro
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -405,7 +405,7 @@ public static async Task> GetDataBoxEdgeDevi
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -443,7 +443,7 @@ public static Response GetDataBoxEdgeDevice(this Reso
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
/// -
@@ -475,7 +475,7 @@ public static AsyncPageable GetAvailableSkusAsync(this
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
/// -
@@ -507,7 +507,7 @@ public static Pageable GetAvailableSkus(this Subscripti
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -544,7 +544,7 @@ public static AsyncPageable GetDataBoxEdgeDevicesAsyn
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeResourceGroupResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeResourceGroupResource.cs
index 97cadb34c64a..111c9de3ffe8 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeResourceGroupResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeResourceGroupResource.cs
@@ -53,7 +53,7 @@ public virtual DataBoxEdgeDeviceCollection GetDataBoxEdgeDevices()
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -84,7 +84,7 @@ public virtual async Task> GetDataBoxEdgeDev
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeSubscriptionResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeSubscriptionResource.cs
index 3b557f2cfd90..d90ddf70c755 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeSubscriptionResource.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Extensions/MockableDataBoxEdgeSubscriptionResource.cs
@@ -57,7 +57,7 @@ private string GetApiVersionOrNull(ResourceType resourceType)
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -83,7 +83,7 @@ public virtual AsyncPageable GetAvailableSkusAsync(Canc
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
///
///
@@ -109,7 +109,7 @@ public virtual Pageable GetAvailableSkus(CancellationTo
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
@@ -140,7 +140,7 @@ public virtual AsyncPageable GetDataBoxEdgeDevicesAsy
///
/// -
/// Default Api Version
- /// 2022-03-01
+ /// 2023-12-01
///
/// -
/// Resource
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.Serialization.cs
index 3269d41dffdf..df13a74d3f3f 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(AddonList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static AddonList DeserializeAddonList(JsonElement element, ModelReaderW
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static AddonList DeserializeAddonList(JsonElement element, ModelReaderW
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static AddonList DeserializeAddonList(JsonElement element, ModelReaderW
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new AddonList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new AddonList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.cs
index 43ec1aa8b9c8..7c544cedc808 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AddonList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,33 +47,43 @@ internal partial class AddonList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal AddonList()
+ ///
+ /// The Addon items on this page
+ /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
+ /// The available derived classes include and .
+ ///
+ internal AddonList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
///
- /// The Value.
+ /// The Addon items on this page
/// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include and .
///
- /// Link to the next set of results.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal AddonList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal AddonList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
+ /// Initializes a new instance of for deserialization.
+ internal AddonList()
+ {
+ }
+
///
- /// The Value.
+ /// The Addon items on this page
/// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include and .
///
public IReadOnlyList Value { get; }
- /// Link to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.Serialization.cs
index 7c0e716c4dda..3ca7644fe736 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(AlertList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static AlertList DeserializeAlertList(JsonElement element, ModelReaderW
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static AlertList DeserializeAlertList(JsonElement element, ModelReaderW
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static AlertList DeserializeAlertList(JsonElement element, ModelReaderW
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new AlertList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new AlertList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.cs
index 3edf62eea74c..3efed0b6d45a 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AlertList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class AlertList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal AlertList()
+ /// The Alert items on this page.
+ internal AlertList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// The value.
- /// Link to the next set of results.
+ /// The Alert items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal AlertList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal AlertList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// The value.
+ /// Initializes a new instance of for deserialization.
+ internal AlertList()
+ {
+ }
+
+ /// The Alert items on this page.
public IReadOnlyList Value { get; }
- /// Link to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.Serialization.cs
index 2619ee2b72ac..229a707e9697 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.Serialization.cs
@@ -182,7 +182,7 @@ internal static AvailableDataBoxEdgeSku DeserializeAvailableDataBoxEdgeSku(JsonE
DataBoxEdgeSkuTier? tier = default;
string size = default;
string family = default;
- IReadOnlyList locations = default;
+ IReadOnlyList locations = default;
IReadOnlyList apiVersions = default;
IReadOnlyList locationInfo = default;
IReadOnlyList costs = default;
@@ -239,10 +239,10 @@ internal static AvailableDataBoxEdgeSku DeserializeAvailableDataBoxEdgeSku(JsonE
{
continue;
}
- List array = new List();
+ List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
- array.Add(new AzureLocation(item.GetString()));
+ array.Add(item.GetString());
}
locations = array;
continue;
@@ -357,7 +357,7 @@ internal static AvailableDataBoxEdgeSku DeserializeAvailableDataBoxEdgeSku(JsonE
tier,
size,
family,
- locations ?? new ChangeTrackingList(),
+ locations ?? new ChangeTrackingList(),
apiVersions ?? new ChangeTrackingList(),
locationInfo ?? new ChangeTrackingList(),
costs ?? new ChangeTrackingList(),
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.cs
index 518abbe424c5..d8675ceb3d1b 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -49,7 +48,7 @@ public partial class AvailableDataBoxEdgeSku
/// Initializes a new instance of .
internal AvailableDataBoxEdgeSku()
{
- Locations = new ChangeTrackingList();
+ Locations = new ChangeTrackingList();
ApiVersions = new ChangeTrackingList();
LocationInfo = new ChangeTrackingList();
Costs = new ChangeTrackingList();
@@ -74,7 +73,7 @@ internal AvailableDataBoxEdgeSku()
/// List of Shipment Types supported by this SKU.
/// The capability info of the SKU.
/// Keeps track of any properties unknown to the library.
- internal AvailableDataBoxEdgeSku(string resourceType, DataBoxEdgeSkuName? name, string kind, DataBoxEdgeSkuTier? tier, string size, string family, IReadOnlyList locations, IReadOnlyList apiVersions, IReadOnlyList locationInfo, IReadOnlyList costs, DataBoxEdgeSkuSignupOption? signupOption, DataBoxEdgeSkuVersion? version, DataBoxEdgeSkuAvailability? availability, IReadOnlyList shipmentTypes, IReadOnlyList capabilities, IDictionary serializedAdditionalRawData)
+ internal AvailableDataBoxEdgeSku(string resourceType, DataBoxEdgeSkuName? name, string kind, DataBoxEdgeSkuTier? tier, string size, string family, IReadOnlyList locations, IReadOnlyList apiVersions, IReadOnlyList locationInfo, IReadOnlyList costs, DataBoxEdgeSkuSignupOption? signupOption, DataBoxEdgeSkuVersion? version, DataBoxEdgeSkuAvailability? availability, IReadOnlyList shipmentTypes, IReadOnlyList capabilities, IDictionary serializedAdditionalRawData)
{
ResourceType = resourceType;
Name = name;
@@ -107,7 +106,7 @@ internal AvailableDataBoxEdgeSku(string resourceType, DataBoxEdgeSkuName? name,
/// The Sku family.
public string Family { get; }
/// Availability of the Sku for the region.
- public IReadOnlyList Locations { get; }
+ public IReadOnlyList Locations { get; }
/// The API versions in which Sku is available.
public IReadOnlyList ApiVersions { get; }
/// Availability of the Sku for the location/zone/site.
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.Serialization.cs
index 3ee9d348240e..68c1074ab42c 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(AvailableDataBoxEdgeSkuList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static AvailableDataBoxEdgeSkuList DeserializeAvailableDataBoxEdgeSkuLi
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static AvailableDataBoxEdgeSkuList DeserializeAvailableDataBoxEdgeSkuLi
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static AvailableDataBoxEdgeSkuList DeserializeAvailableDataBoxEdgeSkuLi
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new AvailableDataBoxEdgeSkuList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new AvailableDataBoxEdgeSkuList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.cs
index 9fd4f8af7ff0..142bfffc50f3 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSkuList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class AvailableDataBoxEdgeSkuList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal AvailableDataBoxEdgeSkuList()
+ /// The DataBoxEdgeSku items on this page.
+ internal AvailableDataBoxEdgeSkuList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// List of ResourceType Sku.
- /// Links to the next set of results.
+ /// The DataBoxEdgeSku items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal AvailableDataBoxEdgeSkuList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal AvailableDataBoxEdgeSkuList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// List of ResourceType Sku.
+ /// Initializes a new instance of for deserialization.
+ internal AvailableDataBoxEdgeSkuList()
+ {
+ }
+
+ /// The DataBoxEdgeSku items on this page.
public IReadOnlyList Value { get; }
- /// Links to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.Serialization.cs
index cbdd8ce2c59b..652537e08cdf 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(BandwidthSchedulesList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static BandwidthSchedulesList DeserializeBandwidthSchedulesList(JsonEle
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static BandwidthSchedulesList DeserializeBandwidthSchedulesList(JsonEle
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static BandwidthSchedulesList DeserializeBandwidthSchedulesList(JsonEle
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new BandwidthSchedulesList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new BandwidthSchedulesList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.cs
index e6e1f44fcb31..80c0b0c9eb0e 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/BandwidthSchedulesList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class BandwidthSchedulesList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal BandwidthSchedulesList()
+ /// The BandwidthSchedule items on this page.
+ internal BandwidthSchedulesList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// The list of bandwidth schedules.
- /// Link to the next set of results.
+ /// The BandwidthSchedule items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal BandwidthSchedulesList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal BandwidthSchedulesList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// The list of bandwidth schedules.
+ /// Initializes a new instance of for deserialization.
+ internal BandwidthSchedulesList()
+ {
+ }
+
+ /// The BandwidthSchedule items on this page.
public IReadOnlyList Value { get; }
- /// Link to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.Serialization.cs
index c770cfa7073e..c8449b934f3c 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(ContainerList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static ContainerList DeserializeContainerList(JsonElement element, Mode
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static ContainerList DeserializeContainerList(JsonElement element, Mode
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static ContainerList DeserializeContainerList(JsonElement element, Mode
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new ContainerList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new ContainerList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.cs
index b20e5c7ef91a..fca16a967060 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ContainerList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class ContainerList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal ContainerList()
+ /// The Container items on this page.
+ internal ContainerList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// The list of containers.
- /// Link to the next set of results.
+ /// The Container items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal ContainerList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal ContainerList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// The list of containers.
+ /// Initializes a new instance of for deserialization.
+ internal ContainerList()
+ {
+ }
+
+ /// The Container items on this page.
public IReadOnlyList Value { get; }
- /// Link to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.Serialization.cs
index 970c3024abfe..36a415fc3248 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(DataBoxEdgeDeviceList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static DataBoxEdgeDeviceList DeserializeDataBoxEdgeDeviceList(JsonEleme
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static DataBoxEdgeDeviceList DeserializeDataBoxEdgeDeviceList(JsonEleme
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static DataBoxEdgeDeviceList DeserializeDataBoxEdgeDeviceList(JsonEleme
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new DataBoxEdgeDeviceList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new DataBoxEdgeDeviceList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.cs
index c420e05c5503..1b8b39769f56 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeDeviceList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class DataBoxEdgeDeviceList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal DataBoxEdgeDeviceList()
+ /// The DataBoxEdgeDevice items on this page.
+ internal DataBoxEdgeDeviceList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// The list of Data Box Edge/Gateway devices.
- /// Link to the next set of results.
+ /// The DataBoxEdgeDevice items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal DataBoxEdgeDeviceList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal DataBoxEdgeDeviceList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// The list of Data Box Edge/Gateway devices.
+ /// Initializes a new instance of for deserialization.
+ internal DataBoxEdgeDeviceList()
+ {
+ }
+
+ /// The DataBoxEdgeDevice items on this page.
public IReadOnlyList Value { get; }
- /// Link to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.Serialization.cs
index f25d5ba5c010..9729fb17975c 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.Serialization.cs
@@ -44,6 +44,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
writer.WritePropertyName("version"u8);
writer.WriteStringValue(Version);
}
+ if (Optional.IsCollectionDefined(IPRange))
+ {
+ writer.WritePropertyName("ipRange"u8);
+ writer.WriteStartArray();
+ foreach (var item in IPRange)
+ {
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ }
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
foreach (var item in _serializedAdditionalRawData)
@@ -83,6 +93,7 @@ internal static DataBoxEdgeLoadBalancerConfig DeserializeDataBoxEdgeLoadBalancer
}
string type = default;
string version = default;
+ IReadOnlyList ipRange = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
@@ -97,13 +108,27 @@ internal static DataBoxEdgeLoadBalancerConfig DeserializeDataBoxEdgeLoadBalancer
version = property.Value.GetString();
continue;
}
+ if (property.NameEquals("ipRange"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ ipRange = array;
+ continue;
+ }
if (options.Format != "W")
{
rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new DataBoxEdgeLoadBalancerConfig(type, version, serializedAdditionalRawData);
+ return new DataBoxEdgeLoadBalancerConfig(type, version, ipRange ?? new ChangeTrackingList(), serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.cs
index 3fa411561926..e835e670dcd4 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeLoadBalancerConfig.cs
@@ -48,16 +48,19 @@ public partial class DataBoxEdgeLoadBalancerConfig
/// Initializes a new instance of .
internal DataBoxEdgeLoadBalancerConfig()
{
+ IPRange = new ChangeTrackingList();
}
/// Initializes a new instance of .
/// Load balancer type.
/// Load balancer version.
+ /// Load balancer ipconfig.
/// Keeps track of any properties unknown to the library.
- internal DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType, string version, IDictionary serializedAdditionalRawData)
+ internal DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType, string version, IReadOnlyList ipRange, IDictionary serializedAdditionalRawData)
{
LoadBalancerConfigType = loadBalancerConfigType;
Version = version;
+ IPRange = ipRange;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
@@ -65,5 +68,7 @@ internal DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType, string ver
public string LoadBalancerConfigType { get; }
/// Load balancer version.
public string Version { get; }
+ /// Load balancer ipconfig.
+ public IReadOnlyList IPRange { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.Serialization.cs
index 5a09eb22c68a..600d6348b146 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(DataBoxEdgeNodeList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static DataBoxEdgeNodeList DeserializeDataBoxEdgeNodeList(JsonElement e
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static DataBoxEdgeNodeList DeserializeDataBoxEdgeNodeList(JsonElement e
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static DataBoxEdgeNodeList DeserializeDataBoxEdgeNodeList(JsonElement e
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new DataBoxEdgeNodeList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new DataBoxEdgeNodeList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.cs
index 6edba3cca27b..dd0eddb475d6 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/DataBoxEdgeNodeList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class DataBoxEdgeNodeList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal DataBoxEdgeNodeList()
+ /// The Node items on this page.
+ internal DataBoxEdgeNodeList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// The list of Nodes.
- /// Link to the next set of results.
+ /// The Node items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal DataBoxEdgeNodeList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal DataBoxEdgeNodeList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// The list of Nodes.
+ /// Initializes a new instance of for deserialization.
+ internal DataBoxEdgeNodeList()
+ {
+ }
+
+ /// The Node items on this page.
public IReadOnlyList Value { get; }
- /// Link to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/EdgeKubernetesRole.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/EdgeKubernetesRole.cs
index a22cc0e6b433..3bbf26a3da80 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/EdgeKubernetesRole.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/EdgeKubernetesRole.cs
@@ -16,11 +16,11 @@ namespace Azure.ResourceManager.DataBoxEdge.Models
/// The limited preview of Kubernetes Cluster Management from the Azure supports:
/// 1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device.
/// 2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal.
- /// Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs.
+ /// Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs.
/// 3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data.
- /// For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf
- /// Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4
- /// By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/
+ /// For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf
+ /// Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4
+ /// By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/
///
public partial class EdgeKubernetesRole : DataBoxEdgeRoleData
{
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.Serialization.cs
index 352ee644d976..cecda9242de1 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.Serialization.cs
@@ -47,7 +47,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
if (Optional.IsDefined(ExpireOn))
{
writer.WritePropertyName("expiryTimeInUTC"u8);
- writer.WriteStringValue(ExpireOn.Value, "O");
+ writer.WriteStringValue(ExpireOn);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -88,7 +88,7 @@ internal static GenerateCertResult DeserializeGenerateCertResult(JsonElement ele
}
string publicKey = default;
string privateKey = default;
- DateTimeOffset? expiryTimeInUtc = default;
+ string expiryTimeInUtc = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
@@ -105,11 +105,7 @@ internal static GenerateCertResult DeserializeGenerateCertResult(JsonElement ele
}
if (property.NameEquals("expiryTimeInUTC"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
- expiryTimeInUtc = property.Value.GetDateTimeOffset("O");
+ expiryTimeInUtc = property.Value.GetString();
continue;
}
if (options.Format != "W")
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.cs
index 82979cd6ce78..1cbc8240103a 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.cs
@@ -61,7 +61,7 @@ internal GenerateCertResult()
///
/// Gets or sets expiry time in UTC.
/// Keeps track of any properties unknown to the library.
- internal GenerateCertResult(string publicKey, string privateKey, DateTimeOffset? expireOn, IDictionary serializedAdditionalRawData)
+ internal GenerateCertResult(string publicKey, string privateKey, string expireOn, IDictionary serializedAdditionalRawData)
{
PublicKey = publicKey;
PrivateKey = privateKey;
@@ -80,6 +80,6 @@ internal GenerateCertResult(string publicKey, string privateKey, DateTimeOffset?
///
public string PrivateKey { get; }
/// Gets or sets expiry time in UTC.
- public DateTimeOffset? ExpireOn { get; }
+ public string ExpireOn { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.Serialization.cs
index 30d6731a9efc..52d6aa703063 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(MonitoringMetricConfigurationList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static MonitoringMetricConfigurationList DeserializeMonitoringMetricCon
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static MonitoringMetricConfigurationList DeserializeMonitoringMetricCon
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static MonitoringMetricConfigurationList DeserializeMonitoringMetricCon
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new MonitoringMetricConfigurationList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new MonitoringMetricConfigurationList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.cs
index 32ea4f702539..f607e359ceee 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/MonitoringMetricConfigurationList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class MonitoringMetricConfigurationList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal MonitoringMetricConfigurationList()
+ /// The MonitoringMetricConfiguration items on this page.
+ internal MonitoringMetricConfigurationList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// The list of metric configurations.
- /// Link to the next set of results.
+ /// The MonitoringMetricConfiguration items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal MonitoringMetricConfigurationList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal MonitoringMetricConfigurationList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// The list of metric configurations.
+ /// Initializes a new instance of for deserialization.
+ internal MonitoringMetricConfigurationList()
+ {
+ }
+
+ /// The MonitoringMetricConfiguration items on this page.
public IReadOnlyList Value { get; }
- /// Link to the next set of results.
- public string NextLink { get; }
+ /// The link to the next page of items.
+ public Uri NextLink { get; }
}
}
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.Serialization.cs
index e8bfb0db2f71..3a392a909777 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.Serialization.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.Serialization.cs
@@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
throw new FormatException($"The model {nameof(OrderList)} does not support writing '{format}' format.");
}
- if (options.Format != "W" && Optional.IsCollectionDefined(Value))
+ if (options.Format != "W")
{
writer.WritePropertyName("value"u8);
writer.WriteStartArray();
@@ -44,10 +44,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
}
writer.WriteEndArray();
}
- if (options.Format != "W" && Optional.IsDefined(NextLink))
+ if (Optional.IsDefined(NextLink))
{
writer.WritePropertyName("nextLink"u8);
- writer.WriteStringValue(NextLink);
+ writer.WriteStringValue(NextLink.AbsoluteUri);
}
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
@@ -87,17 +87,13 @@ internal static OrderList DeserializeOrderList(JsonElement element, ModelReaderW
return null;
}
IReadOnlyList value = default;
- string nextLink = default;
+ Uri nextLink = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("value"u8))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
List array = new List();
foreach (var item in property.Value.EnumerateArray())
{
@@ -108,7 +104,11 @@ internal static OrderList DeserializeOrderList(JsonElement element, ModelReaderW
}
if (property.NameEquals("nextLink"u8))
{
- nextLink = property.Value.GetString();
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ nextLink = new Uri(property.Value.GetString());
continue;
}
if (options.Format != "W")
@@ -117,7 +117,7 @@ internal static OrderList DeserializeOrderList(JsonElement element, ModelReaderW
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new OrderList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData);
+ return new OrderList(value, nextLink, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.cs
index 7c0ad34461ea..5f064dccfcf5 100644
--- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.cs
+++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/OrderList.cs
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
@@ -46,25 +47,31 @@ internal partial class OrderList
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- internal OrderList()
+ /// The Order items on this page.
+ internal OrderList(IEnumerable value)
{
- Value = new ChangeTrackingList();
+ Value = value.ToList();
}
/// Initializes a new instance of .
- /// The list of orders.
- /// Link to the next set of results.
+ /// The Order items on this page.
+ /// The link to the next page of items.
/// Keeps track of any properties unknown to the library.
- internal OrderList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData)
+ internal OrderList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData)
{
Value = value;
NextLink = nextLink;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
- /// The list of orders.
+ /// Initializes a new instance of