Skip to content

Commit dbcdbed

Browse files
author
SDKAuto
committed
CodeGen from PR 23332 in Azure/azure-rest-api-specs
Merge b538ac77676b072c5e517e06d67551744b814f88 into aceee26
1 parent af5cba5 commit dbcdbed

File tree

60 files changed

+1218
-85
lines changed

Some content is hidden

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

60 files changed

+1218
-85
lines changed

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

Lines changed: 78 additions & 5 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; } }
@@ -353,6 +377,12 @@ public enum DataBoxDoubleEncryption
353377
Enabled = 0,
354378
Disabled = 1,
355379
}
380+
public partial class DataBoxEncryptionPreferences
381+
{
382+
public DataBoxEncryptionPreferences() { }
383+
public Azure.ResourceManager.DataBox.Models.DataBoxDoubleEncryption? DoubleEncryption { get { throw null; } set { } }
384+
public Azure.ResourceManager.DataBox.Models.HardwareEncryption? HardwareEncryption { get { throw null; } set { } }
385+
}
356386
public partial class DataBoxHeavyAccountCopyLogDetails : Azure.ResourceManager.DataBox.Models.CopyLogDetails
357387
{
358388
internal DataBoxHeavyAccountCopyLogDetails() { }
@@ -439,10 +469,11 @@ public DataBoxManagedIdentity() { }
439469
public partial class DataBoxOrderPreferences
440470
{
441471
public DataBoxOrderPreferences() { }
442-
public Azure.ResourceManager.DataBox.Models.DataBoxDoubleEncryption? DoubleEncryption { get { throw null; } set { } }
472+
public Azure.ResourceManager.DataBox.Models.DataBoxEncryptionPreferences EncryptionPreferences { get { throw null; } set { } }
443473
public System.Collections.Generic.IList<string> PreferredDataCenterRegion { get { throw null; } }
474+
public Azure.ResourceManager.DataBox.Models.TransportPreferences ReverseTransportPreferences { get { throw null; } set { } }
444475
public System.Collections.Generic.IList<string> StorageAccountAccessTierPreferences { get { throw null; } }
445-
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? TransportPreferencesPreferredShipmentType { get { throw null; } set { } }
476+
public Azure.ResourceManager.DataBox.Models.TransportPreferences TransportPreferences { get { throw null; } set { } }
446477
}
447478
public partial class DataBoxScheduleAvailabilityContent : Azure.ResourceManager.DataBox.Models.ScheduleAvailabilityContent
448479
{
@@ -471,10 +502,12 @@ public DataBoxShippingAddress(string streetAddress1, string country, string post
471502
public string CompanyName { get { throw null; } set { } }
472503
public string Country { get { throw null; } set { } }
473504
public string PostalCode { get { throw null; } set { } }
505+
public bool? SkipAddressValidation { get { throw null; } set { } }
474506
public string StateOrProvince { get { throw null; } set { } }
475507
public string StreetAddress1 { get { throw null; } set { } }
476508
public string StreetAddress2 { get { throw null; } set { } }
477509
public string StreetAddress3 { get { throw null; } set { } }
510+
public string TaxIdentificationNumber { get { throw null; } set { } }
478511
public string ZipExtendedCode { get { throw null; } set { } }
479512
}
480513
public enum DataBoxShippingAddressType
@@ -509,6 +542,7 @@ internal DataBoxSkuInformation() { }
509542
public System.Collections.Generic.IReadOnlyList<string> ApiVersions { get { throw null; } }
510543
public Azure.ResourceManager.DataBox.Models.DataBoxSkuCapacity Capacity { get { throw null; } }
511544
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxSkuCost> Costs { get { throw null; } }
545+
public System.Collections.Generic.IReadOnlyList<string> CountriesWithinCommerceBoundary { get { throw null; } }
512546
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataLocationToServiceLocationMap> DataLocationToServiceLocationMap { get { throw null; } }
513547
public Azure.ResourceManager.DataBox.Models.SkuDisabledReason? DisabledReason { get { throw null; } }
514548
public string DisabledReasonMessage { get { throw null; } }
@@ -586,7 +620,7 @@ public partial class DataBoxValidateAddressContent : Azure.ResourceManager.DataB
586620
public DataBoxValidateAddressContent(Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress shippingAddress, Azure.ResourceManager.DataBox.Models.DataBoxSkuName deviceType) { }
587621
public Azure.ResourceManager.DataBox.Models.DataBoxSkuName DeviceType { get { throw null; } }
588622
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } }
589-
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? TransportPreferencesPreferredShipmentType { get { throw null; } set { } }
623+
public Azure.ResourceManager.DataBox.Models.TransportPreferences TransportPreferences { get { throw null; } set { } }
590624
}
591625
public abstract partial class DataBoxValidationContent
592626
{
@@ -790,13 +824,19 @@ public enum FilterFileType
790824
AzureBlob = 0,
791825
AzureFile = 1,
792826
}
827+
public abstract partial class GranularCopyLogDetails
828+
{
829+
protected GranularCopyLogDetails() { }
830+
}
793831
public partial class GranularCopyProgress
794832
{
795833
internal GranularCopyProgress() { }
796834
public Azure.Core.ResourceIdentifier AccountId { get { throw null; } }
835+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> Actions { get { throw null; } }
797836
public long? BytesProcessed { get { throw null; } }
798837
public Azure.ResourceManager.DataBox.Models.DataAccountType? DataAccountType { get { throw null; } }
799838
public long? DirectoriesErroredOut { get { throw null; } }
839+
public Azure.ResponseError Error { get { throw null; } }
800840
public long? FilesErroredOut { get { throw null; } }
801841
public long? FilesProcessed { get { throw null; } }
802842
public long? InvalidDirectoriesProcessed { get { throw null; } }
@@ -809,6 +849,11 @@ internal GranularCopyProgress() { }
809849
public long? TotalFilesToProcess { get { throw null; } }
810850
public Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType? TransferType { get { throw null; } }
811851
}
852+
public enum HardwareEncryption
853+
{
854+
Enabled = 0,
855+
Disabled = 1,
856+
}
812857
public partial class HeavyScheduleAvailabilityContent : Azure.ResourceManager.DataBox.Models.ScheduleAvailabilityContent
813858
{
814859
public HeavyScheduleAvailabilityContent(Azure.Core.AzureLocation storageLocation) : base (default(Azure.Core.AzureLocation)) { }
@@ -857,8 +902,9 @@ public MarkDevicesShippedContent(Azure.ResourceManager.DataBox.Models.PackageCar
857902
}
858903
public partial class MitigateJobContent
859904
{
860-
public MitigateJobContent(Azure.ResourceManager.DataBox.Models.CustomerResolutionCode customerResolutionCode) { }
861-
public Azure.ResourceManager.DataBox.Models.CustomerResolutionCode CustomerResolutionCode { get { throw null; } }
905+
public MitigateJobContent() { }
906+
public Azure.ResourceManager.DataBox.Models.CustomerResolutionCode? CustomerResolutionCode { get { throw null; } set { } }
907+
public System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> SerialNumberCustomerResolutionMap { get { throw null; } }
862908
}
863909
public partial class NotificationPreference
864910
{
@@ -941,6 +987,25 @@ internal RegionConfigurationResult() { }
941987
public System.Collections.Generic.IReadOnlyList<System.DateTimeOffset> ScheduleAvailabilityResponseAvailableDates { get { throw null; } }
942988
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.TransportAvailabilityDetails> TransportAvailabilityDetails { get { throw null; } }
943989
}
990+
public partial class ReverseShippingDetails
991+
{
992+
public ReverseShippingDetails() { }
993+
public Azure.ResourceManager.DataBox.Models.ContactInfo ContactDetails { get { throw null; } set { } }
994+
public bool? IsUpdated { get { throw null; } }
995+
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } set { } }
996+
}
997+
public enum ReverseShippingDetailsEditStatus
998+
{
999+
Enabled = 0,
1000+
Disabled = 1,
1001+
NotSupported = 2,
1002+
}
1003+
public enum ReverseTransportPreferenceEditStatus
1004+
{
1005+
Enabled = 0,
1006+
Disabled = 1,
1007+
NotSupported = 2,
1008+
}
9441009
public abstract partial class ScheduleAvailabilityContent
9451010
{
9461011
protected ScheduleAvailabilityContent(Azure.Core.AzureLocation storageLocation) { }
@@ -1035,6 +1100,12 @@ public partial class TransportAvailabilityDetails
10351100
internal TransportAvailabilityDetails() { }
10361101
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? ShipmentType { get { throw null; } }
10371102
}
1103+
public partial class TransportPreferences
1104+
{
1105+
public TransportPreferences(Azure.ResourceManager.DataBox.Models.TransportShipmentType preferredShipmentType) { }
1106+
public bool? IsUpdated { get { throw null; } }
1107+
public Azure.ResourceManager.DataBox.Models.TransportShipmentType PreferredShipmentType { get { throw null; } set { } }
1108+
}
10381109
public enum TransportShipmentType
10391110
{
10401111
CustomerManaged = 0,
@@ -1051,7 +1122,9 @@ public partial class UpdateJobDetails
10511122
public UpdateJobDetails() { }
10521123
public Azure.ResourceManager.DataBox.Models.DataBoxContactDetails ContactDetails { get { throw null; } set { } }
10531124
public Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKey KeyEncryptionKey { get { throw null; } set { } }
1125+
public Azure.ResourceManager.DataBox.Models.DataBoxOrderPreferences Preferences { get { throw null; } set { } }
10541126
public Azure.ResourceManager.DataBox.Models.PackageCarrierDetails ReturnToCustomerPackageDetails { get { throw null; } set { } }
1127+
public Azure.ResourceManager.DataBox.Models.ReverseShippingDetails ReverseShippingDetails { get { throw null; } set { } }
10551128
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } set { } }
10561129
}
10571130
}

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.

0 commit comments

Comments
 (0)