public interface AzureBareMetalInstances
Modifier and Type | Method and Description |
---|---|
AzureBareMetalInstance |
getByResourceGroup(String resourceGroupName,
String azureBareMetalInstanceName)
Gets an Azure BareMetal instance for the specified subscription, resource group, and instance name.
|
com.azure.core.http.rest.Response<AzureBareMetalInstance> |
getByResourceGroupWithResponse(String resourceGroupName,
String azureBareMetalInstanceName,
com.azure.core.util.Context context)
Gets an Azure BareMetal instance for the specified subscription, resource group, and instance name.
|
com.azure.core.http.rest.PagedIterable<AzureBareMetalInstance> |
list()
Gets a list of AzureBareMetal instances in the specified subscription.
|
com.azure.core.http.rest.PagedIterable<AzureBareMetalInstance> |
list(com.azure.core.util.Context context)
Gets a list of AzureBareMetal instances in the specified subscription.
|
com.azure.core.http.rest.PagedIterable<AzureBareMetalInstance> |
listByResourceGroup(String resourceGroupName)
Gets a list of AzureBareMetal instances in the specified subscription and resource group.
|
com.azure.core.http.rest.PagedIterable<AzureBareMetalInstance> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets a list of AzureBareMetal instances in the specified subscription and resource group.
|
AzureBareMetalInstance |
update(String resourceGroupName,
String azureBareMetalInstanceName,
Tags tagsParameter)
Patches the Tags field of a Azure BareMetal instance for the specified subscription, resource group, and instance
name.
|
com.azure.core.http.rest.Response<AzureBareMetalInstance> |
updateWithResponse(String resourceGroupName,
String azureBareMetalInstanceName,
Tags tagsParameter,
com.azure.core.util.Context context)
Patches the Tags field of a Azure BareMetal instance for the specified subscription, resource group, and instance
name.
|
com.azure.core.http.rest.PagedIterable<AzureBareMetalInstance> list()
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<AzureBareMetalInstance> 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.com.azure.core.http.rest.PagedIterable<AzureBareMetalInstance> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.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<AzureBareMetalInstance> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.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.AzureBareMetalInstance getByResourceGroup(String resourceGroupName, String azureBareMetalInstanceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.azureBareMetalInstanceName
- Name of the Azure BareMetal on Azure instance.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<AzureBareMetalInstance> getByResourceGroupWithResponse(String resourceGroupName, String azureBareMetalInstanceName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.azureBareMetalInstanceName
- Name of the Azure BareMetal on Azure instance.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.AzureBareMetalInstance update(String resourceGroupName, String azureBareMetalInstanceName, Tags tagsParameter)
resourceGroupName
- The name of the resource group. The name is case insensitive.azureBareMetalInstanceName
- Name of the Azure BareMetal on Azure instance.tagsParameter
- Request body that only contains the new Tags field.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<AzureBareMetalInstance> updateWithResponse(String resourceGroupName, String azureBareMetalInstanceName, Tags tagsParameter, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.azureBareMetalInstanceName
- Name of the Azure BareMetal on Azure instance.tagsParameter
- Request body that only contains the new Tags field.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 © 2021 Microsoft Corporation. All rights reserved.