你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FleetsOperations interface
表示机队操作的接口。
属性
create |
创建机群 |
delete | 删除机队 |
get | 获取舰队 |
list |
按资源组列出机群资源 |
list |
按订阅 ID 列出机群资源 |
list |
按 Fleet 列出 VirtualMachineScaleSet 资源 |
update | 更新舰队 |
属性详细信息
createOrUpdate
创建机群
createOrUpdate: (resourceGroupName: string, fleetName: string, resource: Fleet, options?: FleetsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Fleet>, Fleet>
属性值
(resourceGroupName: string, fleetName: string, resource: Fleet, options?: FleetsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Fleet>, Fleet>
delete
删除机队
delete: (resourceGroupName: string, fleetName: string, options?: FleetsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, fleetName: string, options?: FleetsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
获取舰队
get: (resourceGroupName: string, fleetName: string, options?: FleetsGetOptionalParams) => Promise<Fleet>
属性值
(resourceGroupName: string, fleetName: string, options?: FleetsGetOptionalParams) => Promise<Fleet>
listByResourceGroup
按资源组列出机群资源
listByResourceGroup: (resourceGroupName: string, options?: FleetsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Fleet, Fleet[], PageSettings>
属性值
(resourceGroupName: string, options?: FleetsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Fleet, Fleet[], PageSettings>
listBySubscription
按订阅 ID 列出机群资源
listBySubscription: (options?: FleetsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Fleet, Fleet[], PageSettings>
属性值
(options?: FleetsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Fleet, Fleet[], PageSettings>
listVirtualMachineScaleSets
按 Fleet 列出 VirtualMachineScaleSet 资源
listVirtualMachineScaleSets: (resourceGroupName: string, name: string, options?: FleetsListVirtualMachineScaleSetsOptionalParams) => PagedAsyncIterableIterator<VirtualMachineScaleSet, VirtualMachineScaleSet[], PageSettings>
属性值
(resourceGroupName: string, name: string, options?: FleetsListVirtualMachineScaleSetsOptionalParams) => PagedAsyncIterableIterator<VirtualMachineScaleSet, VirtualMachineScaleSet[], PageSettings>
update
更新舰队
update: (resourceGroupName: string, fleetName: string, properties: FleetUpdate, options?: FleetsUpdateOptionalParams) => PollerLike<OperationState<Fleet>, Fleet>
属性值
(resourceGroupName: string, fleetName: string, properties: FleetUpdate, options?: FleetsUpdateOptionalParams) => PollerLike<OperationState<Fleet>, Fleet>