Skip to content

Commit db28ddc

Browse files
author
SDKAuto
committed
CodeGen from PR 22043 in Azure/azure-rest-api-specs
Merge 88fd5dc94a633653d9a28142b4f4a95b1096d703 into 5bba638fd53d813e475bfdc3b1b2789ee75b187c
1 parent 9e44a82 commit db28ddc

File tree

44 files changed

+872
-55
lines changed

Some content is hidden

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

44 files changed

+872
-55
lines changed

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

Lines changed: 58 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
@@ -320,6 +331,14 @@ internal DataBoxDiskCopyProgress() { }
320331
public string SerialNumber { get { throw null; } }
321332
public Azure.ResourceManager.DataBox.Models.DataBoxCopyStatus? Status { get { throw null; } }
322333
}
334+
public partial class DataBoxDiskGranularCopyLogDetails : Azure.ResourceManager.DataBox.Models.GranularCopyLogDetails
335+
{
336+
internal DataBoxDiskGranularCopyLogDetails() { }
337+
public Azure.Core.ResourceIdentifier AccountId { get { throw null; } }
338+
public string ErrorLogLink { get { throw null; } }
339+
public string SerialNumber { get { throw null; } }
340+
public string VerboseLogLink { get { throw null; } }
341+
}
323342
public partial class DataBoxDiskGranularCopyProgress : Azure.ResourceManager.DataBox.Models.GranularCopyProgress
324343
{
325344
internal DataBoxDiskGranularCopyProgress() { }
@@ -331,6 +350,7 @@ public partial class DataBoxDiskJobDetails : Azure.ResourceManager.DataBox.Model
331350
public DataBoxDiskJobDetails(Azure.ResourceManager.DataBox.Models.DataBoxContactDetails contactDetails) : base (default(Azure.ResourceManager.DataBox.Models.DataBoxContactDetails)) { }
332351
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxDiskCopyProgress> CopyProgress { get { throw null; } }
333352
public System.Collections.Generic.IReadOnlyDictionary<string, int> DisksAndSizeDetails { get { throw null; } }
353+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyLogDetails> GranularCopyLogDetails { get { throw null; } }
334354
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyProgress> GranularCopyProgress { get { throw null; } }
335355
public string Passkey { get { throw null; } set { } }
336356
public System.Collections.Generic.IDictionary<string, int> PreferredDisks { get { throw null; } }
@@ -441,8 +461,9 @@ public partial class DataBoxOrderPreferences
441461
public DataBoxOrderPreferences() { }
442462
public Azure.ResourceManager.DataBox.Models.DataBoxDoubleEncryption? DoubleEncryption { get { throw null; } set { } }
443463
public System.Collections.Generic.IList<string> PreferredDataCenterRegion { get { throw null; } }
464+
public Azure.ResourceManager.DataBox.Models.TransportPreferences ReverseTransportPreferences { get { throw null; } set { } }
444465
public System.Collections.Generic.IList<string> StorageAccountAccessTierPreferences { get { throw null; } }
445-
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? TransportPreferencesPreferredShipmentType { get { throw null; } set { } }
466+
public Azure.ResourceManager.DataBox.Models.TransportPreferences TransportPreferences { get { throw null; } set { } }
446467
}
447468
public partial class DataBoxScheduleAvailabilityContent : Azure.ResourceManager.DataBox.Models.ScheduleAvailabilityContent
448469
{
@@ -509,6 +530,7 @@ internal DataBoxSkuInformation() { }
509530
public System.Collections.Generic.IReadOnlyList<string> ApiVersions { get { throw null; } }
510531
public Azure.ResourceManager.DataBox.Models.DataBoxSkuCapacity Capacity { get { throw null; } }
511532
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataBoxSkuCost> Costs { get { throw null; } }
533+
public System.Collections.Generic.IReadOnlyList<string> CountriesWithinCommerceBoundary { get { throw null; } }
512534
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.DataLocationToServiceLocationMap> DataLocationToServiceLocationMap { get { throw null; } }
513535
public Azure.ResourceManager.DataBox.Models.SkuDisabledReason? DisabledReason { get { throw null; } }
514536
public string DisabledReasonMessage { get { throw null; } }
@@ -586,7 +608,7 @@ public partial class DataBoxValidateAddressContent : Azure.ResourceManager.DataB
586608
public DataBoxValidateAddressContent(Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress shippingAddress, Azure.ResourceManager.DataBox.Models.DataBoxSkuName deviceType) { }
587609
public Azure.ResourceManager.DataBox.Models.DataBoxSkuName DeviceType { get { throw null; } }
588610
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } }
589-
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? TransportPreferencesPreferredShipmentType { get { throw null; } set { } }
611+
public Azure.ResourceManager.DataBox.Models.TransportPreferences TransportPreferences { get { throw null; } set { } }
590612
}
591613
public abstract partial class DataBoxValidationContent
592614
{
@@ -790,6 +812,10 @@ public enum FilterFileType
790812
AzureBlob = 0,
791813
AzureFile = 1,
792814
}
815+
public abstract partial class GranularCopyLogDetails
816+
{
817+
protected GranularCopyLogDetails() { }
818+
}
793819
public partial class GranularCopyProgress
794820
{
795821
internal GranularCopyProgress() { }
@@ -857,8 +883,9 @@ public MarkDevicesShippedContent(Azure.ResourceManager.DataBox.Models.PackageCar
857883
}
858884
public partial class MitigateJobContent
859885
{
860-
public MitigateJobContent(Azure.ResourceManager.DataBox.Models.CustomerResolutionCode customerResolutionCode) { }
861-
public Azure.ResourceManager.DataBox.Models.CustomerResolutionCode CustomerResolutionCode { get { throw null; } }
886+
public MitigateJobContent() { }
887+
public Azure.ResourceManager.DataBox.Models.CustomerResolutionCode? CustomerResolutionCode { get { throw null; } set { } }
888+
public System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> SerialNumberCustomerResolutionMap { get { throw null; } }
862889
}
863890
public partial class NotificationPreference
864891
{
@@ -941,6 +968,25 @@ internal RegionConfigurationResult() { }
941968
public System.Collections.Generic.IReadOnlyList<System.DateTimeOffset> ScheduleAvailabilityResponseAvailableDates { get { throw null; } }
942969
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.DataBox.Models.TransportAvailabilityDetails> TransportAvailabilityDetails { get { throw null; } }
943970
}
971+
public partial class ReverseShippingDetails
972+
{
973+
public ReverseShippingDetails() { }
974+
public Azure.ResourceManager.DataBox.Models.ContactInfo ContactDetails { get { throw null; } set { } }
975+
public bool? IsUpdated { get { throw null; } }
976+
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } set { } }
977+
}
978+
public enum ReverseShippingDetailsEditStatus
979+
{
980+
Enabled = 0,
981+
Disabled = 1,
982+
NotSupported = 2,
983+
}
984+
public enum ReverseTransportPreferenceEditStatus
985+
{
986+
Enabled = 0,
987+
Disabled = 1,
988+
NotSupported = 2,
989+
}
944990
public abstract partial class ScheduleAvailabilityContent
945991
{
946992
protected ScheduleAvailabilityContent(Azure.Core.AzureLocation storageLocation) { }
@@ -1035,6 +1081,12 @@ public partial class TransportAvailabilityDetails
10351081
internal TransportAvailabilityDetails() { }
10361082
public Azure.ResourceManager.DataBox.Models.TransportShipmentType? ShipmentType { get { throw null; } }
10371083
}
1084+
public partial class TransportPreferences
1085+
{
1086+
public TransportPreferences(Azure.ResourceManager.DataBox.Models.TransportShipmentType preferredShipmentType) { }
1087+
public bool? IsUpdated { get { throw null; } }
1088+
public Azure.ResourceManager.DataBox.Models.TransportShipmentType PreferredShipmentType { get { throw null; } set { } }
1089+
}
10381090
public enum TransportShipmentType
10391091
{
10401092
CustomerManaged = 0,
@@ -1051,7 +1103,9 @@ public partial class UpdateJobDetails
10511103
public UpdateJobDetails() { }
10521104
public Azure.ResourceManager.DataBox.Models.DataBoxContactDetails ContactDetails { get { throw null; } set { } }
10531105
public Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKey KeyEncryptionKey { get { throw null; } set { } }
1106+
public Azure.ResourceManager.DataBox.Models.DataBoxOrderPreferences Preferences { get { throw null; } set { } }
10541107
public Azure.ResourceManager.DataBox.Models.PackageCarrierDetails ReturnToCustomerPackageDetails { get { throw null; } set { } }
1108+
public Azure.ResourceManager.DataBox.Models.ReverseShippingDetails ReverseShippingDetails { get { throw null; } set { } }
10551109
public Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress ShippingAddress { get { throw null; } set { } }
10561110
}
10571111
}

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: 67 additions & 0 deletions
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.cs

Lines changed: 51 additions & 0 deletions
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/DataBoxBasicJobDetails.Serialization.cs

Lines changed: 5 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)