@Override public VirtualMachineImpl withSize(VirtualMachineSizeTypes size) { this.inner().hardwareProfile().withVmSize(size); return this; }
@Override public VirtualMachineSizeTypes size() { return inner().hardwareProfile().vmSize(); }
@Override public VirtualMachineImpl withSize(VirtualMachineSizeTypes size) { this.inner().hardwareProfile().withVmSize(size); return this; }
@Override public VirtualMachineSizeTypes size() { return inner().hardwareProfile().vmSize(); }
@Override public VirtualMachineImpl withSize(String sizeName) { this.inner().hardwareProfile().withVmSize(VirtualMachineSizeTypes.fromString(sizeName)); return this; }
@Override public VirtualMachineImpl withSize(String sizeName) { this.inner().hardwareProfile().withVmSize(VirtualMachineSizeTypes.fromString(sizeName)); return this; }
private void setHardwareProfileDefaults() { if (!isInCreateMode()) { return; } HardwareProfile hardwareProfile = this.inner().hardwareProfile(); if (hardwareProfile.vmSize() == null) { hardwareProfile.withVmSize(VirtualMachineSizeTypes.BASIC_A0); } }
private void setHardwareProfileDefaults() { if (!isInCreateMode()) { return; } HardwareProfile hardwareProfile = this.inner().hardwareProfile(); if (hardwareProfile.vmSize() == null) { hardwareProfile.withVmSize(VirtualMachineSizeTypes.BASIC_A0); } }
updateParameter.withHardwareProfile(this.inner().hardwareProfile()); updateParameter.withStorageProfile(this.inner().storageProfile()); updateParameter.withOsProfile(this.inner().osProfile());
updateParameter.withHardwareProfile(this.inner().hardwareProfile()); updateParameter.withStorageProfile(this.inner().storageProfile()); updateParameter.withOsProfile(this.inner().osProfile());