Skip to content

Commit 44379d2

Browse files
author
SDKAuto
committed
CodeGen from PR 23301 in Azure/azure-rest-api-specs
Merge eff1c994104eb6f2b3eadbee0237ee334c4dc379 into dfa60ad
1 parent 4ead318 commit 44379d2

File tree

54 files changed

+1096
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1096
-65
lines changed

sdk/databox/Azure.ResourceManager.DataBox/api/Azure.ResourceManager.DataBox.netstandard2.0.cs

Lines changed: 64 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public DataBoxJobData(Azure.Core.AzureLocation location, Azure.ResourceManager.D
5050
public bool? IsDeletable { get { throw null; } }
5151
public bool? IsPrepareToShipEnabled { get { throw null; } }
5252
public bool? IsShippingAddressEditable { get { throw null; } }
53+
public Azure.ResourceManager.DataBox.Models.ReverseShippingDetailsEditStatus? ReverseShippingDetailsUpdate { get { throw null; } }
54+
public Azure.ResourceManager.DataBox.Models.ReverseTransportPreferenceEditStatus? ReverseTransportPreferenceUpdate { get { throw null; } }
5355
public Azure.ResourceManager.DataBox.Models.DataBoxSku Sku { get { throw null; } set { } }
5456
public System.DateTimeOffset? StartOn { get { throw null; } }
5557
public Azure.ResourceManager.DataBox.Models.DataBoxStageName? Status { get { throw null; } }
@@ -135,6 +137,14 @@ public BlobFilterDetails() { }
135137
public System.Collections.Generic.IList<string> BlobPrefixList { get { throw null; } }
136138
public System.Collections.Generic.IList<string> ContainerList { get { throw null; } }
137139
}
140+
public partial class ContactInfo
141+
{
142+
public ContactInfo(string contactName, string phone) { }
143+
public string ContactName { get { throw null; } set { } }
144+
public string Mobile { get { throw null; } set { } }
145+
public string Phone { get { throw null; } set { } }
146+
public string PhoneExtension { get { throw null; } set { } }
147+
}
138148
public abstract partial class CopyLogDetails
139149
{
140150
protected CopyLogDetails() { }
@@ -217,6 +227,7 @@ protected DataBoxBasicJobDetails(Azure.ResourceManager.DataBox.Models.DataBoxCon
217227
public Azure.ResourceManager.DataBox.Models.DataBoxOrderPreferences Preferences { get { throw null; } set { } }
218228
public Azure.ResourceManager.DataBox.Models.PackageShippingDetails ReturnPackage { get { throw null; } }
219229
public string ReverseShipmentLabelSasKey { get { throw null; } }
230+
public Azure.ResourceManager.DataBox.Models.ReverseShippingDetails ReverseShippingDetails { get { throw null; } set { } }
220231
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } set { } }
221232
}
222233
public partial class DataBoxContactDetails
@@ -233,9 +244,11 @@ public partial class DataBoxCopyProgress
233244
{
234245
internal DataBoxCopyProgress() { }
235246
public Azure.Core.ResourceIdentifier AccountId { get { throw null; } }
247+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> Actions { get { throw null; } }
236248
public long? BytesProcessed { get { throw null; } }
237249
public Azure.ResourceManager.DataBox.Models.DataAccountType? DataAccountType { get { throw null; } }
238250
public long? DirectoriesErroredOut { get { throw null; } }
251+
public Azure.ResponseError Error { get { throw null; } }
239252
public long? FilesErroredOut { get { throw null; } }
240253
public long? FilesProcessed { get { throw null; } }
241254
public long? InvalidDirectoriesProcessed { get { throw null; } }
@@ -315,11 +328,21 @@ internal DataBoxDiskCopyLogDetails() { }
315328
public partial class DataBoxDiskCopyProgress
316329
{
317330
internal DataBoxDiskCopyProgress() { }
331+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> Actions { get { throw null; } }
318332
public long? BytesCopied { get { throw null; } }
333+
public Azure.ResponseError Error { get { throw null; } }
319334
public int? PercentComplete { get { throw null; } }
320335
public string SerialNumber { get { throw null; } }
321336
public Azure.ResourceManager.DataBox.Models.DataBoxCopyStatus? Status { get { throw null; } }
322337
}
338+
public partial class DataBoxDiskGranularCopyLogDetails : Azure.ResourceManager.DataBox.Models.GranularCopyLogDetails
339+
{
340+
internal DataBoxDiskGranularCopyLogDetails() { }
341+
public Azure.Core.ResourceIdentifier AccountId { get { throw null; } }
342+
public string ErrorLogLink { get { throw null; } }
343+
public string SerialNumber { get { throw null; } }
344+
public string VerboseLogLink { get { throw null; } }
345+
}
323346
public partial class DataBoxDiskGranularCopyProgress : Azure.ResourceManager.DataBox.Models.GranularCopyProgress
324347
{
325348
internal DataBoxDiskGranularCopyProgress() { }
@@ -331,6 +354,7 @@ public partial class DataBoxDiskJobDetails : Azure.ResourceManager.DataBox.Model
331354
public DataBoxDiskJobDetails(Azure.ResourceManager.DataBox.Models.DataBoxContactDetails contactDetails) : base (default(Azure.ResourceManager.DataBox.Models.DataBoxContactDetails)) { }
332355
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxDiskCopyProgress> CopyProgress { get { throw null; } }
333356
public System.Collections.Generic.IReadOnlyDictionary<string, int> DisksAndSizeDetails { get { throw null; } }
357+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyLogDetails> GranularCopyLogDetails { get { throw null; } }
334358
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyProgress> GranularCopyProgress { get { throw null; } }
335359
public string Passkey { get { throw null; } set { } }
336360
public System.Collections.Generic.IDictionary<string, int> PreferredDisks { get { throw null; } }
@@ -441,8 +465,9 @@ public partial class DataBoxOrderPreferences
441465
public DataBoxOrderPreferences() { }
442466
public Azure.ResourceManager.DataBox.Models.DataBoxDoubleEncryption? DoubleEncryption { get { throw null; } set { } }
443467
public System.Collections.Generic.IList<string> PreferredDataCenterRegion { get { throw null; } }
468+
public Azure.ResourceManager.DataBox.Models.TransportPreferences ReverseTransportPreferences { get { throw null; } set { } }
444469
public System.Collections.Generic.IList<string> StorageAccountAccessTierPreferences { get { throw null; } }
445-
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? TransportPreferencesPreferredShipmentType { get { throw null; } set { } }
470+
public Azure.ResourceManager.DataBox.Models.TransportPreferences TransportPreferences { get { throw null; } set { } }
446471
}
447472
public partial class DataBoxScheduleAvailabilityContent : Azure.ResourceManager.DataBox.Models.ScheduleAvailabilityContent
448473
{
@@ -509,6 +534,7 @@ internal DataBoxSkuInformation() { }
509534
public System.Collections.Generic.IReadOnlyList<string> ApiVersions { get { throw null; } }
510535
public Azure.ResourceManager.DataBox.Models.DataBoxSkuCapacity Capacity { get { throw null; } }
511536
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxSkuCost> Costs { get { throw null; } }
537+
public System.Collections.Generic.IReadOnlyList<string> CountriesWithinCommerceBoundary { get { throw null; } }
512538
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataLocationToServiceLocationMap> DataLocationToServiceLocationMap { get { throw null; } }
513539
public Azure.ResourceManager.DataBox.Models.SkuDisabledReason? DisabledReason { get { throw null; } }
514540
public string DisabledReasonMessage { get { throw null; } }
@@ -586,7 +612,7 @@ public partial class DataBoxValidateAddressContent : Azure.ResourceManager.DataB
586612
public DataBoxValidateAddressContent(Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress shippingAddress, Azure.ResourceManager.DataBox.Models.DataBoxSkuName deviceType) { }
587613
public Azure.ResourceManager.DataBox.Models.DataBoxSkuName DeviceType { get { throw null; } }
588614
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } }
589-
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? TransportPreferencesPreferredShipmentType { get { throw null; } set { } }
615+
public Azure.ResourceManager.DataBox.Models.TransportPreferences TransportPreferences { get { throw null; } set { } }
590616
}
591617
public abstract partial class DataBoxValidationContent
592618
{
@@ -790,13 +816,19 @@ public enum FilterFileType
790816
AzureBlob = 0,
791817
AzureFile = 1,
792818
}
819+
public abstract partial class GranularCopyLogDetails
820+
{
821+
protected GranularCopyLogDetails() { }
822+
}
793823
public partial class GranularCopyProgress
794824
{
795825
internal GranularCopyProgress() { }
796826
public Azure.Core.ResourceIdentifier AccountId { get { throw null; } }
827+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> Actions { get { throw null; } }
797828
public long? BytesProcessed { get { throw null; } }
798829
public Azure.ResourceManager.DataBox.Models.DataAccountType? DataAccountType { get { throw null; } }
799830
public long? DirectoriesErroredOut { get { throw null; } }
831+
public Azure.ResponseError Error { get { throw null; } }
800832
public long? FilesErroredOut { get { throw null; } }
801833
public long? FilesProcessed { get { throw null; } }
802834
public long? InvalidDirectoriesProcessed { get { throw null; } }
@@ -857,8 +889,9 @@ public MarkDevicesShippedContent(Azure.ResourceManager.DataBox.Models.PackageCar
857889
}
858890
public partial class MitigateJobContent
859891
{
860-
public MitigateJobContent(Azure.ResourceManager.DataBox.Models.CustomerResolutionCode customerResolutionCode) { }
861-
public Azure.ResourceManager.DataBox.Models.CustomerResolutionCode CustomerResolutionCode { get { throw null; } }
892+
public MitigateJobContent() { }
893+
public Azure.ResourceManager.DataBox.Models.CustomerResolutionCode? CustomerResolutionCode { get { throw null; } set { } }
894+
public System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> SerialNumberCustomerResolutionMap { get { throw null; } }
862895
}
863896
public partial class NotificationPreference
864897
{
@@ -941,6 +974,25 @@ internal RegionConfigurationResult() { }
941974
public System.Collections.Generic.IReadOnlyList<System.DateTimeOffset> ScheduleAvailabilityResponseAvailableDates { get { throw null; } }
942975
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.TransportAvailabilityDetails> TransportAvailabilityDetails { get { throw null; } }
943976
}
977+
public partial class ReverseShippingDetails
978+
{
979+
public ReverseShippingDetails() { }
980+
public Azure.ResourceManager.DataBox.Models.ContactInfo ContactDetails { get { throw null; } set { } }
981+
public bool? IsUpdated { get { throw null; } }
982+
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } set { } }
983+
}
984+
public enum ReverseShippingDetailsEditStatus
985+
{
986+
Enabled = 0,
987+
Disabled = 1,
988+
NotSupported = 2,
989+
}
990+
public enum ReverseTransportPreferenceEditStatus
991+
{
992+
Enabled = 0,
993+
Disabled = 1,
994+
NotSupported = 2,
995+
}
944996
public abstract partial class ScheduleAvailabilityContent
945997
{
946998
protected ScheduleAvailabilityContent(Azure.Core.AzureLocation storageLocation) { }
@@ -1035,6 +1087,12 @@ public partial class TransportAvailabilityDetails
10351087
internal TransportAvailabilityDetails() { }
10361088
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? ShipmentType { get { throw null; } }
10371089
}
1090+
public partial class TransportPreferences
1091+
{
1092+
public TransportPreferences(Azure.ResourceManager.DataBox.Models.TransportShipmentType preferredShipmentType) { }
1093+
public bool? IsUpdated { get { throw null; } }
1094+
public Azure.ResourceManager.DataBox.Models.TransportShipmentType PreferredShipmentType { get { throw null; } set { } }
1095+
}
10381096
public enum TransportShipmentType
10391097
{
10401098
CustomerManaged = 0,
@@ -1051,7 +1109,9 @@ public partial class UpdateJobDetails
10511109
public UpdateJobDetails() { }
10521110
public Azure.ResourceManager.DataBox.Models.DataBoxContactDetails ContactDetails { get { throw null; } set { } }
10531111
public Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKey KeyEncryptionKey { get { throw null; } set { } }
1112+
public Azure.ResourceManager.DataBox.Models.DataBoxOrderPreferences Preferences { get { throw null; } set { } }
10541113
public Azure.ResourceManager.DataBox.Models.PackageCarrierDetails ReturnToCustomerPackageDetails { get { throw null; } set { } }
1114+
public Azure.ResourceManager.DataBox.Models.ReverseShippingDetails ReverseShippingDetails { get { throw null; } set { } }
10551115
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } set { } }
10561116
}
10571117
}

sdk/databox/Azure.ResourceManager.DataBox/src/Generated/DataBoxJobData.cs

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/databox/Azure.ResourceManager.DataBox/src/Generated/Models/ContactInfo.Serialization.cs

Lines changed: 71 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)