| Constructor and Description |
|---|
Disk()
Initializes a new instance of the Disk class.
|
Disk(String name,
VirtualHardDisk virtualHardDisk,
String createOption)
Initializes a new instance of the Disk class with required arguments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCaching()
Optional.
|
String |
getCreateOption()
Required.
|
Integer |
getDiskSizeGB()
Optional.
|
String |
getName()
Required.
|
VirtualHardDisk |
getSourceImage()
Optional.
|
VirtualHardDisk |
getVirtualHardDisk()
Required.
|
void |
setCaching(String cachingValue)
Optional.
|
void |
setCreateOption(String createOptionValue)
Required.
|
void |
setDiskSizeGB(Integer diskSizeGBValue)
Optional.
|
void |
setName(String nameValue)
Required.
|
void |
setSourceImage(VirtualHardDisk sourceImageValue)
Optional.
|
void |
setVirtualHardDisk(VirtualHardDisk virtualHardDiskValue)
Required.
|
public Disk()
public Disk(String name, VirtualHardDisk virtualHardDisk, String createOption)
name - Gets or sets the disk name.virtualHardDisk - Gets or sets the Virtual Hard Disk.createOption - Gets or sets the create option.public String getCaching()
public void setCaching(String cachingValue)
cachingValue - The Caching value.public String getCreateOption()
public void setCreateOption(String createOptionValue)
createOptionValue - The CreateOption value.public Integer getDiskSizeGB()
public void setDiskSizeGB(Integer diskSizeGBValue)
diskSizeGBValue - The DiskSizeGB value.public String getName()
public void setName(String nameValue)
nameValue - The Name value.public VirtualHardDisk getSourceImage()
public void setSourceImage(VirtualHardDisk sourceImageValue)
sourceImageValue - The SourceImage value.public VirtualHardDisk getVirtualHardDisk()
public void setVirtualHardDisk(VirtualHardDisk virtualHardDiskValue)
virtualHardDiskValue - The VirtualHardDisk value./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/