Hosts Interface
public interface Hosts
Resource collection API of Hosts.
Method Summary
Method Details
define
public abstract HostModel.DefinitionStages.Blank define(String name)
Begins definition for a new HostModel resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String hostname)
Deletes an host.
Implements host DELETE method.
Parameters:
delete
public abstract void delete(String resourceGroupName, String hostname, Boolean force)
Deletes an host.
Implements host DELETE method.
Parameters:
delete
public abstract void delete(String resourceGroupName, String hostname, Boolean force, Context context)
Deletes an host.
Implements host DELETE method.
Parameters:
deleteById
public abstract void deleteById(String id)
Deletes an host.
Implements host DELETE method.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Boolean force, Context context)
Deletes an host.
Implements host DELETE method.
Parameters:
getById
public abstract HostModel getById(String id)
Gets a host.
Implements host GET method.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<HostModel> getByIdWithResponse(String id, Context context)
Gets a host.
Implements host GET method.
Parameters:
Returns:
getByResourceGroup
public abstract HostModel getByResourceGroup(String resourceGroupName, String hostname)
Gets a host.
Implements host GET method.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<HostModel> getByResourceGroupWithResponse(String resourceGroupName, String hostname, Context context)
Gets a host.
Implements host GET method.
Parameters:
Returns:
list
public abstract PagedIterable<HostModel> list()
Implements GET hosts in a subscription.
List of hosts in a subscription.
Returns:
list
public abstract PagedIterable<HostModel> list(Context context)
Implements GET hosts in a subscription.
List of hosts in a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<HostModel> listByResourceGroup(String resourceGroupName)
Implements GET hosts in a resource group.
List of hosts in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<HostModel> listByResourceGroup(String resourceGroupName, Context context)
Implements GET hosts in a resource group.
List of hosts in a resource group.
Parameters:
Returns: