Поделиться через


VirtualMachineTemplates interface

Интерфейс, представляющий VirtualMachineTemplates.

Методы

beginCreate(string, string, VirtualMachineTemplatesCreateOptionalParams)

Создание или обновление шаблона виртуальной машины.

beginCreateAndWait(string, string, VirtualMachineTemplatesCreateOptionalParams)

Создание или обновление шаблона виртуальной машины.

beginDelete(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Реализует метод DELETE шаблона виртуальной машины.

beginDeleteAndWait(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Реализует метод DELETE шаблона виртуальной машины.

get(string, string, VirtualMachineTemplatesGetOptionalParams)

Реализует метод GET шаблона виртуальной машины.

list(VirtualMachineTemplatesListOptionalParams)

Список виртуальныхMachineTemplates в подписке.

listByResourceGroup(string, VirtualMachineTemplatesListByResourceGroupOptionalParams)

Список виртуальныхMachineTemplates в группе ресурсов.

update(string, string, VirtualMachineTemplatesUpdateOptionalParams)

API для обновления определенных свойств ресурса шаблона виртуальной машины.

Сведения о методе

beginCreate(string, string, VirtualMachineTemplatesCreateOptionalParams)

Создание или обновление шаблона виртуальной машины.

function beginCreate(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>

Параметры

resourceGroupName

string

Имя группы ресурсов.

virtualMachineTemplateName

string

Имя ресурса шаблона виртуальной машины.

options
VirtualMachineTemplatesCreateOptionalParams

Параметры параметров.

Возвращаемое значение

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>

beginCreateAndWait(string, string, VirtualMachineTemplatesCreateOptionalParams)

Создание или обновление шаблона виртуальной машины.

function beginCreateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesCreateOptionalParams): Promise<VirtualMachineTemplate>

Параметры

resourceGroupName

string

Имя группы ресурсов.

virtualMachineTemplateName

string

Имя ресурса шаблона виртуальной машины.

options
VirtualMachineTemplatesCreateOptionalParams

Параметры параметров.

Возвращаемое значение

beginDelete(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Реализует метод DELETE шаблона виртуальной машины.

function beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Параметры

resourceGroupName

string

Имя группы ресурсов.

virtualMachineTemplateName

string

Имя ресурса шаблона виртуальной машины.

options
VirtualMachineTemplatesDeleteOptionalParams

Параметры параметров.

Возвращаемое значение

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Реализует метод DELETE шаблона виртуальной машины.

function beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<void>

Параметры

resourceGroupName

string

Имя группы ресурсов.

virtualMachineTemplateName

string

Имя ресурса шаблона виртуальной машины.

options
VirtualMachineTemplatesDeleteOptionalParams

Параметры параметров.

Возвращаемое значение

Promise<void>

get(string, string, VirtualMachineTemplatesGetOptionalParams)

Реализует метод GET шаблона виртуальной машины.

function get(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesGetOptionalParams): Promise<VirtualMachineTemplate>

Параметры

resourceGroupName

string

Имя группы ресурсов.

virtualMachineTemplateName

string

Имя ресурса шаблона виртуальной машины.

options
VirtualMachineTemplatesGetOptionalParams

Параметры параметров.

Возвращаемое значение

list(VirtualMachineTemplatesListOptionalParams)

Список виртуальныхMachineTemplates в подписке.

function list(options?: VirtualMachineTemplatesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate, VirtualMachineTemplate[], PageSettings>

Параметры

options
VirtualMachineTemplatesListOptionalParams

Параметры параметров.

Возвращаемое значение

listByResourceGroup(string, VirtualMachineTemplatesListByResourceGroupOptionalParams)

Список виртуальныхMachineTemplates в группе ресурсов.

function listByResourceGroup(resourceGroupName: string, options?: VirtualMachineTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate, VirtualMachineTemplate[], PageSettings>

Параметры

resourceGroupName

string

Имя группы ресурсов.

options
VirtualMachineTemplatesListByResourceGroupOptionalParams

Параметры параметров.

Возвращаемое значение

update(string, string, VirtualMachineTemplatesUpdateOptionalParams)

API для обновления определенных свойств ресурса шаблона виртуальной машины.

function update(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<VirtualMachineTemplate>

Параметры

resourceGroupName

string

Имя группы ресурсов.

virtualMachineTemplateName

string

Имя ресурса шаблона виртуальной машины.

options
VirtualMachineTemplatesUpdateOptionalParams

Параметры параметров.

Возвращаемое значение