public interface DedicatedHostGroupsClient extends InnerSupportsGet<DedicatedHostGroupInner>, InnerSupportsListing<DedicatedHostGroupInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
DedicatedHostGroupInner |
createOrUpdate(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupInner parameters)
Create or update a dedicated host group.
|
Mono<DedicatedHostGroupInner> |
createOrUpdateAsync(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupInner parameters)
Create or update a dedicated host group.
|
com.azure.core.http.rest.Response<DedicatedHostGroupInner> |
createOrUpdateWithResponse(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupInner parameters,
com.azure.core.util.Context context)
Create or update a dedicated host group.
|
Mono<com.azure.core.http.rest.Response<DedicatedHostGroupInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupInner parameters)
Create or update a dedicated host group.
|
void |
delete(String resourceGroupName,
String hostGroupName)
Delete a dedicated host group.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String hostGroupName)
Delete a dedicated host group.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String hostGroupName,
com.azure.core.util.Context context)
Delete a dedicated host group.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String hostGroupName)
Delete a dedicated host group.
|
DedicatedHostGroupInner |
getByResourceGroup(String resourceGroupName,
String hostGroupName)
Retrieves information about a dedicated host group.
|
Mono<DedicatedHostGroupInner> |
getByResourceGroupAsync(String resourceGroupName,
String hostGroupName)
Retrieves information about a dedicated host group.
|
com.azure.core.http.rest.Response<DedicatedHostGroupInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String hostGroupName,
com.azure.core.util.Context context)
Retrieves information about a dedicated host group.
|
Mono<com.azure.core.http.rest.Response<DedicatedHostGroupInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String hostGroupName)
Retrieves information about a dedicated host group.
|
com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> |
list()
Lists all of the dedicated host groups in the subscription.
|
com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> |
list(com.azure.core.util.Context context)
Lists all of the dedicated host groups in the subscription.
|
com.azure.core.http.rest.PagedFlux<DedicatedHostGroupInner> |
listAsync()
Lists all of the dedicated host groups in the subscription.
|
com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> |
listByResourceGroup(String resourceGroupName)
Lists all of the dedicated host groups in the specified resource group.
|
com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists all of the dedicated host groups in the specified resource group.
|
com.azure.core.http.rest.PagedFlux<DedicatedHostGroupInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all of the dedicated host groups in the specified resource group.
|
DedicatedHostGroupInner |
update(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupUpdate parameters)
Update an dedicated host group.
|
Mono<DedicatedHostGroupInner> |
updateAsync(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupUpdate parameters)
Update an dedicated host group.
|
com.azure.core.http.rest.Response<DedicatedHostGroupInner> |
updateWithResponse(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupUpdate parameters,
com.azure.core.util.Context context)
Update an dedicated host group.
|
Mono<com.azure.core.http.rest.Response<DedicatedHostGroupInner>> |
updateWithResponseAsync(String resourceGroupName,
String hostGroupName,
DedicatedHostGroupUpdate parameters)
Update an dedicated host group.
|
Mono<com.azure.core.http.rest.Response<DedicatedHostGroupInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String hostGroupName, DedicatedHostGroupInner parameters)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated hosts should be
assigned to. <br><br> Currently, a dedicated host can only be added to a dedicated host group at
creation time. An existing dedicated host cannot be added to another dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<DedicatedHostGroupInner> createOrUpdateAsync(String resourceGroupName, String hostGroupName, DedicatedHostGroupInner parameters)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated hosts should be
assigned to. <br><br> Currently, a dedicated host can only be added to a dedicated host group at
creation time. An existing dedicated host cannot be added to another dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.DedicatedHostGroupInner createOrUpdate(String resourceGroupName, String hostGroupName, DedicatedHostGroupInner parameters)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated hosts should be
assigned to. <br><br> Currently, a dedicated host can only be added to a dedicated host group at
creation time. An existing dedicated host cannot be added to another dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DedicatedHostGroupInner> createOrUpdateWithResponse(String resourceGroupName, String hostGroupName, DedicatedHostGroupInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated hosts should be
assigned to. <br><br> Currently, a dedicated host can only be added to a dedicated host group at
creation time. An existing dedicated host cannot be added to another dedicated host group.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<DedicatedHostGroupInner>> updateWithResponseAsync(String resourceGroupName, String hostGroupName, DedicatedHostGroupUpdate parameters)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated host should be assigned
to. Only tags may be updated.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<DedicatedHostGroupInner> updateAsync(String resourceGroupName, String hostGroupName, DedicatedHostGroupUpdate parameters)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated host should be assigned
to. Only tags may be updated.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.DedicatedHostGroupInner update(String resourceGroupName, String hostGroupName, DedicatedHostGroupUpdate parameters)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated host should be assigned
to. Only tags may be updated.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DedicatedHostGroupInner> updateWithResponse(String resourceGroupName, String hostGroupName, DedicatedHostGroupUpdate parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.parameters
- Specifies information about the dedicated host group that the dedicated host should be assigned
to. Only tags may be updated.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String hostGroupName)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String hostGroupName)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String hostGroupName)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String hostGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<DedicatedHostGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String hostGroupName)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<DedicatedHostGroupInner> getByResourceGroupAsync(String resourceGroupName, String hostGroupName)
getByResourceGroupAsync
in interface InnerSupportsGet<DedicatedHostGroupInner>
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.DedicatedHostGroupInner getByResourceGroup(String resourceGroupName, String hostGroupName)
getByResourceGroup
in interface InnerSupportsGet<DedicatedHostGroupInner>
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DedicatedHostGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String hostGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.hostGroupName
- The name of the dedicated host group.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<DedicatedHostGroupInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<DedicatedHostGroupInner>
resourceGroupName
- The name of the resource group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<DedicatedHostGroupInner>
resourceGroupName
- The name of the resource group.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<DedicatedHostGroupInner> listAsync()
listAsync
in interface InnerSupportsListing<DedicatedHostGroupInner>
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> list()
list
in interface InnerSupportsListing<DedicatedHostGroupInner>
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DedicatedHostGroupInner> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.