///GENMHASH:9EF4A08D221595621FDCAFD7FD09AFE2:A9B0A04022BFC4614AF74D0C3B8D24B3
 public StorageAccountSkuType SkuType()
 {
     // We deprecated the sku() getter. When we remove it we wanted to rename this
     // 'beta' getter skuType() to sku().
     //
     return(StorageAccountSkuType.FromSkuName(this.Inner.Sku.Name));
 }
 ///GENMHASH:2F282EC0DA736D13451891CCE3AD259A:062EF7F3A9AFA7EA30A19B31F8DFF818
 public StorageAccountSkuType StorageAccountSku()
 {
     if (this.ResourceType() != null && this.ResourceType().Equals(StorageResourceType.Storage_Accounts))
     {
         return(StorageAccountSkuType.FromSkuName(this.inner.Name));
     }
     return(null);
 }
 ///GENMHASH:66DAA29A825C045119A8F4AFEB963F9C:770F37FD74925A1180EE8B6AC2112150
 public StorageAccountImpl WithSku(StorageAccountSkuType sku)
 {
     if (IsInCreateMode)
     {
         createParameters.Sku = new Sku()
         {
             Name = sku.Name
         };
     }
     else
     {
         updateParameters.Sku = new Sku()
         {
             Name = sku.Name
         };
     }
     return(this);
 }
 ///GENMHASH:B5E3D903BDA1F2A62441339A3042D8F4:39725B0498CCC3701985F13AE17C0DB9
 public StorageAccountImpl WithSku(SkuName skuName)
 {
     return(this.WithSku(StorageAccountSkuType.FromSkuName(skuName)));
 }
 /// <summary>
 /// Specifies the sku of the storage account.
 /// </summary>
 /// <param name="sku">The sku.</param>
 /// <return>The next stage of storage account definition.</return>
 StorageAccount.Definition.IWithCreate StorageAccount.Definition.IWithSkuBeta.WithSku(StorageAccountSkuType sku)
 {
     return(this.WithSku(sku));
 }
 /// <summary>
 /// Specifies the sku of the storage account.
 /// </summary>
 /// <param name="sku">The sku.</param>
 /// <return>The next stage of storage account update.</return>
 StorageAccount.Update.IUpdate StorageAccount.Update.IWithSkuBeta.WithSku(StorageAccountSkuType sku)
 {
     return(this.WithSku(sku));
 }