@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
50 lines • 3.63 kB
TypeScript
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
import type { DedicatedHostGroup, DedicatedHostGroupsListBySubscriptionOptionalParams, DedicatedHostGroupsListByResourceGroupOptionalParams, DedicatedHostGroupsGetOptionalParams, DedicatedHostGroupsGetResponse, DedicatedHostGroupsCreateOrUpdateOptionalParams, DedicatedHostGroupsCreateOrUpdateResponse, DedicatedHostGroupUpdate, DedicatedHostGroupsUpdateOptionalParams, DedicatedHostGroupsUpdateResponse, DedicatedHostGroupsDeleteOptionalParams } from "../models/index.js";
/** Interface representing a DedicatedHostGroups. */
export interface DedicatedHostGroups {
/**
* 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>;
/**
* 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>;
/**
* 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>;
}
//# sourceMappingURL=dedicatedHostGroups.d.ts.map