Interface ContainerHostMappingsClient
public interface ContainerHostMappingsClient
An instance of this class provides access to all the operations defined in ContainerHostMappingsClient.
-
Method Summary
Modifier and TypeMethodDescriptiongetContainerHostMapping
(String resourceGroupName, String location, ContainerHostMappingInner containerHostMapping) Returns container host mapping object for a container host resource ID if an associated controller exists.com.azure.core.http.rest.Response<ContainerHostMappingInner>
getContainerHostMappingWithResponse
(String resourceGroupName, String location, ContainerHostMappingInner containerHostMapping, com.azure.core.util.Context context) Returns container host mapping object for a container host resource ID if an associated controller exists.
-
Method Details
-
getContainerHostMappingWithResponse
com.azure.core.http.rest.Response<ContainerHostMappingInner> getContainerHostMappingWithResponse(String resourceGroupName, String location, ContainerHostMappingInner containerHostMapping, com.azure.core.util.Context context) Returns container host mapping object for a container host resource ID if an associated controller exists.- Parameters:
resourceGroupName
- Resource group to which the resource belongs.location
- Location of the container host.containerHostMapping
- Container host mapping object specifying the Container host resource ID and its associated Controller resource.context
- The context to associate with this operation.- Returns:
- container host mapping object specifying the Container host resource ID and its associated Controller
resource along with
Response
. - Throws:
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.
-
getContainerHostMapping
ContainerHostMappingInner getContainerHostMapping(String resourceGroupName, String location, ContainerHostMappingInner containerHostMapping) Returns container host mapping object for a container host resource ID if an associated controller exists.- Parameters:
resourceGroupName
- Resource group to which the resource belongs.location
- Location of the container host.containerHostMapping
- Container host mapping object specifying the Container host resource ID and its associated Controller resource.- Returns:
- container host mapping object specifying the Container host resource ID and its associated Controller resource.
- Throws:
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.
-