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 for deserialization. + internal OrderList() + { + } + + /// The Order 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/RoleList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/RoleList.Serialization.cs index 2e5ecb3517f6..5e4593d43f1d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/RoleList.Serialization.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/RoleList.Serialization.cs @@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(RoleList)} 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 RoleList DeserializeRoleList(JsonElement element, ModelReaderWri 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 RoleList DeserializeRoleList(JsonElement element, ModelReaderWri } 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 RoleList DeserializeRoleList(JsonElement element, ModelReaderWri } } serializedAdditionalRawData = rawDataDictionary; - return new RoleList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData); + return new RoleList(value, nextLink, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/RoleList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/RoleList.cs index 4a90ef602b52..fe53b07cbce7 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/RoleList.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/RoleList.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 RoleList private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - internal RoleList() + /// + /// The Role 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 RoleList(IEnumerable value) { - Value = new ChangeTrackingList(); + Value = value.ToList(); } /// Initializes a new instance of . /// - /// The Value. + /// The Role 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 RoleList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) + internal RoleList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) { Value = value; NextLink = nextLink; _serializedAdditionalRawData = serializedAdditionalRawData; } + /// Initializes a new instance of for deserialization. + internal RoleList() + { + } + /// - /// The Value. + /// The Role 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/ShareList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ShareList.Serialization.cs index 5d0642289a20..d760a5b0ae27 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ShareList.Serialization.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ShareList.Serialization.cs @@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(ShareList)} 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 ShareList DeserializeShareList(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 ShareList DeserializeShareList(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 ShareList DeserializeShareList(JsonElement element, ModelReaderW } } serializedAdditionalRawData = rawDataDictionary; - return new ShareList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData); + return new ShareList(value, nextLink, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ShareList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ShareList.cs index 41650f3f1f65..a5bb349f8fd6 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ShareList.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/ShareList.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 ShareList private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - internal ShareList() + /// The Share items on this page. + internal ShareList(IEnumerable value) { - Value = new ChangeTrackingList(); + Value = value.ToList(); } /// Initializes a new instance of . - /// The list of shares. - /// Link to the next set of results. + /// The Share items on this page. + /// The link to the next page of items. /// Keeps track of any properties unknown to the library. - internal ShareList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) + internal ShareList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) { Value = value; NextLink = nextLink; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The list of shares. + /// Initializes a new instance of for deserialization. + internal ShareList() + { + } + + /// The Share 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/StorageAccountCredentialList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountCredentialList.Serialization.cs index 5ae720da1b81..45ffd242223d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountCredentialList.Serialization.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountCredentialList.Serialization.cs @@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(StorageAccountCredentialList)} 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 StorageAccountCredentialList DeserializeStorageAccountCredential 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 StorageAccountCredentialList DeserializeStorageAccountCredential } 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 StorageAccountCredentialList DeserializeStorageAccountCredential } } serializedAdditionalRawData = rawDataDictionary; - return new StorageAccountCredentialList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData); + return new StorageAccountCredentialList(value, nextLink, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountCredentialList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountCredentialList.cs index eab06a97a8a7..e013c085fbd8 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountCredentialList.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountCredentialList.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 StorageAccountCredentialList private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - internal StorageAccountCredentialList() + /// The StorageAccountCredential items on this page. + internal StorageAccountCredentialList(IEnumerable value) { - Value = new ChangeTrackingList(); + Value = value.ToList(); } /// Initializes a new instance of . - /// The value. - /// Link to the next set of results. + /// The StorageAccountCredential items on this page. + /// The link to the next page of items. /// Keeps track of any properties unknown to the library. - internal StorageAccountCredentialList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) + internal StorageAccountCredentialList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) { Value = value; NextLink = nextLink; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The value. + /// Initializes a new instance of for deserialization. + internal StorageAccountCredentialList() + { + } + + /// The StorageAccountCredential 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/StorageAccountList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountList.Serialization.cs index 15fe6d061260..1aecca3ee557 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountList.Serialization.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountList.Serialization.cs @@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(StorageAccountList)} 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 StorageAccountList DeserializeStorageAccountList(JsonElement ele 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 StorageAccountList DeserializeStorageAccountList(JsonElement ele } 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 StorageAccountList DeserializeStorageAccountList(JsonElement ele } } serializedAdditionalRawData = rawDataDictionary; - return new StorageAccountList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData); + return new StorageAccountList(value, nextLink, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountList.cs index 4c49a842f4cc..e788ce13fb66 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountList.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/StorageAccountList.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 StorageAccountList private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - internal StorageAccountList() + /// The StorageAccount items on this page. + internal StorageAccountList(IEnumerable value) { - Value = new ChangeTrackingList(); + Value = value.ToList(); } /// Initializes a new instance of . - /// The list of storageAccounts. - /// Link to the next set of results. + /// The StorageAccount items on this page. + /// The link to the next page of items. /// Keeps track of any properties unknown to the library. - internal StorageAccountList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) + internal StorageAccountList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) { Value = value; NextLink = nextLink; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The list of storageAccounts. + /// Initializes a new instance of for deserialization. + internal StorageAccountList() + { + } + + /// The StorageAccount 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/TriggerList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/TriggerList.Serialization.cs index 8080dd7e0714..4e29877a05bd 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/TriggerList.Serialization.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/TriggerList.Serialization.cs @@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(TriggerList)} 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 TriggerList DeserializeTriggerList(JsonElement element, ModelRea 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 TriggerList DeserializeTriggerList(JsonElement element, ModelRea } 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 TriggerList DeserializeTriggerList(JsonElement element, ModelRea } } serializedAdditionalRawData = rawDataDictionary; - return new TriggerList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData); + return new TriggerList(value, nextLink, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/TriggerList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/TriggerList.cs index 2ce1fea014fb..f96b49955fe1 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/TriggerList.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/TriggerList.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 TriggerList private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - internal TriggerList() + /// + /// The Trigger 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 TriggerList(IEnumerable value) { - Value = new ChangeTrackingList(); + Value = value.ToList(); } /// Initializes a new instance of . /// - /// The list of triggers. + /// The Trigger 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 TriggerList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) + internal TriggerList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) { Value = value; NextLink = nextLink; _serializedAdditionalRawData = serializedAdditionalRawData; } + /// Initializes a new instance of for deserialization. + internal TriggerList() + { + } + /// - /// The list of triggers. + /// The Trigger 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/UserList.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/UserList.Serialization.cs index d105f25720ae..82bcfceec1a5 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/UserList.Serialization.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/UserList.Serialization.cs @@ -34,7 +34,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(UserList)} 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 UserList DeserializeUserList(JsonElement element, ModelReaderWri 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 UserList DeserializeUserList(JsonElement element, ModelReaderWri } 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 UserList DeserializeUserList(JsonElement element, ModelReaderWri } } serializedAdditionalRawData = rawDataDictionary; - return new UserList(value ?? new ChangeTrackingList(), nextLink, serializedAdditionalRawData); + return new UserList(value, nextLink, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/UserList.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/UserList.cs index 2f2bd3b1b6d4..31715b19251f 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/UserList.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/UserList.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 UserList private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - internal UserList() + /// The User items on this page. + internal UserList(IEnumerable value) { - Value = new ChangeTrackingList(); + Value = value.ToList(); } /// Initializes a new instance of . - /// The list of users. - /// Link to the next set of results. + /// The User items on this page. + /// The link to the next page of items. /// Keeps track of any properties unknown to the library. - internal UserList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) + internal UserList(IReadOnlyList value, Uri nextLink, IDictionary serializedAdditionalRawData) { Value = value; NextLink = nextLink; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The list of users. + /// Initializes a new instance of for deserialization. + internal UserList() + { + } + + /// The User 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/MonitoringMetricConfigurationResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/MonitoringMetricConfigurationResource.cs index 36810c4abaed..2dc30c9969ba 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/MonitoringMetricConfigurationResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/MonitoringMetricConfigurationResource.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> GetAs /// /// /// Default Api Version - /// 2022-03-01 + /// 2023-12-01 /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(CancellationT /// /// /// 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> C /// /// /// Default Api Version - /// 2022-03-01 + /// 2023-12-01 /// /// /// Resource diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AddonsRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AddonsRestOperations.cs index 5a41e4603ec6..f3a894092ab5 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AddonsRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AddonsRestOperations.cs @@ -32,7 +32,7 @@ public AddonsRestOperations(HttpPipeline pipeline, string applicationId, Uri end { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -77,10 +77,10 @@ internal HttpMessage CreateListByRoleRequest(string subscriptionId, string resou } /// Lists all the addons configured in the role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -108,10 +108,10 @@ public async Task> ListByRoleAsync(string subscriptionId, st } /// Lists all the addons configured in the role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -181,11 +181,11 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a specific addon by name. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. - /// The addon name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. + /// The name of the addon. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -216,11 +216,11 @@ public async Task> GetAsync(string subscripti } /// Gets a specific addon by name. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. - /// The addon name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. + /// The name of the addon. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -297,11 +297,11 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Create or update a addon. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. - /// The addon name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. + /// The name of the addon. /// The addon properties. /// The cancellation token to use. /// , , , , or is null. @@ -328,11 +328,11 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Create or update a addon. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. - /// The addon name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. + /// The name of the addon. /// The addon properties. /// The cancellation token to use. /// , , , , or is null. @@ -401,11 +401,11 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the addon on the device. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. - /// The addon name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. + /// The name of the addon. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -431,11 +431,11 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the addon on the device. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. - /// The addon name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. + /// The name of the addon. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -484,10 +484,10 @@ internal HttpMessage CreateListByRoleNextPageRequest(string nextLink, string sub /// Lists all the addons configured in the role. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -517,10 +517,10 @@ public async Task> ListByRoleNextPageAsync(string nextLink, /// Lists all the addons configured in the role. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AlertsRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AlertsRestOperations.cs index 64d087704402..b8bc1430e1f6 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AlertsRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AlertsRestOperations.cs @@ -32,7 +32,7 @@ public AlertsRestOperations(HttpPipeline pipeline, string applicationId, Uri end { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Gets all the alerts for a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(string subsc } /// Gets all the alerts for a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -169,8 +169,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets an alert by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The alert name. /// The cancellation token to use. @@ -202,8 +202,8 @@ public async Task> GetAsync(string subscriptionId } /// Gets an alert by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The alert name. /// The cancellation token to use. @@ -258,8 +258,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Gets all the alerts for a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -289,8 +289,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPageAsync(stri /// Gets all the alerts for a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AvailableSkusRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AvailableSkusRestOperations.cs index d26e903e2fba..fa422525d816 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AvailableSkusRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/AvailableSkusRestOperations.cs @@ -32,7 +32,7 @@ public AvailableSkusRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -65,7 +65,7 @@ internal HttpMessage CreateListRequest(string subscriptionId) } /// List all the available Skus and information related to them. - /// The subscription ID. + /// The ID of the target subscription. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -90,7 +90,7 @@ public async Task> ListAsync(string subscr } /// List all the available Skus and information related to them. - /// The subscription ID. + /// The ID of the target subscription. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -138,7 +138,7 @@ internal HttpMessage CreateListNextPageRequest(string nextLink, string subscript /// List all the available Skus and information related to them. /// The URL to the next page of results. - /// The subscription ID. + /// The ID of the target subscription. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. @@ -165,7 +165,7 @@ public async Task> ListNextPageAsync(strin /// List all the available Skus and information related to them. /// The URL to the next page of results. - /// The subscription ID. + /// The ID of the target subscription. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/BandwidthSchedulesRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/BandwidthSchedulesRestOperations.cs index a0e59c655597..c414e3cd6622 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/BandwidthSchedulesRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/BandwidthSchedulesRestOperations.cs @@ -32,7 +32,7 @@ public BandwidthSchedulesRestOperations(HttpPipeline pipeline, string applicatio { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync } /// Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -169,8 +169,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified bandwidth schedule. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The bandwidth schedule name. /// The cancellation token to use. @@ -202,8 +202,8 @@ public async Task> GetAsync(string subscriptionI } /// Gets the properties of the specified bandwidth schedule. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The bandwidth schedule name. /// The cancellation token to use. @@ -277,10 +277,10 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates a bandwidth schedule. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// 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. /// , , , or is null. @@ -306,10 +306,10 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates a bandwidth schedule. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// 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. /// , , , or is null. @@ -373,8 +373,8 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the specified bandwidth schedule. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The bandwidth schedule name. /// The cancellation token to use. @@ -401,8 +401,8 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the specified bandwidth schedule. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The bandwidth schedule name. /// The cancellation token to use. @@ -452,8 +452,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -483,8 +483,8 @@ public async Task> ListByDataBoxEdgeDeviceNextP /// Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/ContainersRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/ContainersRestOperations.cs index dd677b6e537e..777ea5730f3a 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/ContainersRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/ContainersRestOperations.cs @@ -32,7 +32,7 @@ public ContainersRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -77,10 +77,10 @@ internal HttpMessage CreateListByStorageAccountRequest(string subscriptionId, st } /// Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The storage Account name. + /// The storage account name. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -108,10 +108,10 @@ public async Task> ListByStorageAccountAsync(string subs } /// Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The storage Account name. + /// The storage account name. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -181,10 +181,10 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a container by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. + /// The storage account name. /// The container Name. /// The cancellation token to use. /// , , , or is null. @@ -216,10 +216,10 @@ public async Task> GetAsync(string sub } /// Gets a container by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. + /// The storage account name. /// The container Name. /// The cancellation token to use. /// , , , or is null. @@ -297,11 +297,11 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates a new container or updates an existing container on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. - /// The container name. + /// The storage account name. + /// The container Name. /// The container properties. /// The cancellation token to use. /// , , , , or is null. @@ -328,11 +328,11 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates a new container or updates an existing container on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. - /// The container name. + /// The storage account name. + /// The container Name. /// The container properties. /// The cancellation token to use. /// , , , , or is null. @@ -401,11 +401,11 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the container on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. - /// The container name. + /// The storage account name. + /// The container Name. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -430,11 +430,11 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the container on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. - /// The container name. + /// The storage account name. + /// The container Name. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -503,11 +503,11 @@ internal HttpMessage CreateRefreshRequest(string subscriptionId, string resource } /// Refreshes the container metadata with the data from the cloud. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. - /// The container name. + /// The storage account name. + /// The container Name. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -532,11 +532,11 @@ public async Task RefreshAsync(string subscriptionId, string resourceG } /// Refreshes the container metadata with the data from the cloud. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The Storage Account Name. - /// The container name. + /// The storage account name. + /// The container Name. /// The cancellation token to use. /// , , , or is null. /// , , , or is an empty string, and was expected to be non-empty. @@ -584,10 +584,10 @@ internal HttpMessage CreateListByStorageAccountNextPageRequest(string nextLink, /// Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The storage Account name. + /// The storage account name. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -617,10 +617,10 @@ public async Task> ListByStorageAccountNextPageAsync(str /// Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The storage Account name. + /// The storage account name. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityCheckRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityCheckRestOperations.cs index c2b837dfd1db..1e731befcb54 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityCheckRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityCheckRestOperations.cs @@ -31,7 +31,7 @@ public DeviceCapacityCheckRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -84,8 +84,8 @@ internal HttpMessage CreateCheckResourceCreationFeasibilityRequest(string subscr } /// Posts the device capacity request info to check feasibility. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The device capacity request info. /// The capacity name. @@ -112,8 +112,8 @@ public async Task CheckResourceCreationFeasibilityAsync(string subscri } /// Posts the device capacity request info to check feasibility. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The device capacity request info. /// The capacity name. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityInfoRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityInfoRestOperations.cs index 8f1df6981237..c03589774c1d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityInfoRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DeviceCapacityInfoRestOperations.cs @@ -32,7 +32,7 @@ public DeviceCapacityInfoRestOperations(HttpPipeline pipeline, string applicatio { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateGetDeviceCapacityInfoRequest(string subscriptionId, s } /// Gets the properties of the specified device capacity info. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> GetDeviceCapacityInfo } /// Gets the properties of the specified device capacity info. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DevicesRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DevicesRestOperations.cs index 3c9a98d09891..7ce60ac18f64 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DevicesRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DevicesRestOperations.cs @@ -32,7 +32,7 @@ public DevicesRestOperations(HttpPipeline pipeline, string applicationId, Uri en { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,7 +73,7 @@ internal HttpMessage CreateListBySubscriptionRequest(string subscriptionId, stri } /// Gets all the Data Box Edge/Data Box Gateway devices in a subscription. - /// The subscription ID. + /// The ID of the target subscription. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// is null. @@ -99,7 +99,7 @@ public async Task> ListBySubscriptionAsync(strin } /// Gets all the Data Box Edge/Data Box Gateway devices in a subscription. - /// The subscription ID. + /// The ID of the target subscription. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// is null. @@ -165,8 +165,8 @@ internal HttpMessage CreateListByResourceGroupRequest(string subscriptionId, str } /// Gets all the Data Box Edge/Data Box Gateway devices in a resource group. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// or is null. @@ -193,8 +193,8 @@ public async Task> ListByResourceGroupAsync(stri } /// Gets all the Data Box Edge/Data Box Gateway devices in a resource group. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// or is null. @@ -255,8 +255,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -286,8 +286,8 @@ public async Task> GetAsync(string subscriptionI } /// Gets the properties of the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -355,8 +355,8 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates a Data Box Edge/Data Box Gateway resource. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The resource object. /// The cancellation token to use. @@ -386,8 +386,8 @@ public async Task> CreateOrUpdateAsync(string su } /// Creates or updates a Data Box Edge/Data Box Gateway resource. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The resource object. /// The cancellation token to use. @@ -416,7 +416,7 @@ public Response CreateOrUpdate(string subscriptionId, str } } - internal RequestUriBuilder CreateDeleteRequestUri(string subscriptionId, string resourceGroupName, string deviceName) + internal RequestUriBuilder CreateUpdateRequestUri(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch) { var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); @@ -430,11 +430,11 @@ internal RequestUriBuilder CreateDeleteRequestUri(string subscriptionId, string return uri; } - internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceGroupName, string deviceName) + internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch) { var message = _pipeline.CreateMessage(); var request = message.Request; - request.Method = RequestMethod.Delete; + request.Method = RequestMethod.Patch; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -446,63 +446,77 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patch, ModelSerializationExtensions.WireOptions); + request.Content = content; _userAgent.Apply(message); return message; } - /// Deletes the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// Modifies a Data Box Edge/Data Box Gateway resource. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. + /// The resource parameters. /// The cancellation token to use. - /// , or is null. + /// , , or is null. /// , or is an empty string, and was expected to be non-empty. - public async Task DeleteAsync(string subscriptionId, string resourceGroupName, string deviceName, CancellationToken cancellationToken = default) + public async Task> UpdateAsync(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); Argument.AssertNotNullOrEmpty(deviceName, nameof(deviceName)); + Argument.AssertNotNull(patch, nameof(patch)); - using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, deviceName); + using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, deviceName, patch); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: - case 202: - case 204: - return message.Response; + { + DataBoxEdgeDeviceData value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = DataBoxEdgeDeviceData.DeserializeDataBoxEdgeDeviceData(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw new RequestFailedException(message.Response); } } - /// Deletes the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// Modifies a Data Box Edge/Data Box Gateway resource. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. + /// The resource parameters. /// The cancellation token to use. - /// , or is null. + /// , , or is null. /// , or is an empty string, and was expected to be non-empty. - public Response Delete(string subscriptionId, string resourceGroupName, string deviceName, CancellationToken cancellationToken = default) + public Response Update(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); Argument.AssertNotNullOrEmpty(deviceName, nameof(deviceName)); + Argument.AssertNotNull(patch, nameof(patch)); - using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, deviceName); + using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, deviceName, patch); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: - case 202: - case 204: - return message.Response; + { + DataBoxEdgeDeviceData value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = DataBoxEdgeDeviceData.DeserializeDataBoxEdgeDeviceData(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw new RequestFailedException(message.Response); } } - internal RequestUriBuilder CreateUpdateRequestUri(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch) + internal RequestUriBuilder CreateDeleteRequestUri(string subscriptionId, string resourceGroupName, string deviceName) { var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); @@ -516,11 +530,11 @@ internal RequestUriBuilder CreateUpdateRequestUri(string subscriptionId, string return uri; } - internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch) + internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceGroupName, string deviceName) { var message = _pipeline.CreateMessage(); var request = message.Request; - request.Method = RequestMethod.Patch; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/subscriptions/", false); @@ -532,71 +546,57 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); - request.Headers.Add("Content-Type", "application/json"); - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(patch, ModelSerializationExtensions.WireOptions); - request.Content = content; _userAgent.Apply(message); return message; } - /// Modifies a Data Box Edge/Data Box Gateway resource. - /// The subscription ID. - /// The resource group name. + /// Deletes the Data Box Edge/Data Box Gateway device. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The resource parameters. /// The cancellation token to use. - /// , , or is null. + /// , or is null. /// , or is an empty string, and was expected to be non-empty. - public async Task> UpdateAsync(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch, CancellationToken cancellationToken = default) + public async Task DeleteAsync(string subscriptionId, string resourceGroupName, string deviceName, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); Argument.AssertNotNullOrEmpty(deviceName, nameof(deviceName)); - Argument.AssertNotNull(patch, nameof(patch)); - using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, deviceName, patch); + using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, deviceName); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: - { - DataBoxEdgeDeviceData value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); - value = DataBoxEdgeDeviceData.DeserializeDataBoxEdgeDeviceData(document.RootElement); - return Response.FromValue(value, message.Response); - } + case 202: + case 204: + return message.Response; default: throw new RequestFailedException(message.Response); } } - /// Modifies a Data Box Edge/Data Box Gateway resource. - /// The subscription ID. - /// The resource group name. + /// Deletes the Data Box Edge/Data Box Gateway device. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The resource parameters. /// The cancellation token to use. - /// , , or is null. + /// , or is null. /// , or is an empty string, and was expected to be non-empty. - public Response Update(string subscriptionId, string resourceGroupName, string deviceName, DataBoxEdgeDevicePatch patch, CancellationToken cancellationToken = default) + public Response Delete(string subscriptionId, string resourceGroupName, string deviceName, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); Argument.AssertNotNullOrEmpty(deviceName, nameof(deviceName)); - Argument.AssertNotNull(patch, nameof(patch)); - using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, deviceName, patch); + using var message = CreateDeleteRequest(subscriptionId, resourceGroupName, deviceName); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: - { - DataBoxEdgeDeviceData value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); - value = DataBoxEdgeDeviceData.DeserializeDataBoxEdgeDeviceData(document.RootElement); - return Response.FromValue(value, message.Response); - } + case 202: + case 204: + return message.Response; default: throw new RequestFailedException(message.Response); } @@ -639,8 +639,8 @@ internal HttpMessage CreateDownloadUpdatesRequest(string subscriptionId, string } /// Downloads the updates on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -664,8 +664,8 @@ public async Task DownloadUpdatesAsync(string subscriptionId, string r } /// Downloads the updates on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -725,8 +725,8 @@ internal HttpMessage CreateGenerateCertificateRequest(string subscriptionId, str } /// Generates certificate for activation key. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -754,8 +754,8 @@ public async Task> GenerateCertificateAsync(string } /// Generates certificate for activation key. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -819,8 +819,8 @@ internal HttpMessage CreateGetExtendedInformationRequest(string subscriptionId, } /// Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -848,8 +848,8 @@ public async Task> GetExtendedInformatio } /// Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -913,8 +913,8 @@ internal HttpMessage CreateInstallUpdatesRequest(string subscriptionId, string r } /// Installs the updates on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -938,8 +938,8 @@ public async Task InstallUpdatesAsync(string subscriptionId, string re } /// Installs the updates on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -999,8 +999,8 @@ internal HttpMessage CreateGetNetworkSettingsRequest(string subscriptionId, stri } /// Gets the network settings of the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -1028,8 +1028,8 @@ public async Task> GetNetworkSettings } /// Gets the network settings of the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -1093,8 +1093,8 @@ internal HttpMessage CreateScanForUpdatesRequest(string subscriptionId, string r } /// Scans for updates on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -1118,8 +1118,8 @@ public async Task ScanForUpdatesAsync(string subscriptionId, string re } /// Scans for updates on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -1183,8 +1183,8 @@ internal HttpMessage CreateCreateOrUpdateSecuritySettingsRequest(string subscrip } /// Updates the security settings on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The security settings. /// The cancellation token to use. @@ -1210,8 +1210,8 @@ public async Task CreateOrUpdateSecuritySettingsAsync(string subscript } /// Updates the security settings on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The security settings. /// The cancellation token to use. @@ -1277,8 +1277,8 @@ internal HttpMessage CreateUpdateExtendedInformationRequest(string subscriptionI } /// Gets additional information for the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The patch object. /// The cancellation token to use. @@ -1308,8 +1308,8 @@ public async Task> UpdateExtendedInforma } /// Gets additional information for the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The patch object. /// The cancellation token to use. @@ -1375,8 +1375,8 @@ internal HttpMessage CreateGetUpdateSummaryRequest(string subscriptionId, string } /// Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -1404,8 +1404,8 @@ public async Task> GetUpdateSummaryAsyn } /// Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -1473,8 +1473,8 @@ internal HttpMessage CreateUploadCertificateRequest(string subscriptionId, strin } /// Uploads registration certificate for the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The upload certificate request. /// The cancellation token to use. @@ -1504,8 +1504,8 @@ public async Task> UploadCertificateAsync(st } /// Uploads registration certificate for the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The upload certificate request. /// The cancellation token to use. @@ -1558,7 +1558,7 @@ internal HttpMessage CreateListBySubscriptionNextPageRequest(string nextLink, st /// Gets all the Data Box Edge/Data Box Gateway devices in a subscription. /// The URL to the next page of results. - /// The subscription ID. + /// The ID of the target subscription. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// or is null. @@ -1586,7 +1586,7 @@ public async Task> ListBySubscriptionNextPageAsy /// Gets all the Data Box Edge/Data Box Gateway devices in a subscription. /// The URL to the next page of results. - /// The subscription ID. + /// The ID of the target subscription. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// or is null. @@ -1636,8 +1636,8 @@ internal HttpMessage CreateListByResourceGroupNextPageRequest(string nextLink, s /// Gets all the Data Box Edge/Data Box Gateway devices in a resource group. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// , or is null. @@ -1666,8 +1666,8 @@ public async Task> ListByResourceGroupNextPageAs /// Gets all the Data Box Edge/Data Box Gateway devices in a resource group. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list. /// The cancellation token to use. /// , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DiagnosticSettingsRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DiagnosticSettingsRestOperations.cs index d008d60e2460..f9617bd9eec8 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DiagnosticSettingsRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/DiagnosticSettingsRestOperations.cs @@ -31,7 +31,7 @@ public DiagnosticSettingsRestOperations(HttpPipeline pipeline, string applicatio { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -72,8 +72,8 @@ internal HttpMessage CreateGetDiagnosticProactiveLogCollectionSettingsRequest(st } /// Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -103,8 +103,8 @@ public async Task> GetDiag } /// Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -174,8 +174,8 @@ internal HttpMessage CreateUpdateDiagnosticProactiveLogCollectionSettingsRequest } /// Updates the proactive log collection settings on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The proactive log collection settings. /// The cancellation token to use. @@ -201,8 +201,8 @@ public async Task UpdateDiagnosticProactiveLogCollectionSettingsAsync( } /// Updates the proactive log collection settings on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The proactive log collection settings. /// The cancellation token to use. @@ -264,8 +264,8 @@ internal HttpMessage CreateGetDiagnosticRemoteSupportSettingsRequest(string subs } /// Gets the diagnostic remote support settings of the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -295,8 +295,8 @@ public async Task> GetDiagnosticRem } /// Gets the diagnostic remote support settings of the specified Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -366,8 +366,8 @@ internal HttpMessage CreateUpdateDiagnosticRemoteSupportSettingsRequest(string s } /// Updates the diagnostic remote support settings on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The diagnostic remote support settings. /// The cancellation token to use. @@ -393,8 +393,8 @@ public async Task UpdateDiagnosticRemoteSupportSettingsAsync(string su } /// Updates the diagnostic remote support settings on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The diagnostic remote support settings. /// The cancellation token to use. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/JobsRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/JobsRestOperations.cs index aa81553acb87..ecdc286f690e 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/JobsRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/JobsRestOperations.cs @@ -31,7 +31,7 @@ public JobsRestOperations(HttpPipeline pipeline, string applicationId, Uri endpo { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -74,8 +74,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The job name. /// The cancellation token to use. @@ -107,8 +107,8 @@ public async Task> GetAsync(string subscriptionId, } /// Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The job name. /// The cancellation token to use. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/MonitoringConfigRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/MonitoringConfigRestOperations.cs index eda4704f8f59..e5150837cf8c 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/MonitoringConfigRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/MonitoringConfigRestOperations.cs @@ -32,7 +32,7 @@ public MonitoringConfigRestOperations(HttpPipeline pipeline, string applicationI { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -77,10 +77,10 @@ internal HttpMessage CreateListRequest(string subscriptionId, string resourceGro } /// Lists metric configurations in a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -108,10 +108,10 @@ public async Task> ListAsync(string } /// Lists metric configurations in a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -179,10 +179,10 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a metric configuration of a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -212,10 +212,10 @@ public async Task> GetAsync(string s } /// Gets a metric configuration of a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -289,10 +289,10 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates a new metric configuration or updates an existing one for a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The metric configuration. /// The cancellation token to use. /// , , , or is null. @@ -318,10 +318,10 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates a new metric configuration or updates an existing one for a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The metric configuration. /// The cancellation token to use. /// , , , or is null. @@ -387,10 +387,10 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// deletes a new metric configuration for a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -415,10 +415,10 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// deletes a new metric configuration for a role. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -466,10 +466,10 @@ internal HttpMessage CreateListNextPageRequest(string nextLink, string subscript /// Lists metric configurations in a role. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -499,10 +499,10 @@ public async Task> ListNextPageAsync /// Lists metric configurations in a role. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. - /// The device name. - /// The role name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The name of the device. + /// The name of the role. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/NodesRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/NodesRestOperations.cs index ab8e2b83b743..b344ec08038a 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/NodesRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/NodesRestOperations.cs @@ -32,7 +32,7 @@ public NodesRestOperations(HttpPipeline pipeline, string applicationId, Uri endp { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Gets all the nodes currently configured under this Data Box Edge device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(st } /// Gets all the nodes currently configured under this Data Box Edge device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -154,8 +154,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Gets all the nodes currently configured under this Data Box Edge device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -185,8 +185,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPage /// Gets all the nodes currently configured under this Data Box Edge device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/OrdersRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/OrdersRestOperations.cs index 18242fa24137..056d7bf8498a 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/OrdersRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/OrdersRestOperations.cs @@ -32,7 +32,7 @@ public OrdersRestOperations(HttpPipeline pipeline, string applicationId, Uri end { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Lists all the orders related to a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(string subsc } /// Lists all the orders related to a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -167,8 +167,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a specific order by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -198,8 +198,8 @@ public async Task> GetAsync(string subscriptionId } /// Gets a specific order by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -269,9 +269,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates an order. - /// The subscription ID. - /// The resource group name. - /// The order details of a device. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The device name. /// The order to be created or updated. /// The cancellation token to use. /// , , or is null. @@ -296,9 +296,9 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates an order. - /// The subscription ID. - /// The resource group name. - /// The order details of a device. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The device name. /// The order to be created or updated. /// The cancellation token to use. /// , , or is null. @@ -359,8 +359,8 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the order related to the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -385,8 +385,8 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the order related to the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -447,8 +447,8 @@ internal HttpMessage CreateListDCAccessCodeRequest(string subscriptionId, string } /// Gets the DCAccess Code. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -476,8 +476,8 @@ public async Task> ListDCAccessCodeAsy } /// Gets the DCAccess Code. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -528,8 +528,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Lists all the orders related to a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -559,8 +559,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPageAsync(stri /// Lists all the orders related to a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/RolesRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/RolesRestOperations.cs index a52aae48a626..13d4a5dbd51c 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/RolesRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/RolesRestOperations.cs @@ -32,7 +32,7 @@ public RolesRestOperations(HttpPipeline pipeline, string applicationId, Uri endp { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Lists all the roles configured in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(string subscr } /// Lists all the roles configured in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -169,8 +169,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a specific role by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The role name. /// The cancellation token to use. @@ -202,8 +202,8 @@ public async Task> GetAsync(string subscriptionId, } /// Gets a specific role by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The role name. /// The cancellation token to use. @@ -277,8 +277,8 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Create or update a role. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The role name. /// The role properties. @@ -306,8 +306,8 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Create or update a role. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The role name. /// The role properties. @@ -373,8 +373,8 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the role on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The role name. /// The cancellation token to use. @@ -401,8 +401,8 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the role on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The role name. /// The cancellation token to use. @@ -452,8 +452,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Lists all the roles configured in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -483,8 +483,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPageAsync(strin /// Lists all the roles configured in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SharesRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SharesRestOperations.cs index e27bccd6ff8d..1dbc84eeee2c 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SharesRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SharesRestOperations.cs @@ -32,7 +32,7 @@ public SharesRestOperations(HttpPipeline pipeline, string applicationId, Uri end { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Lists all the shares in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(string subsc } /// Lists all the shares in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -169,8 +169,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a share by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The cancellation token to use. @@ -202,8 +202,8 @@ public async Task> GetAsync(string subscriptionId } /// Gets a share by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The cancellation token to use. @@ -277,8 +277,8 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates a new share or updates an existing share on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The share properties. @@ -306,8 +306,8 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates a new share or updates an existing share on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The share properties. @@ -373,8 +373,8 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the share on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The cancellation token to use. @@ -401,8 +401,8 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the share on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The cancellation token to use. @@ -469,8 +469,8 @@ internal HttpMessage CreateRefreshRequest(string subscriptionId, string resource } /// Refreshes the share metadata with the data from the cloud. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The cancellation token to use. @@ -496,8 +496,8 @@ public async Task RefreshAsync(string subscriptionId, string resourceG } /// Refreshes the share metadata with the data from the cloud. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The share name. /// The cancellation token to use. @@ -546,8 +546,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Lists all the shares in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -577,8 +577,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPageAsync(stri /// Lists all the shares in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountCredentialsRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountCredentialsRestOperations.cs index 58132eef0cc0..2767b8bfee8d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountCredentialsRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountCredentialsRestOperations.cs @@ -32,7 +32,7 @@ public StorageAccountCredentialsRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDevic } /// Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -169,8 +169,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified storage account credential. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account credential name. /// The cancellation token to use. @@ -202,8 +202,8 @@ public async Task> GetAsync(st } /// Gets the properties of the specified storage account credential. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account credential name. /// The cancellation token to use. @@ -277,8 +277,8 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates the storage account credential. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account credential name. /// The storage account credential. @@ -306,8 +306,8 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates the storage account credential. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account credential name. /// The storage account credential. @@ -373,8 +373,8 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the storage account credential. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account credential name. /// The cancellation token to use. @@ -401,8 +401,8 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the storage account credential. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account credential name. /// The cancellation token to use. @@ -452,8 +452,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -483,8 +483,8 @@ public async Task> ListByDataBoxEdgeDevic /// Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountsRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountsRestOperations.cs index 5a5dcdced557..b4959900f043 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountsRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/StorageAccountsRestOperations.cs @@ -32,7 +32,7 @@ public StorageAccountsRestOperations(HttpPipeline pipeline, string applicationId { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -73,8 +73,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -102,8 +102,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(str } /// Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , or is null. @@ -169,8 +169,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a StorageAccount by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account name. /// The cancellation token to use. @@ -202,8 +202,8 @@ public async Task> GetAsync(string subsc } /// Gets a StorageAccount by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The storage account name. /// The cancellation token to use. @@ -277,10 +277,10 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates a new StorageAccount or updates an existing StorageAccount on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The StorageAccount name. + /// The storage account name. /// The StorageAccount properties. /// The cancellation token to use. /// , , , or is null. @@ -306,10 +306,10 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates a new StorageAccount or updates an existing StorageAccount on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The StorageAccount name. + /// The storage account name. /// The StorageAccount properties. /// The cancellation token to use. /// , , , or is null. @@ -373,10 +373,10 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The StorageAccount name. + /// The storage account name. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -400,10 +400,10 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. - /// The StorageAccount name. + /// The storage account name. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -450,8 +450,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. @@ -481,8 +481,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPageA /// Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The cancellation token to use. /// , , or is null. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SupportPackagesRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SupportPackagesRestOperations.cs index 4109df60c6ef..67326299f29d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SupportPackagesRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/SupportPackagesRestOperations.cs @@ -31,7 +31,7 @@ public SupportPackagesRestOperations(HttpPipeline pipeline, string applicationId { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -76,8 +76,8 @@ internal HttpMessage CreateTriggerSupportPackageRequest(string subscriptionId, s } /// Triggers support package on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The trigger support package request object. /// The cancellation token to use. @@ -103,8 +103,8 @@ public async Task TriggerSupportPackageAsync(string subscriptionId, st } /// Triggers support package on the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The trigger support package request object. /// The cancellation token to use. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/TriggersRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/TriggersRestOperations.cs index 15d900a7d8cc..8ea756eb08a8 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/TriggersRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/TriggersRestOperations.cs @@ -32,7 +32,7 @@ public TriggersRestOperations(HttpPipeline pipeline, string applicationId, Uri e { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -81,8 +81,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Lists all the triggers configured in the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='CustomContextTag eq <tag>' to filter on custom context tag property. /// The cancellation token to use. @@ -111,8 +111,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(string sub } /// Lists all the triggers configured in the device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='CustomContextTag eq <tag>' to filter on custom context tag property. /// The cancellation token to use. @@ -179,8 +179,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Get a specific trigger by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The trigger name. /// The cancellation token to use. @@ -212,8 +212,8 @@ public async Task> GetAsync(string subscription } /// Get a specific trigger by name. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The trigger name. /// The cancellation token to use. @@ -287,9 +287,9 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates a trigger. - /// The subscription ID. - /// The resource group name. - /// Creates or updates a trigger. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The device name. /// The trigger name. /// The trigger. /// The cancellation token to use. @@ -316,9 +316,9 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates a trigger. - /// The subscription ID. - /// The resource group name. - /// Creates or updates a trigger. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. + /// The device name. /// The trigger name. /// The trigger. /// The cancellation token to use. @@ -383,8 +383,8 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the trigger on the gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The trigger name. /// The cancellation token to use. @@ -411,8 +411,8 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the trigger on the gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The trigger name. /// The cancellation token to use. @@ -462,8 +462,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Lists all the triggers configured in the device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='CustomContextTag eq <tag>' to filter on custom context tag property. /// The cancellation token to use. @@ -494,8 +494,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPageAsync(st /// Lists all the triggers configured in the device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='CustomContextTag eq <tag>' to filter on custom context tag property. /// The cancellation token to use. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/UsersRestOperations.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/UsersRestOperations.cs index a62714546b5c..ace2da1df653 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/UsersRestOperations.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/RestOperations/UsersRestOperations.cs @@ -32,7 +32,7 @@ public UsersRestOperations(HttpPipeline pipeline, string applicationId, Uri endp { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-03-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -81,8 +81,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceRequest(string subscriptionId, } /// Gets all the users registered on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='Type eq <type>' to filter on user type property. /// The cancellation token to use. @@ -111,8 +111,8 @@ public async Task> ListByDataBoxEdgeDeviceAsync(string subscr } /// Gets all the users registered on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='Type eq <type>' to filter on user type property. /// The cancellation token to use. @@ -179,8 +179,8 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified user. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The user name. /// The cancellation token to use. @@ -212,8 +212,8 @@ public async Task> GetAsync(string subscriptionId, } /// Gets the properties of the specified user. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The user name. /// The cancellation token to use. @@ -287,8 +287,8 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The user name. /// The user details. @@ -316,8 +316,8 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The user name. /// The user details. @@ -383,8 +383,8 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes the user on a databox edge/gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The user name. /// The cancellation token to use. @@ -411,8 +411,8 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes the user on a databox edge/gateway device. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// The user name. /// The cancellation token to use. @@ -462,8 +462,8 @@ internal HttpMessage CreateListByDataBoxEdgeDeviceNextPageRequest(string nextLin /// Gets all the users registered on a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='Type eq <type>' to filter on user type property. /// The cancellation token to use. @@ -494,8 +494,8 @@ public async Task> ListByDataBoxEdgeDeviceNextPageAsync(strin /// Gets all the users registered on a Data Box Edge/Data Box Gateway device. /// The URL to the next page of results. - /// The subscription ID. - /// The resource group name. + /// The ID of the target subscription. + /// The name of the resource group. The name is case insensitive. /// The device name. /// Specify $filter='Type eq <type>' to filter on user type property. /// The cancellation token to use. diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md index bf8cedb63548..0793502d1151 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md @@ -7,7 +7,7 @@ azure-arm: true csharp: true library-name: DataBoxEdge namespace: Azure.ResourceManager.DataBoxEdge -require: https://github.com/Azure/azure-rest-api-specs/blob/df70965d3a207eb2a628c96aa6ed935edc6b7911/specification/databoxedge/resource-manager/readme.md +require: https://github.com/Azure/azure-rest-api-specs/blob/78fd8f85507c9a12d47bd8953b864353a6005080/specification/databoxedge/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true sample-gen: @@ -258,11 +258,11 @@ suppress-abstract-base-class: directive: - remove-operation: OperationsStatus_Get - - from: databoxedge.json + - from: openapi.json where: $.definitions.DataBoxEdgeSku.properties transform: > $.locations.items['x-ms-format'] = 'azure-location'; - - from: databoxedge.json + - from: openapi.json where: $.definitions transform: > $.GenerateCertResponse.properties.expiryTimeInUTC['format'] = 'date-time'; diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs index 29bd0c74d4a4..80494bb81c94 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs @@ -7,7 +7,6 @@ using System; using System.Threading.Tasks; -using System.Xml; using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; @@ -21,7 +20,7 @@ public partial class Sample_BandwidthScheduleCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BandwidthSchedulePut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthSchedulePut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json // this example is just showing the usage of "BandwidthSchedules_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -42,7 +41,7 @@ public async Task CreateOrUpdate_BandwidthSchedulePut() // invoke the operation string name = "bandwidth-1"; - BandwidthScheduleData data = new BandwidthScheduleData(XmlConvert.ToTimeSpan("0:0:0"), XmlConvert.ToTimeSpan("13:59:0"), 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); + BandwidthScheduleData data = new BandwidthScheduleData("0:0:0", "13:59:0", 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, name, data); BandwidthScheduleResource result = lro.Value; @@ -57,7 +56,7 @@ public async Task CreateOrUpdate_BandwidthSchedulePut() [Ignore("Only validating compilation of examples")] public async Task Get_BandwidthScheduleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json // this example is just showing the usage of "BandwidthSchedules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -91,7 +90,7 @@ public async Task Get_BandwidthScheduleGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_BandwidthScheduleGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json // this example is just showing the usage of "BandwidthSchedules_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -127,7 +126,7 @@ public async Task GetAll_BandwidthScheduleGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_BandwidthScheduleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json // this example is just showing the usage of "BandwidthSchedules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -157,7 +156,7 @@ public async Task Exists_BandwidthScheduleGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BandwidthScheduleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json // this example is just showing the usage of "BandwidthSchedules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs index 33313a66f128..23a3b5c2f3dc 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs @@ -7,7 +7,6 @@ using System; using System.Threading.Tasks; -using System.Xml; using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; @@ -21,7 +20,7 @@ public partial class Sample_BandwidthScheduleResource [Ignore("Only validating compilation of examples")] public async Task Get_BandwidthScheduleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json // this example is just showing the usage of "BandwidthSchedules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +51,7 @@ public async Task Get_BandwidthScheduleGet() [Ignore("Only validating compilation of examples")] public async Task Delete_BandwidthScheduleDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json // this example is just showing the usage of "BandwidthSchedules_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -79,7 +78,7 @@ public async Task Delete_BandwidthScheduleDelete() [Ignore("Only validating compilation of examples")] public async Task Update_BandwidthSchedulePut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthSchedulePut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json // this example is just showing the usage of "BandwidthSchedules_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -97,7 +96,7 @@ public async Task Update_BandwidthSchedulePut() BandwidthScheduleResource bandwidthSchedule = client.GetBandwidthScheduleResource(bandwidthScheduleResourceId); // invoke the operation - BandwidthScheduleData data = new BandwidthScheduleData(XmlConvert.ToTimeSpan("0:0:0"), XmlConvert.ToTimeSpan("13:59:0"), 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); + BandwidthScheduleData data = new BandwidthScheduleData("0:0:0", "13:59:0", 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); ArmOperation lro = await bandwidthSchedule.UpdateAsync(WaitUntil.Completed, data); BandwidthScheduleResource result = lro.Value; diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs index 4432d334bc81..9f59e21865c2 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_DataBoxEdgeAlertCollection [Ignore("Only validating compilation of examples")] public async Task Get_AlertGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/AlertGet.json // this example is just showing the usage of "Alerts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_AlertGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_AlertGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json // this example is just showing the usage of "Alerts_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task GetAll_AlertGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_AlertGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/AlertGet.json // this example is just showing the usage of "Alerts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -119,7 +119,7 @@ public async Task Exists_AlertGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AlertGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/AlertGet.json // this example is just showing the usage of "Alerts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs index b6077691c826..6bc92a8a769a 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs @@ -19,7 +19,7 @@ public partial class Sample_DataBoxEdgeAlertResource [Ignore("Only validating compilation of examples")] public async Task Get_AlertGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/AlertGet.json // this example is just showing the usage of "Alerts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs index cada83aa1172..8d302e6d4f40 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_DataBoxEdgeDeviceCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataBoxEdgeDevicePut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDevicePut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json // this example is just showing the usage of "Devices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -64,7 +64,7 @@ public async Task CreateOrUpdate_DataBoxEdgeDevicePut() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataBoxEdgeDevicePutWithDataResidency() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDevicePutWithDataResidency.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json // this example is just showing the usage of "Devices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -108,7 +108,7 @@ public async Task CreateOrUpdate_DataBoxEdgeDevicePutWithDataResidency() [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByName() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -141,7 +141,7 @@ public async Task Get_DataBoxEdgeDeviceGetByName() [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -174,7 +174,7 @@ public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() [Ignore("Only validating compilation of examples")] public async Task GetAll_DataBoxEdgeDeviceGetByResourceGroup() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json // this example is just showing the usage of "Devices_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -209,7 +209,7 @@ public async Task GetAll_DataBoxEdgeDeviceGetByResourceGroup() [Ignore("Only validating compilation of examples")] public async Task Exists_DataBoxEdgeDeviceGetByName() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -238,7 +238,7 @@ public async Task Exists_DataBoxEdgeDeviceGetByName() [Ignore("Only validating compilation of examples")] public async Task Exists_DataBoxEdgeDeviceGetByNameWithDataResidency() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -267,7 +267,7 @@ public async Task Exists_DataBoxEdgeDeviceGetByNameWithDataResidency() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataBoxEdgeDeviceGetByName() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -308,7 +308,7 @@ public async Task GetIfExists_DataBoxEdgeDeviceGetByName() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataBoxEdgeDeviceGetByNameWithDataResidency() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs index 23a7749b85c3..3a7443e395fd 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs @@ -21,7 +21,7 @@ public partial class Sample_DataBoxEdgeDeviceResource [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByName() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_DataBoxEdgeDeviceGetByName() [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json // this example is just showing the usage of "Devices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -81,7 +81,7 @@ public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() [Ignore("Only validating compilation of examples")] public async Task Delete_DataBoxEdgeDeviceDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json // this example is just showing the usage of "Devices_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -107,7 +107,7 @@ public async Task Delete_DataBoxEdgeDeviceDelete() [Ignore("Only validating compilation of examples")] public async Task Update_DataBoxEdgeDevicePatch() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDevicePatch.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json // this example is just showing the usage of "Devices_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -141,7 +141,7 @@ public async Task Update_DataBoxEdgeDevicePatch() [Ignore("Only validating compilation of examples")] public async Task DownloadUpdates_DownloadUpdatesPost() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DownloadUpdatesPost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json // this example is just showing the usage of "Devices_DownloadUpdates" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -167,7 +167,7 @@ public async Task DownloadUpdates_DownloadUpdatesPost() [Ignore("Only validating compilation of examples")] public async Task GenerateCertificate_GenerateCertificate() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GenerateCertificate.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json // this example is just showing the usage of "Devices_GenerateCertificate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -193,7 +193,7 @@ public async Task GenerateCertificate_GenerateCertificate() [Ignore("Only validating compilation of examples")] public async Task GetExtendedInformation_ExtendedInfoPost() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ExtendedInfoPost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json // this example is just showing the usage of "Devices_GetExtendedInformation" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -219,7 +219,7 @@ public async Task GetExtendedInformation_ExtendedInfoPost() [Ignore("Only validating compilation of examples")] public async Task InstallUpdates_InstallUpdatesPost() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/InstallUpdatesPost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json // this example is just showing the usage of "Devices_InstallUpdates" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -245,7 +245,7 @@ public async Task InstallUpdates_InstallUpdatesPost() [Ignore("Only validating compilation of examples")] public async Task GetNetworkSettings_NetworkSettingsGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/NetworkSettingsGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json // this example is just showing the usage of "Devices_GetNetworkSettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -271,7 +271,7 @@ public async Task GetNetworkSettings_NetworkSettingsGet() [Ignore("Only validating compilation of examples")] public async Task ScanForUpdates_ScanForUpdatesPost() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ScanForUpdatesPost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json // this example is just showing the usage of "Devices_ScanForUpdates" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -297,7 +297,7 @@ public async Task ScanForUpdates_ScanForUpdatesPost() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateSecuritySettings_CreateOrUpdateSecuritySettings() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SecuritySettingsUpdatePost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json // this example is just showing the usage of "Devices_CreateOrUpdateSecuritySettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -327,7 +327,7 @@ public async Task CreateOrUpdateSecuritySettings_CreateOrUpdateSecuritySettings( [Ignore("Only validating compilation of examples")] public async Task UpdateExtendedInformation_GetUpdateExtendedInfo() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetUpdateExtendedInfo.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json // this example is just showing the usage of "Devices_UpdateExtendedInformation" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -354,7 +354,7 @@ public async Task UpdateExtendedInformation_GetUpdateExtendedInfo() [Ignore("Only validating compilation of examples")] public async Task GetUpdateSummary_UpdateSummaryGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UpdateSummaryGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json // this example is just showing the usage of "Devices_GetUpdateSummary" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -380,7 +380,7 @@ public async Task GetUpdateSummary_UpdateSummaryGet() [Ignore("Only validating compilation of examples")] public async Task UploadCertificate_UploadCertificatePost() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UploadCertificatePost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json // this example is just showing the usage of "Devices_UploadCertificate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -407,7 +407,7 @@ public async Task UploadCertificate_UploadCertificatePost() [Ignore("Only validating compilation of examples")] public async Task CheckResourceCreationFeasibility_DeviceCapacityRequestPost() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeviceCapacityRequestPost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json // this example is just showing the usage of "DeviceCapacityCheck_CheckResourceCreationFeasibility" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -437,7 +437,7 @@ public async Task CheckResourceCreationFeasibility_DeviceCapacityRequestPost() [Ignore("Only validating compilation of examples")] public async Task GetDeviceCapacityInfo_DeviceCapacityGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeviceCapacityGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json // this example is just showing the usage of "DeviceCapacityInfo_GetDeviceCapacityInfo" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -463,7 +463,7 @@ public async Task GetDeviceCapacityInfo_DeviceCapacityGet() [Ignore("Only validating compilation of examples")] public async Task GetEdgeNodes_NodesGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/NodeGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json // this example is just showing the usage of "Nodes_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -492,7 +492,7 @@ public async Task GetEdgeNodes_NodesGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task TriggerSupportPackage_TriggerSupportPackage() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerSupportPackage.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json // this example is just showing the usage of "SupportPackages_TriggerSupportPackage" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs index 15615f65d5af..a1fb24f006d7 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_DataBoxEdgeJobCollection [Ignore("Only validating compilation of examples")] public async Task Get_JobsGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/JobsGet.json // this example is just showing the usage of "Jobs_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_JobsGet() [Ignore("Only validating compilation of examples")] public async Task Exists_JobsGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/JobsGet.json // this example is just showing the usage of "Jobs_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -83,7 +83,7 @@ public async Task Exists_JobsGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_JobsGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/JobsGet.json // this example is just showing the usage of "Jobs_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobResource.cs index 597362532431..fbe2adfbc29c 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeJobResource.cs @@ -19,7 +19,7 @@ public partial class Sample_DataBoxEdgeJobResource [Ignore("Only validating compilation of examples")] public async Task Get_JobsGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/JobsGet.json // this example is just showing the usage of "Jobs_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs index f9cdd6d4a5a8..20e7b09c18f4 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeOrderResource [Ignore("Only validating compilation of examples")] public async Task Get_OrderGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/OrderGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/OrderGet.json // this example is just showing the usage of "Orders_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_OrderGet() [Ignore("Only validating compilation of examples")] public async Task Delete_OrderDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/OrderDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json // this example is just showing the usage of "Orders_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -76,7 +76,7 @@ public async Task Delete_OrderDelete() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OrderPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/OrderPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/OrderPut.json // this example is just showing the usage of "Orders_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -120,7 +120,7 @@ public async Task CreateOrUpdate_OrderPut() [Ignore("Only validating compilation of examples")] public async Task GetDataCenterAccessCode_GetDCAccessCode() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetDCAccessCode.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json // this example is just showing the usage of "Orders_ListDCAccessCode" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs index 2b87b7b2c3aa..3145b1a64249 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeRoleAddonCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/PutAddons.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/PutAddons.json // this example is just showing the usage of "Addons_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task CreateOrUpdate_PutAddOns() [Ignore("Only validating compilation of examples")] public async Task Get_GetAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetAddons.json // this example is just showing the usage of "Addons_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_GetAddOns() [Ignore("Only validating compilation of examples")] public async Task GetAll_RoleListAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleListAddOns.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json // this example is just showing the usage of "Addons_ListByRole" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task GetAll_RoleListAddOns() [Ignore("Only validating compilation of examples")] public async Task Exists_GetAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetAddons.json // this example is just showing the usage of "Addons_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -160,7 +160,7 @@ public async Task Exists_GetAddOns() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetAddons.json // this example is just showing the usage of "Addons_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs index e618798f0b95..317c34410cdc 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeRoleAddonResource [Ignore("Only validating compilation of examples")] public async Task Get_GetAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetAddons.json // this example is just showing the usage of "Addons_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_GetAddOns() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeleteAddons.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json // this example is just showing the usage of "Addons_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -80,7 +80,7 @@ public async Task Delete_DeleteAddOns() [Ignore("Only validating compilation of examples")] public async Task Update_PutAddOns() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/PutAddons.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/PutAddons.json // this example is just showing the usage of "Addons_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs index 7a028c1b75d2..133d7ebe548e 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeRoleCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RolePut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RolePut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RolePut.json // this example is just showing the usage of "Roles_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -75,7 +75,7 @@ public async Task CreateOrUpdate_RolePut() [Ignore("Only validating compilation of examples")] public async Task Get_RoleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RoleGet.json // this example is just showing the usage of "Roles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -109,7 +109,7 @@ public async Task Get_RoleGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_RoleGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json // this example is just showing the usage of "Roles_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -145,7 +145,7 @@ public async Task GetAll_RoleGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_RoleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RoleGet.json // this example is just showing the usage of "Roles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -175,7 +175,7 @@ public async Task Exists_RoleGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RoleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RoleGet.json // this example is just showing the usage of "Roles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs index 53947796dc19..51c6398fad4a 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeRoleResource [Ignore("Only validating compilation of examples")] public async Task Get_RoleGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RoleGet.json // this example is just showing the usage of "Roles_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_RoleGet() [Ignore("Only validating compilation of examples")] public async Task Delete_RoleDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json // this example is just showing the usage of "Roles_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_RoleDelete() [Ignore("Only validating compilation of examples")] public async Task Update_RolePut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RolePut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/RolePut.json // this example is just showing the usage of "Roles_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs index 4fd864770d13..41b6661284d1 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeShareCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SharePut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SharePut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SharePut.json // this example is just showing the usage of "Shares_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -62,7 +62,7 @@ public async Task CreateOrUpdate_SharePut() [Ignore("Only validating compilation of examples")] public async Task Get_ShareGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ShareGet.json // this example is just showing the usage of "Shares_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -96,7 +96,7 @@ public async Task Get_ShareGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ShareGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json // this example is just showing the usage of "Shares_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -132,7 +132,7 @@ public async Task GetAll_ShareGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_ShareGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ShareGet.json // this example is just showing the usage of "Shares_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -162,7 +162,7 @@ public async Task Exists_ShareGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ShareGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ShareGet.json // this example is just showing the usage of "Shares_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareResource.cs index afc15a5197a1..6e95fff26fbd 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeShareResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeShareResource [Ignore("Only validating compilation of examples")] public async Task Get_ShareGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ShareGet.json // this example is just showing the usage of "Shares_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_ShareGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ShareDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json // this example is just showing the usage of "Shares_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_ShareDelete() [Ignore("Only validating compilation of examples")] public async Task Update_SharePut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SharePut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SharePut.json // this example is just showing the usage of "Shares_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -117,7 +117,7 @@ public async Task Update_SharePut() [Ignore("Only validating compilation of examples")] public async Task Refresh_ShareRefreshPost() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareRefreshPost.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json // this example is just showing the usage of "Shares_Refresh" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs index 36bc32d7a061..0757b8be8258 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeStorageAccountCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json // this example is just showing the usage of "StorageAccounts_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -61,7 +61,7 @@ public async Task CreateOrUpdate_StorageAccountPut() [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json // this example is just showing the usage of "StorageAccounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -95,7 +95,7 @@ public async Task Get_StorageAccountGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageAccountGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json // this example is just showing the usage of "StorageAccounts_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -131,7 +131,7 @@ public async Task GetAll_StorageAccountGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json // this example is just showing the usage of "StorageAccounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -161,7 +161,7 @@ public async Task Exists_StorageAccountGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json // this example is just showing the usage of "StorageAccounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs index fb7d18c5a742..c3c5f1bd5251 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeStorageAccountCredentialCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SACPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACPut.json // this example is just showing the usage of "StorageAccountCredentials_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -63,7 +63,7 @@ public async Task CreateOrUpdate_SACPut() [Ignore("Only validating compilation of examples")] public async Task Get_SACGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACGet.json // this example is just showing the usage of "StorageAccountCredentials_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -97,7 +97,7 @@ public async Task Get_SACGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_SACGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json // this example is just showing the usage of "StorageAccountCredentials_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -133,7 +133,7 @@ public async Task GetAll_SACGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_SACGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACGet.json // this example is just showing the usage of "StorageAccountCredentials_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -163,7 +163,7 @@ public async Task Exists_SACGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SACGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACGet.json // this example is just showing the usage of "StorageAccountCredentials_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs index 00e2f26b5ad7..d9bb67b7dbd0 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeStorageAccountCredentialResource [Ignore("Only validating compilation of examples")] public async Task Get_SACGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACGet.json // this example is just showing the usage of "StorageAccountCredentials_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_SACGet() [Ignore("Only validating compilation of examples")] public async Task Delete_SACDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACDelete.json // this example is just showing the usage of "StorageAccountCredentials_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_SACDelete() [Ignore("Only validating compilation of examples")] public async Task Update_SACPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/SACPut.json // this example is just showing the usage of "StorageAccountCredentials_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs index a7988688d476..9762f3211221 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeStorageAccountResource [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json // this example is just showing the usage of "StorageAccounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_StorageAccountGet() [Ignore("Only validating compilation of examples")] public async Task Delete_StorageAccountDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json // this example is just showing the usage of "StorageAccounts_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_StorageAccountDelete() [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json // this example is just showing the usage of "StorageAccounts_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs index e17cd3fdcbe9..abea8f7d5da7 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeStorageContainerCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json // this example is just showing the usage of "Containers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task CreateOrUpdate_ContainerPut() [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json // this example is just showing the usage of "Containers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_ContainerGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ContainerListAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerListAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json // this example is just showing the usage of "Containers_ListByStorageAccount" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task GetAll_ContainerListAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json // this example is just showing the usage of "Containers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -160,7 +160,7 @@ public async Task Exists_ContainerGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json // this example is just showing the usage of "Containers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs index 13c1e3e8b81e..7db82c8f9c62 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeStorageContainerResource [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json // this example is just showing the usage of "Containers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_ContainerGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ContainerDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json // this example is just showing the usage of "Containers_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -80,7 +80,7 @@ public async Task Delete_ContainerDelete() [Ignore("Only validating compilation of examples")] public async Task Update_ContainerPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json // this example is just showing the usage of "Containers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -114,7 +114,7 @@ public async Task Update_ContainerPut() [Ignore("Only validating compilation of examples")] public async Task Refresh_ContainerRefresh() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerRefresh.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json // this example is just showing the usage of "Containers_Refresh" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs index d580f8b79b10..4651cd3665cd 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeTriggerCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TriggerPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json // this example is just showing the usage of "Triggers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -59,7 +59,7 @@ public async Task CreateOrUpdate_TriggerPut() [Ignore("Only validating compilation of examples")] public async Task Get_TriggerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Get_TriggerGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_TriggerGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json // this example is just showing the usage of "Triggers_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task GetAll_TriggerGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_TriggerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -159,7 +159,7 @@ public async Task Exists_TriggerGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TriggerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs index 653745333baa..ca128423f433 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeTriggerResource [Ignore("Only validating compilation of examples")] public async Task Get_TriggerGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_TriggerGet() [Ignore("Only validating compilation of examples")] public async Task Delete_TriggerDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json // this example is just showing the usage of "Triggers_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_TriggerDelete() [Ignore("Only validating compilation of examples")] public async Task Update_TriggerPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json // this example is just showing the usage of "Triggers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs index 57c6fa4a8a40..50cb8a5e2922 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeUserCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UserPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserPut.json // this example is just showing the usage of "Users_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -62,7 +62,7 @@ public async Task CreateOrUpdate_UserPut() [Ignore("Only validating compilation of examples")] public async Task Get_UserGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserGet.json // this example is just showing the usage of "Users_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -96,7 +96,7 @@ public async Task Get_UserGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_UserGetAllInDevice() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGetAllInDevice.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json // this example is just showing the usage of "Users_ListByDataBoxEdgeDevice" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -132,7 +132,7 @@ public async Task GetAll_UserGetAllInDevice() [Ignore("Only validating compilation of examples")] public async Task Exists_UserGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserGet.json // this example is just showing the usage of "Users_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -162,7 +162,7 @@ public async Task Exists_UserGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_UserGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserGet.json // this example is just showing the usage of "Users_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserResource.cs index 893bbf2c59b1..248611ec69bd 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DataBoxEdgeUserResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataBoxEdgeUserResource [Ignore("Only validating compilation of examples")] public async Task Get_UserGet() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserGet.json // this example is just showing the usage of "Users_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_UserGet() [Ignore("Only validating compilation of examples")] public async Task Delete_UserDelete() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserDelete.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserDelete.json // this example is just showing the usage of "Users_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_UserDelete() [Ignore("Only validating compilation of examples")] public async Task Update_UserPut() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserPut.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UserPut.json // this example is just showing the usage of "Users_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs index ad8e40155805..3d56d9ad0cd9 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DiagnosticProactiveLogCollectionSettingResource [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticProactiveLogCollectionSettings() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetDiagnosticProactiveLogCollectionSettings.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json // this example is just showing the usage of "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_GetDiagnosticProactiveLogCollectionSettings() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateDiagnosticProactiveLogCollectionSettings() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json // this example is just showing the usage of "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs index 44db566c59d2..1bcffae7a96d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DiagnosticRemoteSupportSettingResource [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticRemoteSupportSettings() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetDiagnosticRemoteSupportSettings.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json // this example is just showing the usage of "DiagnosticSettings_GetDiagnosticRemoteSupportSettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_GetDiagnosticRemoteSupportSettings() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateDiagnosticRemoteSupportSettings() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UpdateDiagnosticRemoteSupportSettings.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json // this example is just showing the usage of "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs index bdb0d21430c6..d2927964662b 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs @@ -20,7 +20,7 @@ public partial class Sample_MonitoringMetricConfigurationResource [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitoringConfig() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetMonitoringConfig.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json // this example is just showing the usage of "MonitoringConfig_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_GetMonitoringConfig() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteMonitoringConfig() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeleteMonitoringConfig.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json // this example is just showing the usage of "MonitoringConfig_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_DeleteMonitoringConfig() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutMonitoringConfig() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/PutMonitoringConfig.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json // this example is just showing the usage of "MonitoringConfig_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index b8b6a440fa47..9ada4f8bd934 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -21,7 +21,7 @@ public partial class Sample_SubscriptionResourceExtensions [Ignore("Only validating compilation of examples")] public async Task GetAvailableSkus_AvailableSkus() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AvailableSkusList.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json // this example is just showing the usage of "AvailableSkus_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -48,7 +48,7 @@ public async Task GetAvailableSkus_AvailableSkus() [Ignore("Only validating compilation of examples")] public async Task GetDataBoxEdgeDevices_DataBoxEdgeDeviceGetBySubscription() { - // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetBySubscription.json + // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json // this example is just showing the usage of "Devices_ListBySubscription" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line From 5748b2172ac7fa813ad40346e2c3f9c0f1317ca2 Mon Sep 17 00:00:00 2001 From: Minghao Chen <30464227+HarveyLink@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:36:40 +0800 Subject: [PATCH 2/3] regen - 2 --- .../src/Generated/ArmDataBoxEdgeModelFactory.cs | 8 ++++---- .../Generated/BandwidthScheduleData.Serialization.cs | 12 ++++++------ .../src/Generated/BandwidthScheduleData.cs | 12 +++++------- .../Models/AvailableDataBoxEdgeSku.Serialization.cs | 8 ++++---- .../src/Generated/Models/AvailableDataBoxEdgeSku.cs | 7 ++++--- .../Models/GenerateCertResult.Serialization.cs | 10 +++++++--- .../src/Generated/Models/GenerateCertResult.cs | 4 ++-- .../Samples/Sample_BandwidthScheduleCollection.cs | 3 ++- .../Samples/Sample_BandwidthScheduleResource.cs | 3 ++- 9 files changed, 36 insertions(+), 31 deletions(-) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs index f07d09bbe621..ed6cbd94309a 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/ArmDataBoxEdgeModelFactory.cs @@ -35,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(); @@ -262,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, string startOn = null, string stopOn = null, int rateInMbps = default, IEnumerable days = null) + 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) { days ??= new List(); @@ -353,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, string expireOn = null) + public static GenerateCertResult GenerateCertResult(string publicKey = null, string privateKey = null, DateTimeOffset? expireOn = null) { return new GenerateCertResult(publicKey, privateKey, expireOn, serializedAdditionalRawData: null); } 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 6e135833d42d..68910c57a95b 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); + writer.WriteStringValue(StartOn, "T"); writer.WritePropertyName("stop"u8); - writer.WriteStringValue(StopOn); + writer.WriteStringValue(StopOn, "T"); 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; - string start = default; - string stop = default; + TimeSpan start = default; + TimeSpan 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.GetString(); + start = property0.Value.GetTimeSpan("T"); continue; } if (property0.NameEquals("stop"u8)) { - stop = property0.Value.GetString(); + stop = property0.Value.GetTimeSpan("T"); 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 0e4a76b4ebb5..4ac0f2a86c74 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/BandwidthScheduleData.cs @@ -57,11 +57,9 @@ 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. - /// , or is null. - public BandwidthScheduleData(string startOn, string stopOn, int rateInMbps, IEnumerable days) + /// is null. + public BandwidthScheduleData(TimeSpan startOn, TimeSpan stopOn, int rateInMbps, IEnumerable days) { - Argument.AssertNotNull(startOn, nameof(startOn)); - Argument.AssertNotNull(stopOn, nameof(stopOn)); Argument.AssertNotNull(days, nameof(days)); StartOn = startOn; @@ -80,7 +78,7 @@ public BandwidthScheduleData(string startOn, string stopOn, int rateInMbps, IEnu /// 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, string startOn, string stopOn, int rateInMbps, IList days, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) + 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) { StartOn = startOn; StopOn = stopOn; @@ -95,9 +93,9 @@ internal BandwidthScheduleData() } /// The start time of the schedule in UTC. - public string StartOn { get; set; } + public TimeSpan StartOn { get; set; } /// The stop time of the schedule in UTC. - public string StopOn { get; set; } + public TimeSpan 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/Models/AvailableDataBoxEdgeSku.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.Serialization.cs index 229a707e9697..2619ee2b72ac 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(item.GetString()); + array.Add(new AzureLocation(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 d8675ceb3d1b..518abbe424c5 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/AvailableDataBoxEdgeSku.cs @@ -7,6 +7,7 @@ using System; using System.Collections.Generic; +using Azure.Core; namespace Azure.ResourceManager.DataBoxEdge.Models { @@ -48,7 +49,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(); @@ -73,7 +74,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; @@ -106,7 +107,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/GenerateCertResult.Serialization.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/Generated/Models/GenerateCertResult.Serialization.cs index cecda9242de1..352ee644d976 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); + writer.WriteStringValue(ExpireOn.Value, "O"); } if (options.Format != "W" && _serializedAdditionalRawData != null) { @@ -88,7 +88,7 @@ internal static GenerateCertResult DeserializeGenerateCertResult(JsonElement ele } string publicKey = default; string privateKey = default; - string expiryTimeInUtc = default; + DateTimeOffset? expiryTimeInUtc = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -105,7 +105,11 @@ internal static GenerateCertResult DeserializeGenerateCertResult(JsonElement ele } if (property.NameEquals("expiryTimeInUTC"u8)) { - expiryTimeInUtc = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + expiryTimeInUtc = property.Value.GetDateTimeOffset("O"); 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 1cbc8240103a..82979cd6ce78 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, string expireOn, IDictionary serializedAdditionalRawData) + internal GenerateCertResult(string publicKey, string privateKey, DateTimeOffset? expireOn, IDictionary serializedAdditionalRawData) { PublicKey = publicKey; PrivateKey = privateKey; @@ -80,6 +80,6 @@ internal GenerateCertResult(string publicKey, string privateKey, string expireOn /// public string PrivateKey { get; } /// Gets or sets expiry time in UTC. - public string ExpireOn { get; } + public DateTimeOffset? ExpireOn { get; } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs index 80494bb81c94..62b8b5065164 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleCollection.cs @@ -7,6 +7,7 @@ using System; using System.Threading.Tasks; +using System.Xml; using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; @@ -41,7 +42,7 @@ public async Task CreateOrUpdate_BandwidthSchedulePut() // invoke the operation string name = "bandwidth-1"; - BandwidthScheduleData data = new BandwidthScheduleData("0:0:0", "13:59:0", 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); + BandwidthScheduleData data = new BandwidthScheduleData(XmlConvert.ToTimeSpan("0:0:0"), XmlConvert.ToTimeSpan("13:59:0"), 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, name, data); BandwidthScheduleResource result = lro.Value; diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs index 23a3b5c2f3dc..f4e7e4378bc4 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/tests/Generated/Samples/Sample_BandwidthScheduleResource.cs @@ -7,6 +7,7 @@ using System; using System.Threading.Tasks; +using System.Xml; using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; @@ -96,7 +97,7 @@ public async Task Update_BandwidthSchedulePut() BandwidthScheduleResource bandwidthSchedule = client.GetBandwidthScheduleResource(bandwidthScheduleResourceId); // invoke the operation - BandwidthScheduleData data = new BandwidthScheduleData("0:0:0", "13:59:0", 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); + BandwidthScheduleData data = new BandwidthScheduleData(XmlConvert.ToTimeSpan("0:0:0"), XmlConvert.ToTimeSpan("13:59:0"), 100, new DataBoxEdgeDayOfWeek[] { DataBoxEdgeDayOfWeek.Sunday, DataBoxEdgeDayOfWeek.Monday }); ArmOperation lro = await bandwidthSchedule.UpdateAsync(WaitUntil.Completed, data); BandwidthScheduleResource result = lro.Value; From 6f106fa5c66c91b3b73b82d93061970b5aae8188 Mon Sep 17 00:00:00 2001 From: Minghao Chen <30464227+HarveyLink@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:54:33 +0800 Subject: [PATCH 3/3] export api --- .../Azure.ResourceManager.DataBoxEdge.net8.0.cs | 14 ++++++++++---- ...e.ResourceManager.DataBoxEdge.netstandard2.0.cs | 14 ++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.net8.0.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.net8.0.cs index 2edd74fc57b6..6a814723dcd7 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.net8.0.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.net8.0.cs @@ -137,6 +137,7 @@ public DataBoxEdgeDeviceData(Azure.Core.AzureLocation location) { } public string FriendlyName { get { throw null; } } public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? Kind { get { throw null; } } + public string KubernetesWorkloadProfile { get { throw null; } } public string ModelDescription { get { throw null; } } public int? NodeCount { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? ResidencyType { get { throw null; } set { } } @@ -272,13 +273,13 @@ protected DataBoxEdgeJobCollection() { } } public partial class DataBoxEdgeJobData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - internal DataBoxEdgeJobData() { } + public DataBoxEdgeJobData() { } public Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage? CurrentStage { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress DownloadProgress { get { throw null; } } public System.DateTimeOffset? EndOn { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails Error { get { throw null; } } public string ErrorManifestFile { get { throw null; } } - public string Folder { get { throw null; } } + public string Folder { get { throw null; } set { } } public Azure.ResourceManager.DataBoxEdge.Models.UpdateInstallProgress InstallProgress { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType? JobType { get { throw null; } } public int? PercentComplete { get { throw null; } } @@ -896,7 +897,9 @@ public static partial class ArmDataBoxEdgeModelFactory public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeAlertErrorDetails DataBoxEdgeAlertErrorDetails(string errorCode = null, string errorMessage = null, int? occurrences = default(int?)) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataCenterAccessCode DataBoxEdgeDataCenterAccessCode(string authCode = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceCapacityInfo DataBoxEdgeDeviceCapacityInfo(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.DateTimeOffset? timeStamp = default(System.DateTimeOffset?), Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterStorageViewInfo clusterStorageCapacityInfo = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterCapacityViewInfo clusterComputeCapacityInfo = null, System.Collections.Generic.IDictionary nodeCapacityInfos = null) { throw null; } - public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceData DataBoxEdgeDeviceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSku sku = null, Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? kind = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus?), string serialNumber = null, string description = null, string modelDescription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType? deviceType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType?), string friendlyName = null, string culture = null, string deviceModel = null, string deviceSoftwareVersion = null, long? deviceLocalCapacity = default(long?), string timeZone = null, string deviceHcsVersion = null, System.Collections.Generic.IEnumerable configuredRoleTypes = null, int? nodeCount = default(int?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeResourceMoveDetails resourceMoveDetails = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeProfileSubscription edgeSubscription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? residencyType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType?)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceData DataBoxEdgeDeviceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSku sku, Azure.ETag? etag, Azure.ResourceManager.Models.ManagedServiceIdentity identity, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? kind, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus, string serialNumber, string description, string modelDescription, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType? deviceType, string friendlyName, string culture, string deviceModel, string deviceSoftwareVersion, long? deviceLocalCapacity, string timeZone, string deviceHcsVersion, System.Collections.Generic.IEnumerable configuredRoleTypes, int? nodeCount, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeResourceMoveDetails resourceMoveDetails, Azure.ResourceManager.DataBoxEdge.Models.EdgeProfileSubscription edgeSubscription, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? residencyType) { throw null; } + public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceData DataBoxEdgeDeviceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSku sku = null, Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? kind = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus?), string serialNumber = null, string description = null, string modelDescription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType? deviceType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType?), string friendlyName = null, string culture = null, string deviceModel = null, string deviceSoftwareVersion = null, long? deviceLocalCapacity = default(long?), string timeZone = null, string deviceHcsVersion = null, System.Collections.Generic.IEnumerable configuredRoleTypes = null, int? nodeCount = default(int?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeResourceMoveDetails resourceMoveDetails = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeProfileSubscription edgeSubscription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? residencyType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType?), string kubernetesWorkloadProfile = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceExtendedInfo DataBoxEdgeDeviceExtendedInfo(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string encryptionKeyThumbprint = null, string encryptionKey = null, string resourceKey = null, Azure.Core.ResourceIdentifier clientSecretStoreId = null, System.Uri clientSecretStoreUri = null, string channelIntegrityKeyName = null, string channelIntegrityKeyVersion = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeKeyVaultSyncStatus? keyVaultSyncStatus = default(Azure.ResourceManager.DataBoxEdge.Models.EdgeKeyVaultSyncStatus?), System.Collections.Generic.IReadOnlyDictionary deviceSecrets = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterWitnessType? clusterWitnessType = default(Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterWitnessType?), string fileShareWitnessLocation = null, string fileShareWitnessUsername = null, string cloudWitnessStorageAccountName = null, string cloudWitnessContainerName = null, string cloudWitnessStorageEndpoint = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceNetworkSettings DataBoxEdgeDeviceNetworkSettings(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IEnumerable networkAdapters = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceSecret DataBoxEdgeDeviceSecret(Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret encryptedSecret = null, string keyVaultId = null) { throw null; } @@ -907,7 +910,9 @@ public static partial class ArmDataBoxEdgeModelFactory public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeJobData DataBoxEdgeJobData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus? status = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus?), System.DateTimeOffset? startOn = default(System.DateTimeOffset?), System.DateTimeOffset? endOn = default(System.DateTimeOffset?), int? percentComplete = default(int?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails error = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType? jobType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType?), Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage? currentStage = default(Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage?), Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress downloadProgress = null, Azure.ResourceManager.DataBoxEdge.Models.UpdateInstallProgress installProgress = null, int? totalRefreshErrors = default(int?), string errorManifestFile = null, Azure.Core.ResourceIdentifier refreshedEntityId = null, string folder = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails DataBoxEdgeJobErrorDetails(System.Collections.Generic.IEnumerable errorDetails = null, string code = null, string message = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorItem DataBoxEdgeJobErrorItem(System.Collections.Generic.IEnumerable recommendations = null, string code = null, string message = null) { throw null; } - public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType = null, string version = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType, string version) { throw null; } + public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType = null, string version = null, System.Collections.Generic.IEnumerable ipRange = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountPointMap DataBoxEdgeMountPointMap(Azure.Core.ResourceIdentifier shareId = null, Azure.Core.ResourceIdentifier roleId = null, string mountPoint = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountType? mountType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountType?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleType? roleType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleType?)) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapter DataBoxEdgeNetworkAdapter(string adapterId = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterPosition adapterPosition = null, int? index = default(int?), System.Guid? nodeId = default(System.Guid?), string networkAdapterName = null, string label = null, string macAddress = null, long? linkSpeed = default(long?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterStatus? status = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterStatus?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterRdmaStatus? rdmaStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterRdmaStatus?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterDhcpStatus? dhcpStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterDhcpStatus?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv4Config ipv4Configuration = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv6Config ipv6Configuration = null, string ipv6LinkLocalAddress = null, System.Collections.Generic.IEnumerable dnsServers = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterPosition DataBoxEdgeNetworkAdapterPosition(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkGroup? networkGroup = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkGroup?), int? port = default(int?)) { throw null; } @@ -1507,6 +1512,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public partial class DataBoxEdgeLoadBalancerConfig : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal DataBoxEdgeLoadBalancerConfig() { } + public System.Collections.Generic.IReadOnlyList IPRange { get { throw null; } } public string LoadBalancerConfigType { get { throw null; } } public string Version { get { throw null; } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.netstandard2.0.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.netstandard2.0.cs index 2edd74fc57b6..6a814723dcd7 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.netstandard2.0.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/api/Azure.ResourceManager.DataBoxEdge.netstandard2.0.cs @@ -137,6 +137,7 @@ public DataBoxEdgeDeviceData(Azure.Core.AzureLocation location) { } public string FriendlyName { get { throw null; } } public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? Kind { get { throw null; } } + public string KubernetesWorkloadProfile { get { throw null; } } public string ModelDescription { get { throw null; } } public int? NodeCount { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? ResidencyType { get { throw null; } set { } } @@ -272,13 +273,13 @@ protected DataBoxEdgeJobCollection() { } } public partial class DataBoxEdgeJobData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - internal DataBoxEdgeJobData() { } + public DataBoxEdgeJobData() { } public Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage? CurrentStage { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress DownloadProgress { get { throw null; } } public System.DateTimeOffset? EndOn { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails Error { get { throw null; } } public string ErrorManifestFile { get { throw null; } } - public string Folder { get { throw null; } } + public string Folder { get { throw null; } set { } } public Azure.ResourceManager.DataBoxEdge.Models.UpdateInstallProgress InstallProgress { get { throw null; } } public Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType? JobType { get { throw null; } } public int? PercentComplete { get { throw null; } } @@ -896,7 +897,9 @@ public static partial class ArmDataBoxEdgeModelFactory public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeAlertErrorDetails DataBoxEdgeAlertErrorDetails(string errorCode = null, string errorMessage = null, int? occurrences = default(int?)) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataCenterAccessCode DataBoxEdgeDataCenterAccessCode(string authCode = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceCapacityInfo DataBoxEdgeDeviceCapacityInfo(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.DateTimeOffset? timeStamp = default(System.DateTimeOffset?), Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterStorageViewInfo clusterStorageCapacityInfo = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterCapacityViewInfo clusterComputeCapacityInfo = null, System.Collections.Generic.IDictionary nodeCapacityInfos = null) { throw null; } - public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceData DataBoxEdgeDeviceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSku sku = null, Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? kind = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus?), string serialNumber = null, string description = null, string modelDescription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType? deviceType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType?), string friendlyName = null, string culture = null, string deviceModel = null, string deviceSoftwareVersion = null, long? deviceLocalCapacity = default(long?), string timeZone = null, string deviceHcsVersion = null, System.Collections.Generic.IEnumerable configuredRoleTypes = null, int? nodeCount = default(int?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeResourceMoveDetails resourceMoveDetails = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeProfileSubscription edgeSubscription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? residencyType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType?)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceData DataBoxEdgeDeviceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSku sku, Azure.ETag? etag, Azure.ResourceManager.Models.ManagedServiceIdentity identity, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? kind, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus, string serialNumber, string description, string modelDescription, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType? deviceType, string friendlyName, string culture, string deviceModel, string deviceSoftwareVersion, long? deviceLocalCapacity, string timeZone, string deviceHcsVersion, System.Collections.Generic.IEnumerable configuredRoleTypes, int? nodeCount, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeResourceMoveDetails resourceMoveDetails, Azure.ResourceManager.DataBoxEdge.Models.EdgeProfileSubscription edgeSubscription, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? residencyType) { throw null; } + public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeDeviceData DataBoxEdgeDeviceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSku sku = null, Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind? kind = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceKind?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus? dataBoxEdgeDeviceStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceStatus?), string serialNumber = null, string description = null, string modelDescription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType? deviceType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceType?), string friendlyName = null, string culture = null, string deviceModel = null, string deviceSoftwareVersion = null, long? deviceLocalCapacity = default(long?), string timeZone = null, string deviceHcsVersion = null, System.Collections.Generic.IEnumerable configuredRoleTypes = null, int? nodeCount = default(int?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeResourceMoveDetails resourceMoveDetails = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeProfileSubscription edgeSubscription = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType? residencyType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataResidencyType?), string kubernetesWorkloadProfile = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceExtendedInfo DataBoxEdgeDeviceExtendedInfo(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string encryptionKeyThumbprint = null, string encryptionKey = null, string resourceKey = null, Azure.Core.ResourceIdentifier clientSecretStoreId = null, System.Uri clientSecretStoreUri = null, string channelIntegrityKeyName = null, string channelIntegrityKeyVersion = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeKeyVaultSyncStatus? keyVaultSyncStatus = default(Azure.ResourceManager.DataBoxEdge.Models.EdgeKeyVaultSyncStatus?), System.Collections.Generic.IReadOnlyDictionary deviceSecrets = null, Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterWitnessType? clusterWitnessType = default(Azure.ResourceManager.DataBoxEdge.Models.EdgeClusterWitnessType?), string fileShareWitnessLocation = null, string fileShareWitnessUsername = null, string cloudWitnessStorageAccountName = null, string cloudWitnessContainerName = null, string cloudWitnessStorageEndpoint = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceNetworkSettings DataBoxEdgeDeviceNetworkSettings(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IEnumerable networkAdapters = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceSecret DataBoxEdgeDeviceSecret(Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret encryptedSecret = null, string keyVaultId = null) { throw null; } @@ -907,7 +910,9 @@ public static partial class ArmDataBoxEdgeModelFactory public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeJobData DataBoxEdgeJobData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus? status = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus?), System.DateTimeOffset? startOn = default(System.DateTimeOffset?), System.DateTimeOffset? endOn = default(System.DateTimeOffset?), int? percentComplete = default(int?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails error = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType? jobType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType?), Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage? currentStage = default(Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage?), Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress downloadProgress = null, Azure.ResourceManager.DataBoxEdge.Models.UpdateInstallProgress installProgress = null, int? totalRefreshErrors = default(int?), string errorManifestFile = null, Azure.Core.ResourceIdentifier refreshedEntityId = null, string folder = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails DataBoxEdgeJobErrorDetails(System.Collections.Generic.IEnumerable errorDetails = null, string code = null, string message = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorItem DataBoxEdgeJobErrorItem(System.Collections.Generic.IEnumerable recommendations = null, string code = null, string message = null) { throw null; } - public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType = null, string version = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType, string version) { throw null; } + public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeLoadBalancerConfig DataBoxEdgeLoadBalancerConfig(string loadBalancerConfigType = null, string version = null, System.Collections.Generic.IEnumerable ipRange = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountPointMap DataBoxEdgeMountPointMap(Azure.Core.ResourceIdentifier shareId = null, Azure.Core.ResourceIdentifier roleId = null, string mountPoint = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountType? mountType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountType?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleType? roleType = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleType?)) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapter DataBoxEdgeNetworkAdapter(string adapterId = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterPosition adapterPosition = null, int? index = default(int?), System.Guid? nodeId = default(System.Guid?), string networkAdapterName = null, string label = null, string macAddress = null, long? linkSpeed = default(long?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterStatus? status = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterStatus?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterRdmaStatus? rdmaStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterRdmaStatus?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterDhcpStatus? dhcpStatus = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterDhcpStatus?), Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv4Config ipv4Configuration = null, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv6Config ipv6Configuration = null, string ipv6LinkLocalAddress = null, System.Collections.Generic.IEnumerable dnsServers = null) { throw null; } public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterPosition DataBoxEdgeNetworkAdapterPosition(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkGroup? networkGroup = default(Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkGroup?), int? port = default(int?)) { throw null; } @@ -1507,6 +1512,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public partial class DataBoxEdgeLoadBalancerConfig : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal DataBoxEdgeLoadBalancerConfig() { } + public System.Collections.Generic.IReadOnlyList IPRange { get { throw null; } } public string LoadBalancerConfigType { get { throw null; } } public string Version { get { throw null; } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }