Query/Question
Current definition stages I see are:

// what I have as of now
Azure az = factory.userClient(ctx);
// some stuff
Disk.DefinitionStages.Blank dd = az.disks().define(myDIskModel.getName());
Disk.DefinitionStages.WithGroup ddGroup = dd.withRegion(myDIskModel.getRegion());
Disk.DefinitionStages.WithDiskSource ddSource = ddGroup.withExistingResourceGroup(resourceGroup);
Disk.DefinitionStages.WithDataDiskSource ddData = ddSource.withData();
Disk.DefinitionStages.WithCreate ddCreate = ddData
.withSizeInGB(Integer.parseInt(myDIskModel.getSizeGb()))
.withSku(DiskSkuTypes.fromStorageAccountType(DiskStorageAccountTypes.fromString(myDIskModel.getType())))
.withTag(AzureTags.X, XX)
.withTag(AzureTags.Y, YY)
.withTag(AzureTags.Z, ZZ);
Observable<Indexable> asynCreate = ddCreate.createAsync();
Checker checker = new Checker(callerContext, asynCreate, Disk.class);
Why is this not a Bug or a feature Request?
Setup (please complete the following information if applicable):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
Thanks for posting the question on the Java Storage Management SDK @Shabirmean. @yaohaizh @ChenTanyi can you please assist?
/cc @rickle-msft @gapra-msft
@Shabirmean The whole Rest API is innerObject, when you see an option doesn't appear in fluent API, you could use inner api as a workaround.
In this situation, code is like:
Disk disk = azure.disks().define()....create();
disk.inner().withDiskIOPSReadWrite(1L);
disk.update().apply();
// Or if the options can only be set in creation
Disk.DefinitionStages.WithCreate diskCreate = azure.disks().define()...
// .create();
((Disk) diskCreate).inner().withDiskIOPSReadWrite(1L);
diskCreate.create();
@ChenTanyi - This works. Thank you very much! 馃帀
Most helpful comment
@Shabirmean The whole Rest API is innerObject, when you see an option doesn't appear in fluent API, you could use inner api as a workaround.
In this situation, code is like: