code: public ContainerGroupInner getByResourceGroup(String resourceGroupName, String containerGroupName) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, containerGroupName).toBlocking().single().body();
      }
docs: Get the properties of the specified container group.
  Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
  
  @param resourceGroupName The name of the resource group.
  @param containerGroupName The name of the container group.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the ContainerGroupInner object if successful.