From f13e638195f30e3a2cb3d3622477e1cc383acd4d Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 27 Sep 2019 05:40:17 +0000 Subject: [PATCH] Generated from b08d7b9443996cdd1afab41254c273d5c3629c1b Fix for spellcheck tool errors --- .../src/Generated/DataBoxManagementClient.cs | 2 + .../src/Generated/Models/CopyProgress.cs | 20 ++++- .../src/Generated/Models/CopyStatus.cs | 2 +- .../Generated/Models/DataBoxDiskJobDetails.cs | 4 +- .../DataBoxHeavyAccountCopyLogDetails.cs | 2 +- .../Models/DataBoxHeavyJobDetails.cs | 6 +- .../Models/DataBoxHeavyJobSecrets.cs | 6 +- .../Generated/Models/DataBoxHeavySecret.cs | 2 +- .../src/Generated/Models/DataBoxJobDetails.cs | 6 +- .../src/Generated/Models/DataboxJobSecrets.cs | 2 +- .../Models/DestinationAccountDetails.cs | 24 ++--- .../Models/DestinationManagedDiskDetails.cs | 87 +++++++++++++++++++ .../DestinationStorageAccountDetails.cs | 72 +++++++++++++++ .../src/Generated/Models/JobDetails.cs | 16 +--- .../Models/JobResourceUpdateParameter.cs | 10 --- .../Models/ShareCredentialDetails.cs | 5 +- .../Models/ShareDestinationFormatType.cs | 13 ++- .../src/Generated/Models/SkuDisabledReason.cs | 15 +++- .../src/Generated/Models/SkuInformation.cs | 5 +- .../src/Generated/Models/SkuName.cs | 6 +- .../SdkInfo_DataBoxManagementClient.cs | 11 --- 21 files changed, 236 insertions(+), 80 deletions(-) create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs index f23f6669f933..96e46072a45f 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs @@ -363,6 +363,8 @@ private void Initialize() }; SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("copyLogDetailsType")); DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("copyLogDetailsType")); + SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("dataDestinationType")); + DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("dataDestinationType")); SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("jobDetailsType")); DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("jobDetailsType")); SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("jobSecretsType")); diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs index 6f77dc2efd87..8dd913393c14 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs @@ -37,12 +37,18 @@ public CopyProgress() /// as of now. /// Total amount of data to be /// processed by the job. - public CopyProgress(string storageAccountName = default(string), string accountId = default(string), long? bytesSentToCloud = default(long?), long? totalBytesToProcess = default(long?)) + /// Number of files processed by the job + /// as of now. + /// Total number of files to be + /// processed by the job. + public CopyProgress(string storageAccountName = default(string), string accountId = default(string), long? bytesSentToCloud = default(long?), long? totalBytesToProcess = default(long?), long? filesProcessed = default(long?), long? totalFilesToProcess = default(long?)) { StorageAccountName = storageAccountName; AccountId = accountId; BytesSentToCloud = bytesSentToCloud; TotalBytesToProcess = totalBytesToProcess; + FilesProcessed = filesProcessed; + TotalFilesToProcess = totalFilesToProcess; CustomInit(); } @@ -76,5 +82,17 @@ public CopyProgress() [JsonProperty(PropertyName = "totalBytesToProcess")] public long? TotalBytesToProcess { get; private set; } + /// + /// Gets number of files processed by the job as of now. + /// + [JsonProperty(PropertyName = "filesProcessed")] + public long? FilesProcessed { get; private set; } + + /// + /// Gets total number of files to be processed by the job. + /// + [JsonProperty(PropertyName = "totalFilesToProcess")] + public long? TotalFilesToProcess { get; private set; } + } } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs index 9cdfab41d44e..a3642b444e85 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Management.DataBox.Models public enum CopyStatus { /// - /// Data copy hasnt started yet. + /// Data copy hasn't started yet. /// [EnumMember(Value = "NotStarted")] NotStarted, diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs index 06b6430f72b6..091c0b72d709 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs @@ -39,8 +39,8 @@ public DataBoxDiskJobDetails() /// Destination account /// details. /// The expected size of the - /// data, which needs to be transfered in this job, in tera - /// bytes. + /// data, which needs to be transferred in this job, in + /// terabytes. /// List of stages that run in the job. /// Delivery package shipping /// details. diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs index 39c21b88a984..ee630c4b5f49 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataBox.Models using System.Linq; /// - /// Copy log details for a storage account for Databox heavy + /// Copy log details for a storage account for DataBoxHeavy /// [Newtonsoft.Json.JsonObject("DataBoxHeavy")] public partial class DataBoxHeavyAccountCopyLogDetails : CopyLogDetails diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs index 00f05177d48b..e1c65b88d41f 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataBox.Models using System.Linq; /// - /// Databox Heavy Device Job Details + /// DataBoxHeavy Device Job Details /// [Newtonsoft.Json.JsonObject("DataBoxHeavy")] public partial class DataBoxHeavyJobDetails : JobDetails @@ -39,8 +39,8 @@ public DataBoxHeavyJobDetails() /// Destination account /// details. /// The expected size of the - /// data, which needs to be transfered in this job, in tera - /// bytes. + /// data, which needs to be transferred in this job, in + /// terabytes. /// List of stages that run in the job. /// Delivery package shipping /// details. diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs index 234c8bbc96ee..38dc10df62da 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataBox.Models using System.Linq; /// - /// The secrets related to a databox heavy job. + /// The secrets related to a DataBoxHeavy job. /// [Newtonsoft.Json.JsonObject("DataBoxHeavy")] public partial class DataBoxHeavyJobSecrets : JobSecrets @@ -33,7 +33,7 @@ public DataBoxHeavyJobSecrets() /// Initializes a new instance of the DataBoxHeavyJobSecrets class. /// /// Contains the list of secret objects - /// for a databox heavy job. + /// for a DataBoxHeavy job. public DataBoxHeavyJobSecrets(IList cabinetPodSecrets = default(IList)) { CabinetPodSecrets = cabinetPodSecrets; @@ -46,7 +46,7 @@ public DataBoxHeavyJobSecrets() partial void CustomInit(); /// - /// Gets contains the list of secret objects for a databox heavy job. + /// Gets contains the list of secret objects for a DataBoxHeavy job. /// [JsonProperty(PropertyName = "cabinetPodSecrets")] public IList CabinetPodSecrets { get; private set; } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavySecret.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavySecret.cs index a889386d8d13..a1210969aad6 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavySecret.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavySecret.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataBox.Models using System.Linq; /// - /// The secrets related to a databox heavy. + /// The secrets related to a DataBoxHeavy. /// public partial class DataBoxHeavySecret { diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs index c8eae1e79577..ca0028985a4d 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataBox.Models using System.Linq; /// - /// Databox Job Details + /// DataBox Job Details /// [Newtonsoft.Json.JsonObject("DataBox")] public partial class DataBoxJobDetails : JobDetails @@ -39,8 +39,8 @@ public DataBoxJobDetails() /// Destination account /// details. /// The expected size of the - /// data, which needs to be transfered in this job, in tera - /// bytes. + /// data, which needs to be transferred in this job, in + /// terabytes. /// List of stages that run in the job. /// Delivery package shipping /// details. diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs index 67c6a315dbdb..0e940d5fa253 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataBox.Models using System.Linq; /// - /// The secrets related to a databox job. + /// The secrets related to a DataBox job. /// [Newtonsoft.Json.JsonObject("DataBox")] public partial class DataboxJobSecrets : JobSecrets diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs index 255fe56f4ce3..4ff6391df53c 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs @@ -10,12 +10,11 @@ namespace Microsoft.Azure.Management.DataBox.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// - /// Details for the destination account. + /// Details of the destination of the data /// public partial class DestinationAccountDetails { @@ -30,8 +29,9 @@ public DestinationAccountDetails() /// /// Initializes a new instance of the DestinationAccountDetails class. /// - /// Destination storage account id. - public DestinationAccountDetails(string accountId) + /// Arm Id of the destination where the data + /// has to be moved. + public DestinationAccountDetails(string accountId = default(string)) { AccountId = accountId; CustomInit(); @@ -43,23 +43,11 @@ public DestinationAccountDetails(string accountId) partial void CustomInit(); /// - /// Gets or sets destination storage account id. + /// Gets or sets arm Id of the destination where the data has to be + /// moved. /// [JsonProperty(PropertyName = "accountId")] public string AccountId { get; set; } - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (AccountId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AccountId"); - } - } } } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs new file mode 100644 index 000000000000..64cf57e9bdcc --- /dev/null +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs @@ -0,0 +1,87 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataBox.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Details for the destination compute disks. + /// + [Newtonsoft.Json.JsonObject("ManagedDisk")] + public partial class DestinationManagedDiskDetails : DestinationAccountDetails + { + /// + /// Initializes a new instance of the DestinationManagedDiskDetails + /// class. + /// + public DestinationManagedDiskDetails() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DestinationManagedDiskDetails + /// class. + /// + /// Destination Resource Group Id where + /// the Compute disks should be created. + /// Arm Id of the storage account + /// that can be used to copy the vhd for staging. + /// Arm Id of the destination where the data + /// has to be moved. + public DestinationManagedDiskDetails(string resourceGroupId, string stagingStorageAccountId, string accountId = default(string)) + : base(accountId) + { + ResourceGroupId = resourceGroupId; + StagingStorageAccountId = stagingStorageAccountId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets destination Resource Group Id where the Compute disks + /// should be created. + /// + [JsonProperty(PropertyName = "resourceGroupId")] + public string ResourceGroupId { get; set; } + + /// + /// Gets or sets arm Id of the storage account that can be used to copy + /// the vhd for staging. + /// + [JsonProperty(PropertyName = "stagingStorageAccountId")] + public string StagingStorageAccountId { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ResourceGroupId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ResourceGroupId"); + } + if (StagingStorageAccountId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StagingStorageAccountId"); + } + } + } +} diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs new file mode 100644 index 000000000000..ff777c4e45da --- /dev/null +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs @@ -0,0 +1,72 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataBox.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Details for the destination storage account. + /// + [Newtonsoft.Json.JsonObject("StorageAccount")] + public partial class DestinationStorageAccountDetails : DestinationAccountDetails + { + /// + /// Initializes a new instance of the DestinationStorageAccountDetails + /// class. + /// + public DestinationStorageAccountDetails() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DestinationStorageAccountDetails + /// class. + /// + /// Destination Storage Account Arm + /// Id. + /// Arm Id of the destination where the data + /// has to be moved. + public DestinationStorageAccountDetails(string storageAccountId, string accountId = default(string)) + : base(accountId) + { + StorageAccountId = storageAccountId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets destination Storage Account Arm Id. + /// + [JsonProperty(PropertyName = "storageAccountId")] + public string StorageAccountId { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (StorageAccountId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageAccountId"); + } + } + } +} diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs index 64c809042dfc..1cf11029a8be 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs @@ -39,8 +39,8 @@ public JobDetails() /// Destination account /// details. /// The expected size of the - /// data, which needs to be transfered in this job, in tera - /// bytes. + /// data, which needs to be transferred in this job, in + /// terabytes. /// List of stages that run in the job. /// Delivery package shipping /// details. @@ -78,7 +78,7 @@ public JobDetails() /// /// Gets or sets the expected size of the data, which needs to be - /// transfered in this job, in tera bytes. + /// transferred in this job, in terabytes. /// [JsonProperty(PropertyName = "expectedDataSizeInTeraBytes")] public int? ExpectedDataSizeInTeraBytes { get; set; } @@ -177,16 +177,6 @@ public virtual void Validate() { ShippingAddress.Validate(); } - if (DestinationAccountDetails != null) - { - foreach (var element in DestinationAccountDetails) - { - if (element != null) - { - element.Validate(); - } - } - } } } } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs index 10a32327dd5b..c71c30481f44 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs @@ -85,16 +85,6 @@ public virtual void Validate() { Details.Validate(); } - if (DestinationAccountDetails != null) - { - foreach (var element in DestinationAccountDetails) - { - if (element != null) - { - element.Validate(); - } - } - } } } } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs index a71165230c2b..5d971f64157e 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs @@ -33,7 +33,8 @@ public ShareCredentialDetails() /// /// Name of the share. /// Type of the share. Possible values include: - /// 'UnknownType', 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile' + /// 'UnknownType', 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile', + /// 'ManagedDisk' /// User name for the share. /// Password for the share. /// Access protocols supported @@ -61,7 +62,7 @@ public ShareCredentialDetails() /// /// Gets type of the share. Possible values include: 'UnknownType', - /// 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile' + /// 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile', 'ManagedDisk' /// [JsonProperty(PropertyName = "shareType")] public ShareDestinationFormatType? ShareType { get; private set; } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs index 657276ae31c2..4be1aecb4abe 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs @@ -27,7 +27,7 @@ public enum ShareDestinationFormatType [EnumMember(Value = "UnknownType")] UnknownType, /// - /// Storsimple data format. + /// StorSimple data format. /// [EnumMember(Value = "HCS")] HCS, @@ -45,7 +45,12 @@ public enum ShareDestinationFormatType /// Azure storage file format. /// [EnumMember(Value = "AzureFile")] - AzureFile + AzureFile, + /// + /// Azure Compute Disk. + /// + [EnumMember(Value = "ManagedDisk")] + ManagedDisk } internal static class ShareDestinationFormatTypeEnumExtension { @@ -68,6 +73,8 @@ internal static string ToSerializedValue(this ShareDestinationFormatType value) return "PageBlob"; case ShareDestinationFormatType.AzureFile: return "AzureFile"; + case ShareDestinationFormatType.ManagedDisk: + return "ManagedDisk"; } return null; } @@ -86,6 +93,8 @@ internal static string ToSerializedValue(this ShareDestinationFormatType value) return ShareDestinationFormatType.PageBlob; case "AzureFile": return ShareDestinationFormatType.AzureFile; + case "ManagedDisk": + return ShareDestinationFormatType.ManagedDisk; } return null; } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs index eca56535d499..1bf112dbbbdc 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs @@ -32,8 +32,7 @@ public enum SkuDisabledReason [EnumMember(Value = "Country")] Country, /// - /// SKU is not available to push data to the requested storage account - /// region. + /// SKU is not available to push data to the requested Azure region. /// [EnumMember(Value = "Region")] Region, @@ -46,7 +45,13 @@ public enum SkuDisabledReason /// Subscription does not have required offer types for the SKU. /// [EnumMember(Value = "OfferType")] - OfferType + OfferType, + /// + /// Subscription has not registered to Microsoft.DataBox and Service + /// does not have the subscription notification. + /// + [EnumMember(Value = "NoSubscriptionInfo")] + NoSubscriptionInfo } internal static class SkuDisabledReasonEnumExtension { @@ -69,6 +74,8 @@ internal static string ToSerializedValue(this SkuDisabledReason value) return "Feature"; case SkuDisabledReason.OfferType: return "OfferType"; + case SkuDisabledReason.NoSubscriptionInfo: + return "NoSubscriptionInfo"; } return null; } @@ -87,6 +94,8 @@ internal static string ToSerializedValue(this SkuDisabledReason value) return SkuDisabledReason.Feature; case "OfferType": return SkuDisabledReason.OfferType; + case "NoSubscriptionInfo": + return SkuDisabledReason.NoSubscriptionInfo; } return null; } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs index a19de5471e89..e371b1ba8331 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs @@ -44,7 +44,7 @@ public SkuInformation() /// Sku. /// Reason why the Sku is disabled. /// Possible values include: 'None', 'Country', 'Region', 'Feature', - /// 'OfferType' + /// 'OfferType', 'NoSubscriptionInfo' /// Message for why the Sku is /// disabled. /// Required feature to access the @@ -106,7 +106,8 @@ public SkuInformation() /// /// Gets reason why the Sku is disabled. Possible values include: - /// 'None', 'Country', 'Region', 'Feature', 'OfferType' + /// 'None', 'Country', 'Region', 'Feature', 'OfferType', + /// 'NoSubscriptionInfo' /// [JsonProperty(PropertyName = "properties.disabledReason")] public SkuDisabledReason? DisabledReason { get; private set; } diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs index ca1daf8d05be..a9aafce5f63a 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs @@ -22,17 +22,17 @@ namespace Microsoft.Azure.Management.DataBox.Models public enum SkuName { /// - /// Databox. + /// DataBox. /// [EnumMember(Value = "DataBox")] DataBox, /// - /// DataboxDisk. + /// DataBoxDisk. /// [EnumMember(Value = "DataBoxDisk")] DataBoxDisk, /// - /// DataboxHeavy. + /// DataBoxHeavy. /// [EnumMember(Value = "DataBoxHeavy")] DataBoxHeavy diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs index 2e02594a361d..d7e4f6ff8ae6 100644 --- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs +++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs @@ -25,16 +25,5 @@ public static IEnumerable> ApiInfo_DataBoxManageme }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/databox/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=E:\\work\\git\\azure-sdk-for-net\\src\\SDKs"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "be799c37e1df63769895f0ae6fc51d65c69aba27"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -