UNPKG

@azure/arm-compute

Version:
88 lines 5.4 kB
import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { DedicatedHostGroups } from "../operationsInterfaces/index.js"; import type { ComputeManagementClient } from "../computeManagementClient.js"; import type { DedicatedHostGroup, DedicatedHostGroupsListBySubscriptionOptionalParams, DedicatedHostGroupsListByResourceGroupOptionalParams, DedicatedHostGroupsGetOptionalParams, DedicatedHostGroupsGetResponse, DedicatedHostGroupsCreateOrUpdateOptionalParams, DedicatedHostGroupsCreateOrUpdateResponse, DedicatedHostGroupUpdate, DedicatedHostGroupsUpdateOptionalParams, DedicatedHostGroupsUpdateResponse, DedicatedHostGroupsDeleteOptionalParams } from "../models/index.js"; /** Class containing DedicatedHostGroups operations. */ export declare class DedicatedHostGroupsImpl implements DedicatedHostGroups { private readonly client; /** * Initialize a new instance of the class DedicatedHostGroups class. * @param client Reference to the service client */ constructor(client: ComputeManagementClient); /** * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the * response to get the next page of dedicated host groups. * @param options The options parameters. */ listBySubscription(options?: DedicatedHostGroupsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedHostGroup>; private listBySubscriptionPagingPage; private listBySubscriptionPagingAll; /** * Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in * the response to get the next page of dedicated host groups. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: DedicatedHostGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedHostGroup>; private listByResourceGroupPagingPage; private listByResourceGroupPagingAll; /** * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the * response to get the next page of dedicated host groups. * @param options The options parameters. */ private _listBySubscription; /** * Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in * the response to get the next page of dedicated host groups. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ private _listByResourceGroup; /** * Retrieves information about a dedicated host group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hostGroupName The name of the dedicated host group. * @param options The options parameters. */ get(resourceGroupName: string, hostGroupName: string, options?: DedicatedHostGroupsGetOptionalParams): Promise<DedicatedHostGroupsGetResponse>; /** * Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups * please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hostGroupName The name of the dedicated host group. * @param parameters Parameters supplied to the Create Dedicated Host Group. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: DedicatedHostGroup, options?: DedicatedHostGroupsCreateOrUpdateOptionalParams): Promise<DedicatedHostGroupsCreateOrUpdateResponse>; /** * Update an dedicated host group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hostGroupName The name of the dedicated host group. * @param parameters Parameters supplied to the Update Dedicated Host Group operation. * @param options The options parameters. */ update(resourceGroupName: string, hostGroupName: string, parameters: DedicatedHostGroupUpdate, options?: DedicatedHostGroupsUpdateOptionalParams): Promise<DedicatedHostGroupsUpdateResponse>; /** * Delete a dedicated host group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hostGroupName The name of the dedicated host group. * @param options The options parameters. */ delete(resourceGroupName: string, hostGroupName: string, options?: DedicatedHostGroupsDeleteOptionalParams): Promise<void>; /** * ListBySubscriptionNext * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ private _listBySubscriptionNext; /** * ListByResourceGroupNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext; } //# sourceMappingURL=dedicatedHostGroups.d.ts.map