DedicatedHostGroups interface
Interface representing a DedicatedHostGroups.
Methods
create |
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) |
delete(string, string, Dedicated |
Delete a dedicated host group. |
get(string, string, Dedicated |
Retrieves information about a dedicated host group. |
list |
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. |
list |
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. |
update(string, string, Dedicated |
Update an dedicated host group. |
Method Details
createOrUpdate(string, string, DedicatedHostGroup, DedicatedHostGroupsCreateOrUpdateOptionalParams)
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)
function createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: DedicatedHostGroup, options?: DedicatedHostGroupsCreateOrUpdateOptionalParams): Promise<DedicatedHostGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hostGroupName
-
string
The name of the dedicated host group.
- parameters
- DedicatedHostGroup
Parameters supplied to the Create Dedicated Host Group.
The options parameters.
Returns
Promise<DedicatedHostGroup>
delete(string, string, DedicatedHostGroupsDeleteOptionalParams)
Delete a dedicated host group.
function delete(resourceGroupName: string, hostGroupName: string, options?: DedicatedHostGroupsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hostGroupName
-
string
The name of the dedicated host group.
The options parameters.
Returns
Promise<void>
get(string, string, DedicatedHostGroupsGetOptionalParams)
Retrieves information about a dedicated host group.
function get(resourceGroupName: string, hostGroupName: string, options?: DedicatedHostGroupsGetOptionalParams): Promise<DedicatedHostGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hostGroupName
-
string
The name of the dedicated host group.
The options parameters.
Returns
Promise<DedicatedHostGroup>
listByResourceGroup(string, DedicatedHostGroupsListByResourceGroupOptionalParams)
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.
function listByResourceGroup(resourceGroupName: string, options?: DedicatedHostGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedHostGroup, DedicatedHostGroup[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listBySubscription(DedicatedHostGroupsListBySubscriptionOptionalParams)
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.
function listBySubscription(options?: DedicatedHostGroupsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedHostGroup, DedicatedHostGroup[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, DedicatedHostGroupUpdate, DedicatedHostGroupsUpdateOptionalParams)
Update an dedicated host group.
function update(resourceGroupName: string, hostGroupName: string, parameters: DedicatedHostGroupUpdate, options?: DedicatedHostGroupsUpdateOptionalParams): Promise<DedicatedHostGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hostGroupName
-
string
The name of the dedicated host group.
- parameters
- DedicatedHostGroupUpdate
Parameters supplied to the Update Dedicated Host Group operation.
The options parameters.
Returns
Promise<DedicatedHostGroup>