你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineImages Interface
public interface VirtualMachineImages extends SupportsListingByRegion
Entry point to virtual machine image management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
getImage(Region region, String publisherName, String offerName, String skuName, String version)
Gets a virtual machine image. |
Virtual |
getImage(String region, String publisherName, String offerName, String skuName, String version)
Gets a virtual machine image. |
Virtual |
publishers() |
Inherited Members
SupportsListingByRegion<T>.listByRegion(Region region)
SupportsListingByRegion<T>.listByRegion(String regionName)
SupportsListingByRegion<T>.listByRegionAsync(Region region)
SupportsListingByRegion<T>.listByRegionAsync(String regionName)
Method Details
getImage
public VirtualMachineImage getImage(Region region, String publisherName, String offerName, String skuName, String version)
Gets a virtual machine image.
Parameters:
region
- the region
publisherName
- publisher name
offerName
- offer name
skuName
- SKU name
version
- version name
Returns:
the virtual machine image
getImage
public VirtualMachineImage getImage(String region, String publisherName, String offerName, String skuName, String version)
Gets a virtual machine image.
Parameters:
region
- the region
publisherName
- publisher name
offerName
- offer name
skuName
- SKU name
version
- version name
Returns:
the virtual machine image
publishers
public VirtualMachinePublishers publishers()
Returns:
entry point to virtual machine image publishers