VirtualMachineImages interface
表示 VirtualMachineImages 的接口。
方法
| get(string, string, string, string, string, Virtual |
获取虚拟机映像。 |
| list(string, string, string, string, Virtual |
获取指定位置、发布者、套餐和 SKU 的所有虚拟机映像版本的列表。 |
| list |
获取指定位置和发布者的虚拟机映像产品/服务列表。 |
| list |
获取指定 Azure 位置的虚拟机映像发布者的列表。 |
| list |
获取指定位置、发布者和产品/服务虚拟机映像 SKU 的列表。 |
方法详细信息
get(string, string, string, string, string, VirtualMachineImagesGetOptionalParams)
获取虚拟机映像。
function get(location: string, publisherName: string, offer: string, skus: string, version: string, options?: VirtualMachineImagesGetOptionalParams): Promise<VirtualMachineImage>
参数
- location
-
string
支持的 Azure 区域的名称。
- publisherName
-
string
有效的映像发布者。
- offer
-
string
有效的映像发布者产品/服务。
- skus
-
string
有效的映像 SKU。
- version
-
string
有效的映像 SKU 版本。
选项参数。
返回
Promise<VirtualMachineImage>
list(string, string, string, string, VirtualMachineImagesListOptionalParams)
获取指定位置、发布者、套餐和 SKU 的所有虚拟机映像版本的列表。
function list(location: string, publisherName: string, offer: string, skus: string, options?: VirtualMachineImagesListOptionalParams): Promise<VirtualMachineImagesListResponse>
参数
- location
-
string
支持的 Azure 区域的名称。
- publisherName
-
string
有效的映像发布者。
- offer
-
string
有效的映像发布者产品/服务。
- skus
-
string
有效的映像 SKU。
选项参数。
返回
Promise<VirtualMachineImagesListResponse>
listOffers(string, string, VirtualMachineImagesListOffersOptionalParams)
获取指定位置和发布者的虚拟机映像产品/服务列表。
function listOffers(location: string, publisherName: string, options?: VirtualMachineImagesListOffersOptionalParams): Promise<VirtualMachineImagesListOffersResponse>
参数
- location
-
string
支持的 Azure 区域的名称。
- publisherName
-
string
有效的映像发布者。
选项参数。
返回
listPublishers(string, VirtualMachineImagesListPublishersOptionalParams)
获取指定 Azure 位置的虚拟机映像发布者的列表。
function listPublishers(location: string, options?: VirtualMachineImagesListPublishersOptionalParams): Promise<VirtualMachineImagesListPublishersResponse>
参数
- location
-
string
支持的 Azure 区域的名称。
选项参数。
返回
listSkus(string, string, string, VirtualMachineImagesListSkusOptionalParams)
获取指定位置、发布者和产品/服务虚拟机映像 SKU 的列表。
function listSkus(location: string, publisherName: string, offer: string, options?: VirtualMachineImagesListSkusOptionalParams): Promise<VirtualMachineImagesListSkusResponse>
参数
- location
-
string
支持的 Azure 区域的名称。
- publisherName
-
string
有效的映像发布者。
- offer
-
string
有效的映像发布者产品/服务。
选项参数。
返回
Promise<VirtualMachineImagesListSkusResponse>