@Override public DiskImpl withData() { this.inner() .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.EMPTY); return this; }
@Override public DiskImpl fromVhd(String vhdUrl) { this.inner() .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public SnapshotImpl withDataFromDisk(String managedDiskId) { this.inner() .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(managedDiskId); return this; }
@Override public SnapshotImpl withDataFromVhd(String vhdUrl) { this.inner() .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public DiskImpl fromVhd(String vhdUrl) { this.inner() .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public SnapshotImpl withDataFromSnapshot(String snapshotId) { this.inner() .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(snapshotId); return this; }
@Override public DiskImpl withLinuxFromVhd(String vhdUrl) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public DiskImpl withLinuxFromSnapshot(String sourceSnapshotId) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceSnapshotId); return this; }
@Override public DiskImpl withWindowsFromDisk(String sourceDiskId) { this.inner() .withOsType(OperatingSystemTypes.WINDOWS) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceDiskId); return this; }
@Override public SnapshotImpl withLinuxFromVhd(String vhdUrl) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public DiskImpl withLinuxFromDisk(String sourceDiskId) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceDiskId); return this; }
@Override public DiskImpl withWindowsFromVhd(String vhdUrl) { this.inner() .withOsType(OperatingSystemTypes.WINDOWS) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public SnapshotImpl withLinuxFromSnapshot(String sourceSnapshotId) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceSnapshotId); return this; }
@Override public SnapshotImpl withLinuxFromVhd(String vhdUrl) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public SnapshotImpl withWindowsFromDisk(String sourceDiskId) { this.inner() .withOsType(OperatingSystemTypes.WINDOWS) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceDiskId); return this; }
@Override public DiskImpl withLinuxFromDisk(String sourceDiskId) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceDiskId); return this; }
@Override public DiskImpl withWindowsFromVhd(String vhdUrl) { this.inner() .withOsType(OperatingSystemTypes.WINDOWS) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public SnapshotImpl withLinuxFromDisk(String sourceDiskId) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceDiskId); return this; }
@Override public SnapshotImpl withWindowsFromVhd(String vhdUrl) { this.inner() .withOsType(OperatingSystemTypes.WINDOWS) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.IMPORT) .withSourceUri(vhdUrl); return this; }
@Override public DiskImpl withLinuxFromSnapshot(String sourceSnapshotId) { this.inner() .withOsType(OperatingSystemTypes.LINUX) .withCreationData(new CreationData()) .creationData() .withCreateOption(DiskCreateOption.COPY) .withSourceResourceId(sourceSnapshotId); return this; }