public ExpressRoutePortInner createOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters) {
        return createOrUpdateWithServiceResponseAsync(resourceGroupName, expressRoutePortName, parameters).toBlocking().last().body();
    }
public ExpressRoutePortInner createOrUpdate ( String resourceGroupName , String expressRoutePortName , ExpressRoutePortInner parameters ) { return createOrUpdateWithServiceResponseAsync ( resourceGroupName , expressRoutePortName , parameters ) . toBlocking ( ) . last ( ) . body ( ) ; }
Creates or updates the specified ExpressRoutePort resource.

@param resourceGroupName The name of the resource group.
@param expressRoutePortName The name of the ExpressRoutePort resource.
@param parameters Parameters supplied to the create ExpressRoutePort operation.
@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 ExpressRoutePortInner object if successful.